|
From: Patrick v. E. <pat...@gm...> - 2005-11-01 07:19:21
|
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? Patrick |