Welcome to WebmasterWorld Guest from 220.127.116.11 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
Mod Rewriting Whole Directory mifi601 msg:3201700 1:22 pm on Dec 28, 2006 (gmt 0) 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?
mifi601 msg:3201825 3:51 pm on Dec 28, 2006 (gmt 0)
The answer was here:
I created a loop - thanks Jim
hard find though ..
coopster msg:3201846 4:20 pm on Dec 28, 2006 (gmt 0)
... 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.