httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Mod_Rewrite voodoo
Date Thu, 07 Jan 2010 16:22:19 GMT
On 1/7/10, Reese <howell.r@inkworkswell.com> wrote:

>  RewriteEngine On
>  RewriteCond %{HTTP_HOST} subdomain\.domain\.ext
>  RewriteRule (.*)(0[5-6]).html$ /20$2/$1$2.html [R=301,L]
>  RewriteEngine Off

You don't bookend your rules with on/off.

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message