开发者

How to remove directory from url using mod_rewrite?

How can i turn http://domain.com/foo/bar.jpg into http://domain.com/bar while keeping the res开发者_开发百科t of the website working?


You should simply be able to use...

RewriteRule ^foo/bar.jpg$ /bar
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜