Re: Mod_Rewrite voodoo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 7, 2010 at 5:18 PM, Reese <howell.r@xxxxxxxxxxxxxxxx> wrote:
> On 07-Jan-10 11:22, Eric Covener wrote:
>>
>> On 1/7/10, Reese <howell.r@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux