Basically, we've just installed a VMWare server, running behind a hardware firewall, we have 2 interface eth0 and eth1
eth0 = 192.168.5.130
eth1 = 192.168.5.30
eth1:1 = 202.66.32.100
eth1:2 = 202.66.32.101
202.66.32.101/101 is dns and 100 is the shared ip for all the sites.
Every other service on the system works perfectly except for apache. Ironically I get the "Great Success!" page for every single site on the sever.
So in my relentless efforts to make this work i changed the vhosts.default file (config template for apache) to simple suffix the VirutalHost as follows
<VirutalHost *> rather than <VirutalHost 202.66.32.100:80>
(I saw this solution on an apache forum googling)
So all is well until it does its /scripts/upcp at 1am and adds an extra VirutalHost directive at the footer of the config file as follows.
<VirtualHost 192.168.5.30:80>
ServerName blahblahblah.com
DocumentRoot /usr/local/apache/htdocs
etc ..
</VirtualHost>
God knows why it does it, I cant see it in any of the template makeups in the system, the distiller doesnt get run because all the config tweaks i made to the templates remain.
Seriously got me stumped ... any advice would surely go far, I put this system into production thinking its working and now I find myself staying up till 1am everymorning running /scripts/rebuildhttpdconf.
Thanks
eth0 = 192.168.5.130
eth1 = 192.168.5.30
eth1:1 = 202.66.32.100
eth1:2 = 202.66.32.101
202.66.32.101/101 is dns and 100 is the shared ip for all the sites.
Every other service on the system works perfectly except for apache. Ironically I get the "Great Success!" page for every single site on the sever.
So in my relentless efforts to make this work i changed the vhosts.default file (config template for apache) to simple suffix the VirutalHost as follows
<VirutalHost *> rather than <VirutalHost 202.66.32.100:80>
(I saw this solution on an apache forum googling)
So all is well until it does its /scripts/upcp at 1am and adds an extra VirutalHost directive at the footer of the config file as follows.
<VirtualHost 192.168.5.30:80>
ServerName blahblahblah.com
DocumentRoot /usr/local/apache/htdocs
etc ..
</VirtualHost>
God knows why it does it, I cant see it in any of the template makeups in the system, the distiller doesnt get run because all the config tweaks i made to the templates remain.
Seriously got me stumped ... any advice would surely go far, I put this system into production thinking its working and now I find myself staying up till 1am everymorning running /scripts/rebuildhttpdconf.
Thanks
Last edited: