开发者

Mod_rewrite doesn't work properly

I'm having trouble getting a (very) simple mod_rewrite to work.

Here's my code...

# Enable Rewrite Engine
RewriteEngine on

#Create friendly URL
RewriteRule ^libs/jquery.html$ libs/loader.php [L]

Basically I'm trying to get mydomain.com/libs/jquery.html to pull up the page libs/loader.php

开发者_C百科

This is my entire .htaccess file - what's going wrong here?


Not sure if that's it, but I noticed that you wrote 'on' instead of 'On'.

Also, are there maybe query params at work so your regex does not match?

Jan

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜