小问题.htaccess文件?(small problem with .htaccess file)

   IT问题网   2019-04-23 00:00:00

问 题

我有一个小的.htaccess文件,允许我跑1 html文件作为php

 文件yourpage.html
将addtype应用/ x的httpd-php的。html的
 /文件
 

我需要编辑这个脚本,以便它运行所有的.html和.htm文件作为.php 我需要这个申请文件不仅yourpage.html 我试图做这样的

 将addtype应用/的x的httpd-php5的.php的.html
 

,但它并没有任何意义 不过,我觉得,除去yourpage.html,把*。html的,但我不如果以正确的方式或不

解决方案

使用:

 将addtype应用/ x的httpd-php的。html的
 

标签:问题文件



分享:

  • 微信
  • QQ好友
  • QQ空间
  • 新浪微博


热门推荐

的.htaccess基于查询字符串重定向和删除查询字符串(.htaccess redirect based on query string and remove query string)

problem i'm in need to have redirect instruct ...

htaccess的导致服务器错误500(htaccess causing server error 500)

problem i have a zend framework application w ...

404 htaccess的重定向不工作(404 htaccess redirect is not working)

problem i am running tomcat on apache we server. i am put ...

通过重定向某些变量的任何页面(Redirect any page passing certain variables)

problem i'm putting a search engine on my site, and the s ...

与RewriteMap指令的MapType DBD问题(Problems with RewriteMap MapType dbd)

problem continuing from another discussion he ...

重写URL时,一个表单提交(rewrite url when a form is submitted)

problem question regarding redirection using htaccess. on ...

从URL preventing直接访问(Preventing direct access from url)

problem in one of my work i need to build a feature for u ...

的.htaccess不会影响到其他文件夹(.htaccess not affecting other folders)

problem i have a .htaccess file that affects my subdomain ...

mod_rewrite的错误:[客户127.0.0.1]文件不存在(mod_rewrite error: [client 127.0.0.1] File does not exist)

problem i want to start using mod_rewrite so i can use fr ...

重写全球htpasswd的密码保护(Overriding global htpasswd password protection)

problem i am testing a drupal site on a development serve ...

PHP路径包含文件(PHP Path to Include Files)

problem i have a site with an index.php. the index.php ha ...

重写URL隐藏的index.php并作出查询不错(Rewriting url to hide index.php and to make query nice)

problem i had developed project with custom mvc architect ...

htaccess的URL路由的PHP MVC?(htaccess URL routing for PHP MVC)

problem i've been searching and have yet to find an artic ...

的.htaccess规则相应的HTTP链接,HTTP和HTTPS重定向到HTTPS?(.Htaccess rules to redirect respective HTTP links to HTTP and HTTPS to HTTPS)

problem first, here's the .htaccess rule i cu ...

使用的.htaccess追加html的URL路径的背后(using .htaccess to append .html behind url path)

problem people are coming into my website like this: sit ...

的.htaccess迫使对SSL错误页面(.htaccess forcing error pages on SSL)

problem i have the following piece of code in ...

可变301重定向URL(301 redirect URL with variable)

problem i want to use htaccess to 301 redirect (not rewri ...

htaccess的重定向example.com/index.php到example.com/home~~V(htaccess redirect example.com/index.php to example.com/home)

problem thanks in advance, i am trying to redirect anyone ...

htaccess的重写规则问题(.htaccess Rewrite Rule Problems)

problem can anyone help me with htaccess rewr ...

htaccess的子域名与所有的变量文件参数(.htaccess sub domain as file parameter with all the variables)

problem i want to make this url redirect usin ...