我以前的系统也是LINUX 系统Kloxo面板 以前.htaccess可以对HTML 页面生效的,可是换到新的VPS 使用LUMANAGER面板 现在搭建好了 .htaccess 却好像没有什么作用<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^snapshot\/([a-zA-Z0-9]+)$ snapshot\.php\?p=$1 [QSA,L]
RewriteRule ^submits\.html$ submits\.php [QSA,L]
RewriteRule ^submit\.html$ submit\.php [QSA,L]
RewriteRule ^index\.html$ index\.php [QSA,L]
RewriteRule ^hackers\.html$ hackers\.php [QSA,L]
</IfModule>
###Start Kloxo PHP config Area
###Please Don't edit these comments or the content in between. kloxo uses this to recognize the lines it writes to the the file. If the above line is corrupted, it may fail to recognize them, leading to multiple lines.
###.htaccess For Apache by Kloxo
###End Kloxo PHP config Area
Options -Indexes 就是转换成HTML 没有生效 求解
|