Re: [EMAIL PROTECTED] modRewrite looks in the wrong subfolder: http://localhost/module/News/article/56.html = http://localhost/index.php?module=Newsarticle=56

2006-04-19 Thread John Hicks
Bernd Muent wrote: Hi together, I'd like the following for a CMS: URL http://localhost/module/News/article/56/show/1.html will be rewrited to http://localhost/index.php?module=Newsarticle=56show=1 From the PHP site, it's easy to explode the querystring and prepare the right link. When I

RE: [EMAIL PROTECTED] modRewrite looks in the wrong subfolder: http://localhost/module/News/article/56.html = http://localhost/index.php?module=Newsarticle=56

2006-04-11 Thread Axel-Stéphane SMORGRAV
Why don't you try this instead: RewriteRule ^/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^\./]+)\.html?$ /index.php?$1=$2$3=$4$5 [L] RewriteRule ^/([^/]+)/([^/]+)/([^/]+)/([^\./]+)\.html?$ /index.php?$1=$2$3=$4 [L] RewriteRule ^/([^/]+)/([^/]+)/([^\./]+)\.html?$