DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39822>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39822 Summary: Problem with NameVirtualHost Product: Apache httpd-2 Version: 2.0.58 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Core AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] I've just installed Apache 2.0.58 and found NameVirtualHost don't work as expected on Windows ( at least ) if in <virtualHost *> definition the first line is not the "ServerName" directive, Apache2 can't use this virtual host. That is, if you define <VirtualHost *:80> ServerName www.ahost.com DocumentRoot e:/web/ahost </VirtualHost> It works as expected, but if you define <VirtualHost *:80> DocumentRoot e:/web/ahost ServerName www.ahost.com </VirtualHost> this virtual host won't work. Also, with the "default" configuration file, the example tells you that you can do something like this #<VirtualHost *:80> # ServerAdmin [EMAIL PROTECTED] # DocumentRoot /www/docs/dummy-host.example.com # ServerName dummy-host.example.com # ErrorLog logs/dummy-host.example.com-error_log # CustomLog logs/dummy-host.example.com-access_log common #</VirtualHost> but this simply won't work, because servername is not the first option. Also, trying Apache -S will cause a fatal exception, and windows will kill it when serverName is not the first directive. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
