Phil Wareham
New Pleskian
Hi,
I'm trying to setup a virtual host in Apache HTTPD on a server with
Plesk installed. I want to forward requests for a specific host to
Tomcat running on port 10000. I could not see a way to do this from
within Plesk, so I added a file to the /etc/httpd/conf.d directory. The
file has a .conf extension, and contains an entry like the following:
<VirtualHost *:80>
ServerName foo.bar.com
ProxyPass / http://foo.bar.com:10000/storefinder/
ProxyPassReverse / http://foo.bar.com:10000/storefinder/
</VirtualHost>
However, on restarting HTTPD, I get a server default page with the Plesk
logo on it.
Does anyone know why HTTPD is not honouring my virtual host
configuration - perhaps it is conflicting with Plesk?
Cheers,
Phil
I'm trying to setup a virtual host in Apache HTTPD on a server with
Plesk installed. I want to forward requests for a specific host to
Tomcat running on port 10000. I could not see a way to do this from
within Plesk, so I added a file to the /etc/httpd/conf.d directory. The
file has a .conf extension, and contains an entry like the following:
<VirtualHost *:80>
ServerName foo.bar.com
ProxyPass / http://foo.bar.com:10000/storefinder/
ProxyPassReverse / http://foo.bar.com:10000/storefinder/
</VirtualHost>
However, on restarting HTTPD, I get a server default page with the Plesk
logo on it.
Does anyone know why HTTPD is not honouring my virtual host
configuration - perhaps it is conflicting with Plesk?
Cheers,
Phil