0
我开发的网站,我需要运行的页面作为索引,而不是index.php ..我也使用.htaccess文件,但无法实现解决方案..是否有任何东西错误的代码或做我需要做的changes..Any helpwould理解..我的.htaccess文件无法正常工作
<Files ~ "^\.(htaccess|htpasswd)$">
deny from all
</Files>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule ^(.*)$ $1.html
order deny,allow
还是不适合我@Being Sunny – Sheik 2015-02-07 06:45:56