httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <tevans...@googlemail.com>
Subject Re: [users@httpd] Mod_Rewrite voodoo
Date Thu, 07 Jan 2010 17:24:35 GMT
On Thu, Jan 7, 2010 at 5:18 PM, Reese <howell.r@inkworkswell.com> wrote:
> On 07-Jan-10 11:22, Eric Covener wrote:
>>
>> 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.
>
> Meaning what, exactly? This is the only rewrite rule for the subdomain.
> Should the rule be placed in the parent domain instead? What?
>
> Reese
>

http://lmgtfy.com/?q=bookend

"RewriteEngine Off" disables the rewrite engine, so that rewrite rules
are not applied. Seems unlikely that is what you intended.

Cheers

Tom

---------------------------------------------------------------------
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