Welcome to WebmasterWorld Guest from 126.96.36.199 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Pubcon Platinum Sponsor 2014
Mod Rewriting Whole Directory mifi601
I really hate to post here and not having tried and tried and tried ..
So I did just that last night until I almost threw the bloody laptop out the window.
What I am trying to do is simple:
I have a subdirectory /de/ where I would like to place a .htaccess to rewrite all underlying urls to one dynamic page, where the querystring is the rest of the path. My closest attempt was:
RewriteRule ^(.+)$ pages.php?url=$1
which gives me 'pages.php' as my $url?!
Is anybody kind enough to help me here?
The answer was here:
I created a loop - thanks Jim
hard find though ..
... but a very common problem. The mod_rewrite [ httpd.apache.org] documentation has a section titled Ruleset Processing [ httpd.apache.org] that offers insight as to how the engine processes the rulesets.