Re: RewriteRule failing when changing content-handlers

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

 



> Out of curiosity, any idea why this would work in a VirtualHost container
> but not in the per-dir .htaccess file? My only problem with this arrangement
> is that I'd need to restart apache when I make changes at that high of a
> level. Dropping in a .htaccess file is much more preferable.

when it happens in vhost context, rewrite happens in an early phase of
apache processing.
when it happens in per-dir context, it happens in a late phase and
causes the request to be restarted after the substituion.

so there are lots of opportunities for them to work differently.
99%of the time the per-vhost one is more intuitive / easier to deal
with.

-- 
Eric Covener
covener@xxxxxxxxx

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