2021年1月25日星期一

httpd (apache) - rewrite page -> query parameter

I have a website containing a directory and pages. Let's call the directory 'Maintenance' and pages 'page1.html,...'

I want to redirect each file under the directory to query parameter such as '/?q=pageX'.


I've been trying ModeRewrite w/ various setups, read lots of 'how to' but nothing works for me.

Help will be most appreciated.

Thanks, John

https://stackoverflow.com/questions/65894555/httpd-apache-rewrite-page-query-parameter January 26, 2021 at 09:06AM

没有评论:

发表评论