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 09:44:30 GMT
On 05.08.2014 11:36, Igor Cicimov wrote:
> RewriteCond %{QUERY_STRING} ^url=(.*)$
> RewriteRule  ^/geturl$    %1   [P,L]

Nope, in my case it does not work. The link I use is not in query string 
as uses Ivan. So adapting like this:

RewriteCond %{REQUEST_URI} ^/(.*)$
RewriteRule ^/(.*)$ http://other-server/%1 [P,L]

Does not work. Local resources if esists are shown, but remote resources 
are 404 not found "/". Nor %{REQUEST_FILENAME} helps.

Mimiko desu.

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

View raw message