开发者

mod_rewrite serving a page from another request

Hay, I'm using mod_rewrite with apache, and want URLS from

http://www.DOMAN.com/course/course-a/

to actually serve from

http://www.DOMAN.com/blog/course/course-a/

开发者_运维百科Can someone help me on this please.


/^course\/(.*)/ /blog/course/$1 [R]

This should redirect anything that starts with course to the blog section

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜