On Apache Web server, I would like to create a type URL folder to match each other, and at the end of the URL string Query string for matched folder
The URL may be typed: and Pages with result result will be internally: I Httpd.conf Tried the following rule in: Thank you for your help. Use
http://www.website.net/corp/view/folder1/folder2
http://www.website.net/corp/files/?dir=folder1/folder2 RewriteRule ^ / corp / view /(.*) / corp / files /? Dir = $ 1 [L] , and I found an infinite loop, the URL itself has been redirected ... . of <+>
revised rule ^ / corp / view /(.+) / corp / files /? Dir = instead of $ 1. * causes an infinite recycle because it matches the empty string at the end of / corp / files /
Comments
Post a Comment