Mailinglist Archive: opensuse (1898 mails)

< Previous Next >
[opensuse] Setting up apache2 virtual hosts on 11.3
  • From: C <smaug42@xxxxxxxxx>
  • Date: Tue, 27 Jul 2010 18:36:12 +0200
  • Message-id: <AANLkTimUa1FnM9Y2LD=0sVMy1TDkYuqGnU5JvDfiUM15@xxxxxxxxxxxxxx>
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.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups