Only first Redirect recipe works

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux