Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 7th February 2009, 16:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Add
NameVirtualHost *:80 to /etc/apache2/sites-available/default...
Code:
NameVirtualHost *
NameVirtualHost *:80
<VirtualHost *>
        ServerAdmin webmaster@localhost

        DocumentRoot /var/www/
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
[...]
... and restart Apache.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Sponsored Links
  #12  
Old 9th February 2009, 16:50
koltz koltz is offline
Member
 
Join Date: Feb 2007
Posts: 61
Thanks: 0
Thanked 1 Time in 1 Post
Default

Code:
 * Restarting web server apache2                                                                                                                                                 [Tue Feb 03 16:59:42 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 16:59:42 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 16:59:42 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 16:59:42 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 16:59:42 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 16:59:42 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 16:59:42 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 16:59:42 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 16:59:42 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 16:59:42 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 16:59:42 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 16:59:42 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 16:59:42 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 16:59:42 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
[Tue Feb 03 16:59:42 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
[Tue Feb 03 16:59:52 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 16:59:52 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 16:59:52 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 16:59:52 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 16:59:52 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 16:59:52 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 16:59:52 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 16:59:52 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 16:59:52 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 16:59:52 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 16:59:52 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 16:59:52 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 16:59:52 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 16:59:52 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
[Tue Feb 03 16:59:52 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
Reply With Quote
  #13  
Old 10th February 2009, 17:48
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Can you post all your vhosts here?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #14  
Old 12th February 2009, 15:46
koltz koltz is offline
Member
 
Join Date: Feb 2007
Posts: 61
Thanks: 0
Thanked 1 Time in 1 Post
Default

I will post three from each as I have many.

8bitclassics.com
Code:
<VirtualHost 172.21.152.31:80>
    DocumentRoot /var/www/8bitclassics.com/web

    ServerName 8bitclassics.com
    ServerAlias www.8bitclassics.com
    ServerAdmin webmaster@8bitclassics.com

    ErrorLog /var/clients/client1/web2/log/error.log

    ErrorDocument 400 /error/invalidSyntax.html
    ErrorDocument 401 /error/authorizationRequired.html
    ErrorDocument 403 /error/forbidden.html
    ErrorDocument 404 /error/fileNotFound.html
    ErrorDocument 405 /error/methodNotAllowed.html
    ErrorDocument 500 /error/internalServerError.html
    ErrorDocument 503 /error/overloaded.html

    <Directory /var/www/8bitclassics.com/web>
        Options FollowSymLinks
        AllowOverride Indexes AuthConfig Limit FileInfo
        Order allow,deny
        Allow from all
    </Directory>

    # cgi enabled
    ScriptAlias  /cgi-bin/ /var/clients/client1/web2/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    # mod_php enabled
    AddType application/x-httpd-php .php .php3 .php4 .php5
        php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@8bitclassics.com"
    php_admin_value upload_tmp_dir /var/clients/client1/web2/tmp
    php_admin_value session.save_path /var/clients/client1/web2/tmp
    #php_admin_value open_basedir /var/clients/client1/web2:/usr/share/php5


</VirtualHost>
koltz.com
Code:
<VirtualHost 172.21.152.31:80>
    DocumentRoot /var/www/koltz.com/web

    ServerName koltz.com
    ServerAlias www.koltz.com
    ServerAdmin webmaster@koltz.com

    ErrorLog /var/clients/client1/web1/log/error.log

    ErrorDocument 400 /error/invalidSyntax.html
    ErrorDocument 401 /error/authorizationRequired.html
    ErrorDocument 403 /error/forbidden.html
    ErrorDocument 404 /error/fileNotFound.html
    ErrorDocument 405 /error/methodNotAllowed.html
    ErrorDocument 500 /error/internalServerError.html
    ErrorDocument 503 /error/overloaded.html

    <Directory /var/www/koltz.com/web>
        Options FollowSymLinks
        AllowOverride Indexes AuthConfig Limit FileInfo
        Order allow,deny
        Allow from all
    </Directory>

    # cgi enabled
    ScriptAlias  /cgi-bin/ /var/clients/client1/web1/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    # mod_php enabled
    AddType application/x-httpd-php .php .php3 .php4 .php5
        php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@koltz.com"
    php_admin_value upload_tmp_dir /var/clients/client1/web1/tmp
    php_admin_value session.save_path /var/clients/client1/web1/tmp
    #php_admin_value open_basedir /var/clients/client1/web1:/usr/share/php5


</VirtualHost>
hullprodj.com
Code:
<VirtualHost 172.21.152.31:80>
    DocumentRoot /var/www/hullprodj.com/web

    ServerName hullprodj.com
    ServerAlias www.hullprodj.com
    ServerAdmin webmaster@hullprodj.com

    ErrorLog /var/clients/client2/web12/log/error.log

    ErrorDocument 400 /error/invalidSyntax.html
    ErrorDocument 401 /error/authorizationRequired.html
    ErrorDocument 403 /error/forbidden.html
    ErrorDocument 404 /error/fileNotFound.html
    ErrorDocument 405 /error/methodNotAllowed.html
    ErrorDocument 500 /error/internalServerError.html
    ErrorDocument 503 /error/overloaded.html

    <Directory /var/www/hullprodj.com/web>
        Options FollowSymLinks
        AllowOverride Indexes AuthConfig Limit FileInfo
        Order allow,deny
        Allow from all
    </Directory>

    # cgi enabled
    ScriptAlias  /cgi-bin/ /var/clients/client2/web12/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    # mod_php enabled
    AddType application/x-httpd-php .php .php3 .php4 .php5
        php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@hullprodj.com"
    php_admin_value upload_tmp_dir /var/clients/client2/web12/tmp
    php_admin_value session.save_path /var/clients/client2/web12/tmp
    #php_admin_value open_basedir /var/clients/client2/web12:/usr/share/php5


</VirtualHost>
gamingdealz.com
Code:
<VirtualHost 172.21.152.32:80>
    DocumentRoot /var/www/gamingdealz.com/web

    ServerName gamingdealz.com
    ServerAlias www.gamingdealz.com
    ServerAdmin webmaster@gamingdealz.com

    ErrorLog /var/clients/client1/web3/log/error.log

    ErrorDocument 400 /error/invalidSyntax.html
    ErrorDocument 401 /error/authorizationRequired.html
    ErrorDocument 403 /error/forbidden.html
    ErrorDocument 404 /error/fileNotFound.html
    ErrorDocument 405 /error/methodNotAllowed.html
    ErrorDocument 500 /error/internalServerError.html
    ErrorDocument 503 /error/overloaded.html

    <Directory /var/www/gamingdealz.com/web>
        Options FollowSymLinks
        AllowOverride Indexes AuthConfig Limit FileInfo
        Order allow,deny
        Allow from all
    </Directory>

    # cgi enabled
    ScriptAlias  /cgi-bin/ /var/clients/client1/web3/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    # mod_php enabled
    AddType application/x-httpd-php .php .php3 .php4 .php5
        php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@gamingdealz.com"
    php_admin_value upload_tmp_dir /var/clients/client1/web3/tmp
    php_admin_value session.save_path /var/clients/client1/web3/tmp
    #php_admin_value open_basedir /var/clients/client1/web3:/usr/share/php5


</VirtualHost>
thegamestore.us
Code:
<VirtualHost 172.21.152.32:80>
    DocumentRoot /var/www/thegamestore.us/web

    ServerName thegamestore.us
    ServerAlias www.thegamestore.us
    ServerAdmin webmaster@thegamestore.us

    ErrorLog /var/clients/client1/web13/log/error.log

    ErrorDocument 400 /error/invalidSyntax.html
    ErrorDocument 401 /error/authorizationRequired.html
    ErrorDocument 403 /error/forbidden.html
    ErrorDocument 404 /error/fileNotFound.html
    ErrorDocument 405 /error/methodNotAllowed.html
    ErrorDocument 500 /error/internalServerError.html
    ErrorDocument 503 /error/overloaded.html

    <Directory /var/www/thegamestore.us/web>
        Options FollowSymLinks
        AllowOverride Indexes AuthConfig Limit FileInfo
        Order allow,deny
        Allow from all
    </Directory>

    # cgi enabled
    ScriptAlias  /cgi-bin/ /var/clients/client1/web13/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    # mod_php enabled
    AddType application/x-httpd-php .php .php3 .php4 .php5
        php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@thegamestore.us"
    php_admin_value upload_tmp_dir /var/clients/client1/web13/tmp
    php_admin_value session.save_path /var/clients/client1/web13/tmp
    #php_admin_value open_basedir /var/clients/client1/web13:/usr/share/php5


</VirtualHost>
geekdealz.com
Code:
<VirtualHost 172.21.152.32:80>
    DocumentRoot /var/www/geekdealz.com/web

    ServerName geekdealz.com
    ServerAlias www.geekdealz.com
    ServerAdmin webmaster@geekdealz.com

    ErrorLog /var/clients/client1/web11/log/error.log

    ErrorDocument 400 /error/invalidSyntax.html
    ErrorDocument 401 /error/authorizationRequired.html
    ErrorDocument 403 /error/forbidden.html
    ErrorDocument 404 /error/fileNotFound.html
    ErrorDocument 405 /error/methodNotAllowed.html
    ErrorDocument 500 /error/internalServerError.html
    ErrorDocument 503 /error/overloaded.html

    <Directory /var/www/geekdealz.com/web>
        Options FollowSymLinks
        AllowOverride Indexes AuthConfig Limit FileInfo
        Order allow,deny
        Allow from all
    </Directory>

    # cgi enabled
    ScriptAlias  /cgi-bin/ /var/clients/client1/web11/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    # mod_php enabled
    AddType application/x-httpd-php .php .php3 .php4 .php5
        php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@geekdealz.com"
    php_admin_value upload_tmp_dir /var/clients/client1/web11/tmp
    php_admin_value session.save_path /var/clients/client1/web11/tmp
    #php_admin_value open_basedir /var/clients/client1/web11:/usr/share/php5


</VirtualHost>
Reply With Quote
  #15  
Old 13th February 2009, 13:53
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Can you add a
Code:
NameVirtualHost 172.21.152.31:80
directive to /etc/apache2/sites-available/default?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #16  
Old 13th February 2009, 15:11
koltz koltz is offline
Member
 
Join Date: Feb 2007
Posts: 61
Thanks: 0
Thanked 1 Time in 1 Post
Default

That worked, I added the same for the .32 address.
Reply With Quote
  #17  
Old 14th February 2009, 13:49
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

I've added this to the bugtracker for further investigation.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #18  
Old 18th February 2009, 22:36
koltz koltz is offline
Member
 
Join Date: Feb 2007
Posts: 61
Thanks: 0
Thanked 1 Time in 1 Post
Default

I have upgraded to the RC2 version, and now receive the following error when restarting Apache2.

Code:
[Wed Feb 18 15:34:46 2009] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefine                  d results
[Wed Feb 18 15:34:46 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
[Wed Feb 18 15:34:56 2009] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefine                  d results
[Wed Feb 18 15:34:56 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
I saw they showed a fix in there for my issue, do I need to change something back now?
Reply With Quote
  #19  
Old 19th February 2009, 20:30
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Can you post /etc/apache2/sites-available/default and one of your vhosts again?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #20  
Old 22nd February 2009, 01:39
koltz koltz is offline
Member
 
Join Date: Feb 2007
Posts: 61
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

Having issues with SSL still

Here is the what I have for defaults

Code:
NameVirtualHost *
NameVirtualHost *:80
<VirtualHost *>
        ServerAdmin webmaster@localhost

        DocumentRoot /var/www/
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </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

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        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>

error when restarting apache2

Code:
[Sat Feb 21 18:38:11 2009] [warn] NameVirtualHost 172.21.152.32:443 has no VirtualHosts
[Sat Feb 21 18:38:11 2009] [warn] NameVirtualHost 172.21.152.31:443 has no VirtualHosts
[Sat Feb 21 18:38:11 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
[Sat Feb 21 18:38:11 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
[Sat Feb 21 18:38:21 2009] [warn] NameVirtualHost 172.21.152.32:443 has no VirtualHosts
[Sat Feb 21 18:38:21 2009] [warn] NameVirtualHost 172.21.152.31:443 has no VirtualHosts
[Sat Feb 21 18:38:21 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
[Sat Feb 21 18:38:21 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
Error I am receiving in Firefox

Code:
Secure Connection Failed

      

      
      
      

      
        
        

          

An error occurred during a connection to www.8bitclassics.com.

SSL received a record that exceeded the maximum permissible length.

(Error code: ssl_error_rx_record_too_long)

        


        
        

The page you are trying to view can not be shown because the authenticity of the received data could not be verified.

    * Please contact the web site owners to inform them of this problem.
What code goes were in the ISPConfig SSL area (.crt, .csr, .key) and I use GoDaddy which also has a Intermediary SSL cert so an additional file.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MyDNS And The MyDNSConfig Control Panel and ISPConfig pg001 General 2 29th July 2008 02:31
ispconfig 3 joining frontend Snowman General 1 28th June 2008 17:28
MyDNS + ISPConfig msource General 1 5th May 2007 13:05
MyDNS and ISPConfig CoDonCo General 3 27th July 2006 08:25
ISPConfig Devel Report. till Developers' Forum 3 27th November 2005 15:07


All times are GMT +2. The time now is 22:28.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.