Re: [users@httpd] forward/mirror Site from different net

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

 



On Fri, 2006-04-28 at 21:13 +0200, Krist van Besien wrote: 
> On 4/28/06, lists@xxxxxxxxxxx <lists@xxxxxxxxxxx> wrote:
> > RewriteEngine On
> > RewriteRule     ^/away/(.*)$     http://10.0.0.210/$ [P]
> 
> You probably want:
> RewriteRule     ^/away/(.*)$     http://10.0.0.210/$1 [P]

Ahm, yes. Thanks, that seems to work. 
I'm feeling a bit silly having missed the 1. 8-(

Anyway, I noticed that this works well for (mirrored) sites that use
relativ path-names (link in index.html to index2.html) but fails when
absolute path-names (link in index.html to /index2.html) are used. Any
trick how to avoid this?

Cheers

Michael



---------------------------------------------------------------------
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-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-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