开发者

website using url-rewriting does not load in Chrome!

开发者 https://www.devze.com 2022-12-30 13:21 出处:网络
I have a PHP page called contact.php, and a rewrite rule in .htaccess RewriteRule ^(.*).html$1\\.php [L] that gives c开发者_开发百科ontact.php when asked for contact.html.

I have a PHP page called contact.php, and a rewrite rule in .htaccess

RewriteRule ^(.*).html $1\.php [L] that gives c开发者_开发百科ontact.php when asked for contact.html.

All the pages works (on Firefox and IE), but when I enter on the site with Chrome it loads only the index page and the others don't work at all - I receive a 404 error.

I don't think is a server issue (I'm using Ubuntu server 8.04) I think is a browser issue but still unexplainable...

Has sombody a clue to follow?

0

精彩评论

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