RE: Rewrite rules working properly in the htaccess but no in the virtualhost

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

 



Yes! In a directory container it runs as desired!

With this in each virtualhost there is a default robots.txt if the user don't put any robots.

Thanks!


> Date: Wed, 19 Oct 2011 07:49:21 -0400
> From: covener@xxxxxxxxx
> To: users@xxxxxxxxxxxxxxxx
> Subject: Re: Rewrite rules working properly in the htaccess but no in the virtualhost
>
> On Wed, Oct 19, 2011 at 7:49 AM, Eric Covener <covener@xxxxxxxxx> wrote:
> > In vhost context, rewriting happens before aliases are resolved.
> > In htaccess context, it happens after.
>
> You can use <Directory> in httpd.conf and get the later behavior.
>
> >
> > I don't understand your issue, but that seems to be the cause.
> >
>
>
>
> --
> 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