httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Smith <e...@fruitcom.com>
Subject [users@httpd] Only first Redirect recipe works
Date Fri, 18 Aug 2017 10:55:55 GMT
Hi 

I have the following Redirects defined:

# http://FuMP.mydomain.com/foo
<VirtualHost *:80>
ServerName FuMP.mydomain.com
RewriteEngine On
LogLevel debug rewrite:trace3
Redirect /foo http://google.com
</VirtualHost>

# http://FuMP.mydomain.com/bar
<VirtualHost *:80>
ServerName FuMP.mydomain.com
RewriteEngine On
LogLevel debug rewrite:trace3
Redirect /bar http://cnn.com
</VirtualHost>

Now, whichever recipe is defined first, works and the second reports the following in the
logs:
`File does not exist: /var/www/html/bar '

How may I resolve this issue?

Thanks


Eric

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message