Can't get port based virtual hosts working in Apache2.2 CentOS 5.2, Plesk 8.6

Posted by soopadoubled on Server Fault See other posts from Server Fault or by soopadoubled
Published on 2010-03-30T16:21:14Z Indexed on 2010/03/30 16:23 UTC
Read the original article Hit count: 469

Filed under:
|
|
|
|

I have installed Google Sitemap Generator on my CentOS server, which is running plesk 8.6.

Google Sitemap Generator adds an include to an external conf in my httpd.conf as follows:

Listen 8181
NameVirtualHost *:8181
<VirtualHost *:8181>
DocumentRoot "/usr/local/google-sitemap-generator/admin-console"
ScriptAlias /cgi-bin/ "/usr/local/google-sitemap-generator/admin-console/cgi-bin/"

 <Directory "/usr/local/google-sitemap-generator/admin-console">
    Allow from all
    Options ExecCGI
    DirectoryIndex index.html
  </Directory>
</VirtualHost>

LoadModule google_sitemap_generator_module /usr/local/google-sitemap-generator/lib/mod_sitemap.so

After installation I should be able to navigate to myserverip:8181 and access the GSG console. Unfortunately my browser throws up "Safari can’t open the page “http://myserverip:8181/” because the server where this page is located isn’t responding."

I've checked the port with netstat and nmap, and it's open and listening. I've added a rule to allow traffic on 8181 in iptables, but no joy.

Is there anything obvious I could be missing?

Any ideas would be greatly appreciated.

Cheers,

Ian

© Server Fault or respective owner

Related posts about apache

Related posts about vhosts