Hi

I have an apache instance where I defined several rewrite rules and 
ProxyPassReverse that redirects to other web applications.

I added a virtual host in the conf file 

NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin y...@example.com

DocumentRoot "/usr/local/apache2/htdocs"
</VirtualHost>

RewriteEngine On
RewriteRule ….

ProxyPass …
ProxyPassReverse…

<VirtualHost *:80>
….
</VirtualHost>

Now with this new virtual host, the rewrite rules are not working and I get 
broken links. I had to comment all the VirtualHost settings.
I thought that the rewrite rules will still work on the default virtual host 
but apparently no.
What is missing if I want the rewrite rules to affect the default virtual host?

thanks





---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to