开发者

mod_rewrite serving a page from another request

开发者 https://www.devze.com 2023-03-03 15:55 出处:网络
Hay, I\'m using mod_rewrite with apache, and want URLS from http://www.DOMAN.com/course/course-a/ to actually serve from

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

精彩评论

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