Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: SSBN on February 08, 2005, 04:17:40 AM

Title: Proxypass and Virtual servers?
Post by: SSBN on February 08, 2005, 04:17:40 AM
Proxypass and Virtual servers?

I have sme 6.0.1 set up as my primary web server with proxypass installed. The webpages I want to display via proxypass are on a centos 3.4 server. Everything on the centos server is working as I have added many domains and subdomaines to it. To test I changed the host file on my xp computer to access it and it resolved domains fine.

I set proxypass to forward a sub domain to my centos server and I received the default page on centos fine.

Now when I add another domain to proxypass that is in the virtual servers of the centos server I still get the default page. Will proxypass not maintain the domain name for centos to interpret and direct accordingly. I currently have domains only accessible by domain name not server location.  IE( 68.45.**.77/home/webpage/html)

Can I only point to directories on the centos  server?
Title: Proxypass and Virtual servers?
Post by: Brave Dave on February 09, 2005, 11:21:57 AM
the virtual domain being accessed on the internal server will be what apache is calling - not what the outside world is calling, I think it will pass through basic authentication, but not much else

you might be able to manipulate things with the hosts file

eg.
192.168.0.1   internalwww

virtual host entry
ProxyPass / http://internalwww/

haven't tired with hosts, works if you manipulate the DNS