ISPConfig 2 + Fedora 13

Discussion in 'Installation/Configuration' started by ev0css, Jun 30, 2010.

  1. ev0css

    ev0css New Member

    Ho guys,

    When I try to reach one of my 50 website, A page from ISPconfig 2 tell me me :
    This is the standard index of your website. You can easily delete it or replace it with another file. This is the index.html file

    If this message don't appear, another message appear:
    This IP address is shared. For access to the web site which you look for, enter its address instead of its IP
    Everytime I go on the website by the domain name and not the ip.

    If I go FTP all is ok and I can connect to my mails too.

    any Ideas on that?
     
    Last edited: Jun 30, 2010
  2. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    ifconfig
    , and what's in your Vhosts_ispconfig.conf?
     
  3. ev0css

    ev0css New Member

    Here are what you aked:

    HTML:
     ifconfig
    eth0      Link encap:Ethernet  HWaddr 48:5B:39:AA:2F:FD
              inet addr:204.80.1.58  Bcast:204.80.1.63  Mask:255.255.255.248
              inet6 addr: fe80::4a5b:39ff:feaa:2ffd/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:63968 errors:0 dropped:0 overruns:0 frame:0
              TX packets:44332 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:4108234 (3.9 MiB)  TX bytes:3235797 (3.0 MiB)
              Interrupt:31 Base address:0xe000
    
    HTML:
    ###################################
    #
    # ISPConfig vHost Configuration File
    #         Version 1.0
    #
    ###################################
    #
    NameVirtualHost 204.80.1.58:80
    <VirtualHost 204.80.1.58:80>
      ServerName localhost
      ServerAdmin [email protected]
      DocumentRoot /var/www/sharedip
      <IfModule mod_rewrite.c>
        RewriteEngine on
        RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
        RewriteRule .* - [F]
      </IfModule>
    </VirtualHost>
    #
    #
    ######################################
    #
    #
    #
    ######################################
    # Vhost: www.urgences-lanaudiere.com:80
    ######################################
    #
    #
    <VirtualHost 204.80.1.58:80>
    ServerName www.urgences-lanaudiere.com:80
    ServerAdmin [email protected]
    DocumentRoot /var/www/web46/web
    ServerAlias urgences-lanaudiere.com
    DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
    Alias  /cgi-bin/ /var/www/web46/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    ErrorLog /var/www/web46/log/error.log
    AddType application/x-httpd-php .php .php3 .php4 .php5
    php_admin_flag safe_mode Off
    Alias /stats "/var/www/web46/web/webalizer"
    Alias /error/ "/var/www/web46/web/error/"
    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
    AliasMatch ^/~([^/]+)(/(.*))? /var/www/web46/user/$1/web/$3
    AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web46/user/$1/web/$3
    <IfModule mod_rewrite.c>
      RewriteEngine on
      RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
      RewriteRule .* - [F]
    </IfModule>
    </VirtualHost>
    #
    #
    #
    ######################################
    # Vhost: www.betonadam.com:80
    ######################################
    #
    #
    <VirtualHost 204.80.1.58:80>
    ServerName www.betonadam.com:80
    ServerAdmin [email protected]
    DocumentRoot /var/www/web47/web
    ServerAlias betonadam.com
    DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
    Alias  /cgi-bin/ /var/www/web47/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    ErrorLog /var/www/web47/log/error.log
    AddType application/x-httpd-php .php .php3 .php4 .php5
    php_admin_flag safe_mode Off
    Alias /stats "/var/www/web47/web/webalizer"
    Alias /error/ "/var/www/web47/web/error/"
    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
    AliasMatch ^/~([^/]+)(/(.*))? /var/www/web47/user/$1/web/$3
    AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web47/user/$1/web/$3
    <IfModule mod_rewrite.c>
      RewriteEngine on
      RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
      RewriteRule .* - [F]
    </IfModule>
    </VirtualHost>
    #
    #
    #
    ######################################
    # Vhost: www.maisonlepervier.com:80
    ######################################
    #
    #
    <VirtualHost 204.80.1.58:80>
    ServerName www.maisonlepervier.com:80
    ServerAdmin [email protected]
    DocumentRoot /var/www/web48/web
    ServerAlias maisonlepervier.com
    DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
    Alias  /cgi-bin/ /var/www/web48/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    ErrorLog /var/www/web48/log/error.log
    AddType application/x-httpd-php .php .php3 .php4 .php5
    php_admin_flag safe_mode Off
    Alias /stats "/var/www/web48/web/webalizer"
    Alias /error/ "/var/www/web48/web/error/"
    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
    AliasMatch ^/~([^/]+)(/(.*))? /var/www/web48/user/$1/web/$3
    AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web48/user/$1/web/$3
    <IfModule mod_rewrite.c>
      RewriteEngine on
      RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
      RewriteRule .* - [F]
    </IfModule>
    </VirtualHost>
    #
    #
    #
    ######################################
    # Vhost: www.vivrelinstantpresent.com:80
    ######################################
    #
    #
    <VirtualHost 204.80.1.58:80>
    ServerName www.vivrelinstantpresent.com:80
    ServerAdmin [email protected]
    DocumentRoot /var/www/web49/web
    ServerAlias vivrelinstantpresent.com
    DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
    Alias  /cgi-bin/ /var/www/web49/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    ErrorLog /var/www/web49/log/error.log
    AddType application/x-httpd-php .php .php3 .php4 .php5
    php_admin_flag safe_mode Off
    Alias /stats "/var/www/web49/web/webalizer"
    Alias /error/ "/var/www/web49/web/error/"
    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
    AliasMatch ^/~([^/]+)(/(.*))? /var/www/web49/user/$1/web/$3
    AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web49/user/$1/web/$3
    <IfModule mod_rewrite.c>
      RewriteEngine on
      RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
      RewriteRule .* - [F]
    </IfModule>
    </VirtualHost>
    #
    #
    #
    ######################################
    # Vhost: www.aspq.ca:80
    ######################################
    #
    #
    <VirtualHost 204.80.1.58:80>
    ServerName www.aspq.ca:80
    ServerAdmin [email protected]
    DocumentRoot /var/www/web50/web
    ServerAlias aspq.ca
    DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
    Alias  /cgi-bin/ /var/www/web50/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    ErrorLog /var/www/web50/log/error.log
    AddType application/x-httpd-php .php .php3 .php4 .php5
    php_admin_flag safe_mode Off
    Alias /stats "/var/www/web50/web/webalizer"
    Alias /error/ "/var/www/web50/web/error/"
    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
    AliasMatch ^/~([^/]+)(/(.*))? /var/www/web50/user/$1/web/$3
    AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web50/user/$1/web/$3
    <IfModule mod_rewrite.c>
      RewriteEngine on
      RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
      RewriteRule .* - [F]
    </IfModule>
    </VirtualHost>
    #
    #
    #
    
    
    Thanks for your help
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What's the web site that is giving you problems? I tested them all, and they all seem to work.
     
  5. ev0css

    ev0css New Member

    It's normal that the website aer working, it is not the same server I changed the IP because we are switching the server so when we saw problem we just plugged back the old server.

    But Is everything ok In my configuration?

    Thank you
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Yes, the configuration looks ok.
     
  7. ev0css

    ev0css New Member

    I tried and still get the shared ip page and/or the defaul index of isp page... I looked in my /var/www and all web## are ok but if I change for the original name of the website(folder) eg www.futurcom.ca the folder got the only html file but If I look to the alias web## directory all files are in... any ideas?
     
  8. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    ls -la /var/www/
    ?
     
  9. ev0css

    ev0css New Member

    Thank you Falko it'S ok now I solved the preoblem it's just because I forgotted to chek the administrator check box in my user for my admin of each website, Now all is working perfectly.

    Thank you!
     

Share This Page