On Thu, Jan 27, 2005 at 01:18:00PM +0100, Pepe Smith wrote:
> Typing http://192.168.4.1/test then would return whatever the 
> page content  in http://192.168.4.2/index.html.  
> 
> Is it possible?

Yes. 

FROM http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html:

Given Rule                                       Resulting Substitution
--------------------------------------------------------------------------------
[...]
^/somepath(.*) http://otherhost/otherpath$1 [P]  
http://otherhost/otherpath/pathinfo
                                                 via internal proxy

HTH
-- 
$_=q:; # SHERWIN #
70;72;69;6e;74;20;
27;4a;75;73;74;20;
61;6e;6f;74;68;65;
72;20;50;65;72;6c;
20;6e;6f;76;69;63;
65;27;:;;s=~?(..);
?=pack q$C$,hex$1;
;;;=egg;;;;eval;;;
--
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to