开发者

htaccess problem

开发者 https://www.devze.com 2022-12-27 04:34 出处:网络
RewriteEngine On RewriteBase /home RewriteRule ^()$ index.php [NC,L] Rewritecond %{REQUEST_URI} !(^/?.*\\..*$) [NC]
RewriteEngine On
RewriteBase /home
RewriteRule ^()$ index.php [NC,L]
Rewritecond %{REQUEST_URI} !(^/?.*\..*$) [NC]
RewriteRule (.*)$ $1.php [NC开发者_StackOverflow社区]

I get a css problem (blank) when I visit http://dot.com/home/index.php/


Turning on the logging can help. Just add these directives to the .htaccess file:

RewriteLog "/foo/bar.log" 
RewriteLogLevel 3

Make sure to turn them off when done, as they can slow down your server.

0

精彩评论

暂无评论...
验证码 换一张
取 消