You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Bill Jones <bi...@fccj.org> on 1998/11/17 00:28:57 UTC

Re: Help: mod_rewrite inherit question

Ye wei wrote:
> 
> >
> > RewriteEngine On
> > Rewrite inherit
> 
> But it seems there isn't "Rewrite inherit" directive available.

I am sorry, I should be more explicit; try

RewriteOptions inherit


> 
> I need it because I want to rewrite all the urls
> http://_all_hosts_on_my_server_/sys
> to "http://dbserver.com/sys [P]"
> 
> It's hard to place such statement in httpd.conf.


Maybe the Rewrite Module isn't working?
I have found that the [P] option doesn't always work;
but for future reference, please refer to:

http://www.apache.org/docs/mod/mod_rewrite.html    OR see

http://www.engelschall.com/pw/apache/rewriteguide/

Both will get you started in the right direction.