[ale] Apache proxy problems
Jerald Sheets
jsheets at yahoo.com
Thu Jun 22 07:18:55 EDT 2006
My question would be what "problem" are you solving through proxying?
The things you're doing (and assuming a low traffic situation) you
can solve this particular issue with two webservers, vhosts and
rewrites. (since Apache is on the frontend).
The other question I might have is the using of name virtual hosts
and just running all the web services from one webserver, and if you
need access to the internal system, use a series of firewall rules to
make that happen.
Don't forget, also, that you could place the internal web server on a
different port and circumvent all this by port forwarding all
requests to that port to the system in question while leaving all the
port 80 requests heading to the server you need.
More as I think about it on my drive in this morning...
--J
On Jun 22, 2006, at 12:47 AM, runman wrote:
> ok, I have a single public ip address xxx.xxx.xxx.xxx, 2 web servers
> (webserver1 and webserver2) and 3 domains (www.domain1.com ,
> www.domain2.com
> , and www.domain3.com)
>
> webserver1 hosts the following sites : www.domain1.com ,
> www.domain2.com
> webserver2 hosts the following sites : www.domain3.com
>
> I have the following network topology :
> INTERNET <--> FIREWALL <--> switch <--> webserver1
> switch <--> webserver2
>
> I am using OpenBSD's Apache for webserver1 and FreeBSD's lighttpd for
> webserver2
>
> What I want is for webserver1 to proxy www.domain3.com or in other
> words
> when a person on the Internet hits my static ip and is directed to
> webserver1 then that box will proxy their requests (and the
> returns) to
> webserver2
>
> However I think I am getting lost in the syntax of apache proxying.
>
> Here is what I have in my httpd.conf that is relative to this
> problem :
>
> LoadModule proxy_module
>
> # Proxy Directives
> ProxyPass www.domain3.com http://<ip address of webserver2>
> ProxyPassReverse www.domain3.com http://<ip address of webserver2>
>
> and I get a big fat
> Network error
> Unable to request URL from host www.domain3.com:80: Connection refused
>
> Can what I want even be done ? or should I use Squid to proxy this
> mess ?
>
> All hints and constructive comments welcome.
>
> Greg
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.9.2/370 - Release Date:
> 6/20/2006
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list