LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-10-2006, 04:09 PM   #1
serge1033
LQ Newbie
 
Registered: Apr 2006
Posts: 4

Rep: Reputation: 0
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
 
Old 04-11-2006, 07:56 AM   #2
serge1033
LQ Newbie
 
Registered: Apr 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Never mind ... I have resolved the problem.

I changed

NameVirtualHost *
<VirtualHost *:80>

TO

NameVirtualHost *:80
<VirtualHost *:80>
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compilation error while mixing C & C++ code. mghiya Programming 3 04-11-2006 09:45 AM
Apache 1.3.33 (debian built) and Apache SSL does not respond to the proper ports lqorg_user Linux - Networking 0 11-06-2005 04:11 PM
Apache, closed ports Sapient Linux - Software 2 08-30-2005 06:38 AM
mixing * ports error in apache + ssl xushi Slackware 1 09-21-2004 10:03 AM
mixing apache 2 and php wedgeworth Linux - Newbie 2 04-01-2004 12:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration