On 27/07/10 19:36, C wrote:
Has anyone tried to use the Yast2 HTTP module to set up virtual hosts in apache2? (on openSUSE 11.3)
I've been fighting with it for a while and gave up.... and opted for a manual config.
What I did: - Install the Yast2 HTTP module + apache2 - Start the http module and define two name-based virtual hosts - Finish and restart apache2
Result.. the last defined host is the only host served up.
I've tried over and over to get the Yast component to configure things correctly... and it's always ending up with the same broken result.
I did a manual config entering the virtual host config into default-server.conf, removing the vhosts conf file Yast created, restarted apache2, and everything works perfectly. Open Yast using that manually edited default-server.conf and re-do the virtual host config... and I'm back to the last configured host being the only one served up. it seems like whatever Yast is writing, apache2 isn't reading correctly.
Is there anyone here with experience setting up virtual hosts that managed to get the Yast2 http module to generate the right info? (I'm thinking it might be an issue with the guy sitting in the chair driving the mouse)
C.
I use my own php script which I run from command line. It restarts my apache and updates my vhosts.conf end etc/hosts. I can describe how it is set up at my comp, if needed. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org