Apache2 show error on mixing * ports and non-* ports

Discussion in 'Installation/Configuration' started by bhwong, Oct 30, 2009.

  1. bhwong

    bhwong New Member

    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
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Which distribution do you use?
     
  3. bhwong

    bhwong New Member

    Ubuntu 64bit Server Edition
     
  4. falko

    falko Super Moderator Howtoforge Staff

    What's in /etc/apache2/ports.conf and /etc/apache2/sites-available/default?
     
  5. bhwong

    bhwong New Member

    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>
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Change the line:

    NameVirtualHost *

    to:

    NameVirtualHost *:80

    and restart apache.
     
  7. bhwong

    bhwong New Member

    No use. Still show error 403 instead of listing the files... :(
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Post the exact error message from the apache error log.
     
  9. bhwong

    bhwong New Member

  10. bhwong

    bhwong New Member

    Please let me know which folder can I find this apache2 error log?
     
  11. falko

    falko Super Moderator Howtoforge Staff

    It's in /var/log/apache2/.
     
  12. bhwong

    bhwong New Member

    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
     

Share This Page