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

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

 



On 4/28/06, lists@xxxxxxxxxxx <lists@xxxxxxxxxxx> wrote:
Hi List,

I guess this has been asked before but unfortunately I'm not able to find the Info in the archives. Googling resultet in thousands of hits, none of which help me with my problem.

What i'm trying to do is to set up an apache 1.3.23 (running on host 192.168.0.200) to mirror/forward a site from host 10.0.0.210 to the 192.168-net. (And later via ppp to the internet.)
So, typing in (e.g.) 192.168.0.200/away (or later $IP_my_ISP_gives_to_me/away) into the browser should result in apache displaying the 10.0.0.210-Site as 192.168.0.200/away.

I've looked at mod_rewrite and mod_proxy intensivly for about a week now but without success.

Last thing i tried before banging my head against the wall was something like that:

RewriteEngine On
RewriteRule     ^/away/(.*)$     http://10.0.0.210/$ [P]

You probably want:
RewriteRule     ^/away/(.*)$     http://10.0.0.210/$1 [P]


Krist
--
krist.vanbesien@xxxxxxxxx
Solothurn, Switzerland

---------------------------------------------------------------------
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