>Hello, friend:
depends ..Quote:>I have alot of virtual servers hosted on my machine,
>and I'm trying to use mod_rewrite module.
>I wondering if there is a way to enable it on the whole site at a time.
We have a server with xxxx of virtual servers on the machine but
we don't use <VirtualHost> directives for them. All is done with
mod_rewrite.
Cite from http://www.veryComputer.com/
"Note: When you specify an IP address in a NameVirtualHost directive
then requests to that IP address will only ever be served by matching
<VirtualHost>s. The "main server" will *never* be served from the
specified IP address. "
So if you use NameVirtualHost and only one IP for all servers,
there is no chance with using one global RewriteRule for
VirtualHosts.
no problem if you only use RewriteRules.Quote:>In reading Apache document, I got this,
>"Not that, by default, rewrite configurations are not inherited. This
>means that you need to have a `Rewri*gine on' directive for
>each virtual host you wish to use it in.".
>My question is: is there any way to inherit it and enable it once for all,
>instead of once for only a virtual host?
regardsQuote:>I will apperaciate it very much if you could give me any suggestion!
>Thank you!
Markus
--
76139 Karlsruhe /\ L I N K http://www.veryComputer.com/
Internet. Mit Sicherheit!
-------------------------------------------------------------------
In a world without walls and fences - who needs Windows and Gates ?