You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Charles Li <cl...@yahoo.com> on 2005/06/20 18:50:43 UTC

[users@httpd] URL-rewrite

I have virtual host setup with HTTP server.  I would
like to user URL rewrite.  I was told that I need to
add the rewrite rules in each virtual host.  Is this
true, or should I be able to inherit from the parent
with the rewriteoption?

Thanks,
Charles Li

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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


Re: [users@httpd] URL-rewrite

Posted by Joshua Slive <js...@gmail.com>.
On 6/20/05, Charles Li <cl...@yahoo.com> wrote:
> I have virtual host setup with HTTP server.  I would
> like to user URL rewrite.  I was told that I need to
> add the rewrite rules in each virtual host.  Is this
> true, or should I be able to inherit from the parent
> with the rewriteoption?

You can inherit, but you need the RewriteEngine and RewriteOptions
directive in each <VirtualHost> section.

Joshua.

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