Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Garret on January 03, 2003, 08:05:05 AM
-
What am I missing.
SME 5.5
I have another server sitting behind it trying to server up multipal domains.
How do I pass the domains through SME and get them to the interior box?
I created the virtaul domains on the e-smith box
Went to proxypass
Picked vdomain1.com
send to 192.168.0.99
I hit the domain from outside the network, and it stops at the SME box. Never makes it to the inside. Any help??
Thanks
Garret
-
i believe the proxypass contrib does not work with 5.5. It all looks fine but nothing happens
-
great. :-(
-
I was not able to get the proxypass contrib to work on 5.1.2 in the past so I just created a custom template.
I use the following for many different hosts in my home office.
I don't have the time to run a create a full HowTo so here is the Quick and Dirty HowTo.
Create the template-custom directory that will be needed.
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
Go to the template-custom directory
cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
create a fragment for ProxyPass
pico 91ProxyPassServer (This is what I use. I experimented with stuff and came up with 91 as the leading number. I don’t know if it’s the correct number but it works for me)
You should now be in the editor window.
Create your ProxyPass settings.
ServerName newserver.yourdomain.com
ProxyPass / http://newserver.yourdomain.com/
Exit and save your changes
Expand the template
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
and then restart apache
service httpd restart
Make sure to go into server manager and create a hostname and IP address for your new server.
This is the link to the article that I used to create the VirtualHost directives above. Someone posted this link in the Forum a few months back. http://www.linuxfocus.org/English/March2000/article147.shtml
Good Luck,
Tony P.