httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mimiko <>
Subject Re: [users@httpd] Redirect to other server if file/directory does not exists.
Date Tue, 05 Aug 2014 14:00:47 GMT
On 05.08.2014 15:40, Igor Cicimov wrote:
> RewriteRule ^/(.*)$ http://other-server%{REQUEST_URI}
> <http://other-server/%1> [P,L]

This worked. The problem alsa was because I was calling:
httpd://server1/ and rewrite where calling httpd://server2/index.php
But index.php was not present on the second server. I thought that 
server2 would be called like server1 without autoappending index.php.

Mimiko desu.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message