Apache error: mixing * ports and non..
I run Apache on CentOS.
I took default httpd.conf and added the following text :
##############################################
NameVirtualHost 206.223.228.190
<VirtualHost 206.223.228.190:80>
<Directory /usr/local/websites/2kbill/www>
Options Indexes Includes FollowSymLinks
AllowOverride All
</Directory>
ScriptAlias /cgi-bin/awstats /var/www/cgi-bin/awstats
Alias /awstats /var/www/html/awstats
Alias /anlgform.html /var/www/html/anlgform.html
Alias /img-analog /var/www/html/img-analog
ScriptAlias /cgi-bin/anlgform.pl /var/www/cgi-bin/anlgform.pl
ServerName 2kbill.com
DocumentRoot /usr/local/websites/2kbill/www
SuexecUserGroup 2kbill 2kbill
ServerAlias "xxx.2kbill.com" (I put xxx because avoid URL,forum generated error ... )
ServerAdmin "webadmin@2kbill.com"
ScriptAlias "/cgi-bin/" "/usr/local/websites/2kbill/cgi-bin/"
CustomLog "/usr/local/websites/2kbill/access_log" "combined"
ErrorLog "/usr/local/websites/2kbill/error_log"
</VirtualHost>
##############################################
Then :
[root@datingfolk datingfolk.com]# /usr/sbin/apachectl restart
[Wed Oct 27 18:54:14 2004] [error] VirtualHost 206.223.228.190:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[root@datingfolk datingfolk.com]#
Please advice why I got this error.
Thank you
|