|
From: Jamie C. <jca...@we...> - 2005-11-02 00:50:26
|
On Mon, 2005-10-31 at 23:19, Patrick van Elk wrote: > Hi Jamie, > > Jamie Cameron schreef op 01-11-05 06:21: > > >Are these aliases created as separate <VirtualHost> sections in > >httpd.conf, or just as extra ServerAlias lines in the section for > >domain.nl ? I suspect that it may be the former, which could cause > >problems .. > > > > > Yes, there are extra ServerAlias lines: > > <VirtualHost [IP-number]:80> > ServerName domain.nl > ServerAlias www.domain.nl > ServerAlias www.domain.be > ServerAlias www.alias1.nl > ServerAlias www.alias1.be > ServerAlias www.alias2.nl > ServerAlias www.alias2.be > DocumentRoot /home/[username]/public_html > ErrorLog /home/[username]/logs/error_log > CustomLog /home/[username]/logs/access_log common > ScriptAlias /cgi-bin/ /home/[username]/cgi-bin/ > <Directory /home/[username]/public_html> > Options -Indexes IncludesNOEXEC FollowSymLinks > </Directory> > </VirtualHost> > > I saw that if I add a Alias Server instead of a normal sub-server to an > existing server, an extra <VirtualHost> is created in httpd.conf with a > Redirect. This works for another domain, should I recreate the aliases > for domain.nl as Alias Servers maybe? No, it should work (and in fact should work better) they was it is. Which version of Virtualmin are you running there? I may need to debug this.. - Jamie |