View Full Version : Apache2 show error on mixing * ports and non-* ports
bhwong
30th October 2009, 13:05
I add :80 as suggested at: http://bugtracker.ispconfig.org/inde...ls&task_id=672
But I still receive the same error with :80 added:
[error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
falko
31st October 2009, 14:20
Which distribution do you use?
bhwong
31st October 2009, 15:42
Ubuntu 64bit Server Edition
falko
1st November 2009, 17:28
What's in /etc/apache2/ports.conf and /etc/apache2/sites-available/default?
bhwong
3rd November 2009, 05:19
ports.conf
Listen 80
<IfModule mod_ssl.c>
Listen 443
</IfModule>
default
NameVirtualHost *
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/*/web>
Options +Includes -Indexes FollowSymLinks MultiViews
AllowOverride None
AllowOverride Indexes AuthConfig Limit FileInfo
Order allow,deny
Allow from all
<Files ~ "^\.ht">
Deny from all
</Files>
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
till
3rd November 2009, 12:21
Change the line:
NameVirtualHost *
to:
NameVirtualHost *:80
and restart apache.
bhwong
4th November 2009, 03:13
No use. Still show error 403 instead of listing the files... :(
till
4th November 2009, 09:25
Post the exact error message from the apache error log.
bhwong
5th November 2009, 10:09
I have post the error log at another thread with similar problem:
http://www.howtoforge.com/forums/showthread.php?t=40483&highlight=error+log
bhwong
6th November 2009, 16:00
Please let me know which folder can I find this apache2 error log?
falko
7th November 2009, 21:07
It's in /var/log/apache2/.
bhwong
9th November 2009, 08:56
Here's the error.log output:
[Sun Nob 08 06:44:58 2009] [notice] Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.7 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g configured -- resuming normal operations
[Sun Nov 08 06:44:58 2009] [warn] long lost child came home! (pid 12172)
[Sun Nov 08 23:31:13 2009] [error] [client 202.117.160.250] File does not exist: /usr/local/ispconfig/interface/web/manager
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.