[users@httpd] reverse proxy set-up / install

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

 



Hi,

I am new to apache: and have googled for an answer which has only added to my confusion.

 

My problem is that I do not fully understand how to set-up a reverse proxy apache server, (and the help files are as bad as the MSDN)

 

My need is to set-up two apache servers at our satellite sites (one at each) and use these to proxy our Intranet files which are located at the parent site.

 

From the install and setting IE to use proxy server, I can reach the 'If you can see this, it means that the installation of the Apache web server software on this system was successful.' Page.

But no other page / website can be served. 

i.e.:  entering www.google.co.uk displays 'googles' home page; refreshing swaps between 'google' and 'apache_install_successful' pages....

All other pages return 404 page cannot be found, and in the logs, shows as :-

For Google shows in access as::

iProxy.w2kdomain.local - - [17/Oct/2005:15:06:48 +0100] "GET http://www.google.co.uk/ HTTP/1.0" 200 1494

iProxy.w2kdomain.local - - [17/Oct/2005:15:06:48 +0100] "GET http://www.google.co.uk/apache_pb.gif HTTP/1.0" 304 -

iProxy.w2kdomain.local - - [17/Oct/2005:15:06:55 +0100] "GET http://www.google.co.uk/search?hl=en&q=&meta= HTTP/1.0" 404 285

All Others show up in error log:

[Mon Oct 17 15:06:55 2005] [error] [client ###.###.###.###] File does not exist: C:/Apache Group/Apache2/htdocs/search, referer: http://www.google.co.uk/

 

I can see from other posts that I need to set-up forwarding rules, but can find no explanation / help in doing these?

In the config script, I have the following:

 

LoadModule proxy_module modules/mod_proxy.so

LoadModule proxy_connect_module modules/mod_proxy_connect.so

LoadModule proxy_http_module modules/mod_proxy_http.so

LoadModule proxy_ftp_module modules/mod_proxy_ftp.so

 

<Proxy http://My_Local_Intranet/Pages/*>
Order allow,deny
Allow from all

</Proxy>

 

<Directory INTRANET:*>
Order allow,deny
Allow from all

</Directory>

 

<Proxy http://My_Local_Intranet/Pages/*>
      SetOutputFilter "INTRANET/"               #Intranet is actual directory in c:/Apache Group/
Apache2/Intranet/.
                                                #And holds a copy of Intranet site files

</Proxy>

 

Anyone post me in the right direction as to what I am missing to set-up?

 

TIA

 


[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