httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eduard B <eduar...@hotmail.com>
Subject RE: [users@httpd] Rewrite rules working properly in the htaccess but no in the virtualhost
Date Wed, 19 Oct 2011 14:36:56 GMT

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@gmail.com
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Rewrite rules working properly in the htaccess but no in the
virtualhost
> 
> On Wed, Oct 19, 2011 at 7:49 AM, Eric Covener <covener@gmail.com> 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@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