On Sunday 09 February 2003 22:22, David Russell wrote:
Hi David,
not sure if you're really just putting what you described ("# Setup for first virtual host ") in your virtual host containers, but here's an example of a working one:
ServerAdmin admin@yourvhost.com DocumentRoot /where/you_keep/html ServerName yourvhost.com ServerAlias www.yourvhost.com ErrorLog /var/log/httpd/yourvhost-error_log CustomLog /var/log/httpd/yourvhost-access_log common Options FollowSymLinks order allow,deny allow from all </Directory> </VirtualHost>
I did have content in the VirtualHost directive, I just didn't include it to save space. The difference was that I had specified LAN-address in the NameVirtualHost directive and specified server name in the individual VirtualHost directives. I tried wildcarding those two different directives, and it seems to work now. Thank you for your answer. Best regards, David List