Re: getting vhosts to work with apache2 and sid?
On Thu, Oct 20, 2005 at 12:46:23PM +0200, Aurelien Ricard wrote:
> Does the 'apachectl configtest' command process all your externals
> VirtualHost files?
> (it must print "processing config file: ...." for each vhost)
nope:
apachectl configtest
Syntax OK
> It seems you don't include your files correctly in the apache2.conf.
hmmmm its the debian default?
ok, tryed to put a file in sites-enableed with a random string in it
configtest says still config ok
but restarrting the server yields an error, so i suppose the files are
read?
> Try to rename your vhost like magazine.conf and include
> /etc/apache2/sites-enabled/*.conf.
> actually you can just include "/etc/apache2/sites-enabled/".
>
> To be sure, you can even try to put the file content directly in the
> apache2.conf
ok tried that one...
the result is interesting:
the first vhost section wins
if the content of magazine comes first all goes to magazine
if default is first all goes to default....
--
ciao bboett
==============================================================
bboett@adlp.org
http://inforezo.u-strasbg.fr/~bboett
===============================================================
Reply to: