Hi Ted,

You might be looking for mod_proxy_html
http://apache.webthing.com/mod_proxy_html/

See if that helps.

On Thu, Oct 15, 2009 at 8:28 AM, Ted Byers <r.ted.by...@gmail.com> wrote:
>
> This ought to be a FAQ, but I haven't found it yet.
>
> Please be patient with my as I am out of my element (I develop software, and
> I don't normally administer servers of any sort).  I need a simple set up so
> I can write and test code that handles the VIA HTTP header.
>
> If I've understood the documentation I've found so far, this would be a
> reverse proxy.
>
> The server on which this would be most useful is running IndigoPerl.  Alas,
> the examples I found so far for configuring a proxy refer to modules not
> shipped in the Indigoperl distribution.  I do not have a set up where I can
> build Apache, and don't want to build it if I can avoid it.  It has several
> proxy modules (mod_proxy.so, mod_proxy_ftp.so, mod_proxy_http.so, &c.) but
> apparently not the ones that rewrite links to pages on the httpd server that
> is hidden from the outside world by the firewall.
>
> I have two machines with non-routable IP addresses behind a firewall.  The
> router is configured to send requests on port 80 to one of the two machines.
> I have a fixed IP address from my ISP, but I do not have a domain name.
>
> Let's say my two machines have the IP addresses 192.168.2.1 and 192.168.2.2,
> and the latter has my fixed IP address: x1.x2.x3.x4.  How do I tell the
> apache server on the latter that requests come in to x1.x2.x3.x4 are to be
> served from the local htdocs directory and that those coming in on
> x1.x2.x3.x4/the_other_website are to be obtained from 192.168.2.1?  That is
> x1.x2.x3.x4/the_other_website/cgi-bin maps to 192.168.2.1/cgi-bin (and that
> any links on any page on either machine of the form http://192.168.2.1/yyyy
> are handled correctly rather than giving the user an error message).
>
> I have found that a link like 192.168.2.1/cgi-bin on a page in
> 192.168.2.2/htdocs works fine when logged on to 192.168.2.2, but it gives an
> error from a machine outside the LAN indicating the page doesn't exist (and
> I know that is because there is no such IP address in the LAN that includes
> the machine I used to test this).
>
> Can you please provide me with an URL that tells me the absolute minimum, in
> terms of modules and directives in the configuration file, to get this
> working so I can get on with writing the code to process the VIA HTTP
> headers?  Or failing that, tell me the bare minimum I need in modules and
> directives, to get this working?
>
> Thanks
>
> Ted
> --
> View this message in context: 
> http://www.nabble.com/How-to-configure-Apache-2.2.8-to-act-as-reverse-proxy--tp25899379p25899379.html
> Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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-unsubscr...@httpd.apache.org
>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>



-- 
"The secret impresses no-one, the trick you use it for is everything"
- Alfred Borden (The Prestiege)

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to