Get Cpanel Page When Visiting Website.

Discussion in 'Apache' started by weilim, Jul 17, 2009.

  1. #1
    About two days ago my cpanel access on my hosting server was deactivated because they forgot to renew the license. Everything was OK until this morning. I tried to login to my site www.halloween24.com and I keep getting the cpanel page.

    http://www.halloween24.com

    However when I type in http://www.halloween24.com/index.php. When I try to login to the admin page it also works. Everything seems to work on the adminp panel. But no other page is working it keeps saying page not found. Here is the httpd.conf file.


    <Directory "/">
    Options ExecCGI FollowSymLinks Includes IncludesNOEXEC -Indexes -MultiViews SymLinksIfOwnerMatch
    AllowOverride All
    </Directory>

    <Directory "/home/hallowee/public_html/">
    Options Includes Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all

    </Directory>

    .....

    # SUEXEC is supported

    Include "/usr/local/apache/conf/includes/pre_virtualhost_global.conf"
    Include "/usr/local/apache/conf/includes/pre_virtualhost_2.conf"

    # DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.
    NameVirtualHost 76.73.100.26:80
    NameVirtualHost *

    # Default vhost for unbound IPs

    <VirtualHost *>
    ServerName server.halloween24.com
    DocumentRoot /home/hallowee/public_html/
    ServerAdmin
    DirectoryIndex index.php index.html index.htm
    </VirtualHost>

    # DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.

    <VirtualHost 76.73.100.26:80>
    ServerName halloween24.com
    ServerAlias www.halloween24.com
    DocumentRoot /home/hallowee/public_html/
    ServerAdmin
    UseCanonicalName Off
    CustomLog /usr/local/apache/domlogs/halloween24.com combined
    CustomLog /usr/local/apache/domlogs/halloween24.com-bytes_log "%{%s}t %I .\n%{%s}t %O ."
    ## User hallowee # Needed for Cpanel::ApacheConf
    <IfModule !mod_disable_suexec.c>
    SuexecUserGroup hallowee hallowee
    </IfModule>
    ScriptAlias /cgi-bin/ /home/hallowee/public_html/cgi-bin/
    DirectoryIndex index.php index.html index.htm


    # To customize this VirtualHost use an include file at the following location
    # Include "/usr/local/apache/conf/userdata/std/2/hallowee/halloween24.com/*.conf"

    </VirtualHost>

    # DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.

    # SSL
    <IfDefine SSL>
    </IfDefine>


    # DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.

    <VirtualHost 76.73.100.26:80>
    ServerName server.halloween24.com
    DocumentRoot /home/hallowee/public_html/
    DirectoryIndex index.php index.html index.htm
    </VirtualHost>

    Include "/usr/local/apache/conf/includes/errordocument.conf"
    Alias /bandwidth /usr/local/bandmin/htdocs/
    Alias /sys_cpanel /usr/local/cpanel/sys_cpanel/
    Alias /java-sys /usr/local/cpanel/java-sys/
    Alias /img-sys /usr/local/cpanel/img-sys/
    Alias /akopia /usr/local/cpanel/3rdparty/interchange/share/akopia/
    Alias /neo-images /usr/local/cpanel/base/neomail/neo-images/
    Alias /mailman/archives /usr/local/cpanel/3rdparty/mailman/archives/public/
    Alias /pipermail /usr/local/cpanel/3rdparty/mailman/archives/public/
    Alias /interchange /usr/local/cpanel/3rdparty/interchange/share/interchange/
    Alias /interchange-5 /usr/local/cpanel/3rdparty/interchange/share/interchange-5/
    ScriptAlias /cgi-sys /usr/local/cpanel/cgi-sys/
    ScriptAlias /mailman /usr/local/cpanel/3rdparty/mailman/cgi-bin/
    ScriptAliasMatch ^/?cpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAliasMatch ^/?securecpanel/?$ /usr/local/cpanel/cgi-sys/sredirect.cgi
    ScriptAliasMatch ^/?kpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAliasMatch ^/?controlpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAliasMatch ^/?securecontrolpanel/?$ /usr/local/cpanel/cgi-sys/sredirect.cgi
    ScriptAliasMatch ^/?webmail/?$ /usr/local/cpanel/cgi-sys/wredirect.cgi
    ScriptAliasMatch ^/?whm/?$ /usr/local/cpanel/cgi-sys/whmredirect.cgi
    ScriptAliasMatch ^/?securewhm/?$ /usr/local/cpanel/cgi-sys/swhmredirect.cgi
    # CPANEL/WHM/WEBMAIL/WEBDISK PROXY SUBDOMAINS
    <VirtualHost *>
    ServerName server.halloween24.com
    ServerAlias cpanel.* whm.* webmail.* webdisk.*
    DocumentRoot /home/hallowee/public_html/
    ServerAdmin
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^cpanel\.
    RewriteRule ^/(.*) http://127.0.0.1:2082/$1 [P]
    RewriteCond %{HTTP_HOST} ^webmail\.
    RewriteRule ^/(.*) http://127.0.0.1:2095/$1 [P]
    RewriteCond %{HTTP_HOST} ^whm\.
    RewriteRule ^/(.*) http://127.0.0.1:2086/$1 [P]
    RewriteCond %{HTTP_HOST} ^webdisk\.
    RewriteRule ^/(.*) http://127.0.0.1:2077/$1 [P]
    UseCanonicalName Off
    </VirtualHost>
    Include "/usr/local/apache/conf/includes/post_virtualhost_global.conf"
    Include "/usr/local/apache/conf/includes/post_virtualhost_2.conf"

    The other revelant file is

    <VirtualHost 76.73.100.26:80>
    ServerName halloween24.com
    ServerAlias www.halloween24.com
    DocumentRoot /home/hallowee/public_html
    ServerAdmin
    UseCanonicalName Off
    CustomLog /usr/local/apache/domlogs/halloween24.com combined
    CustomLog /usr/local/apache/domlogs/halloween24.com-bytes_log "%{%s}t %I .\n%{%s}t %O ."
    ## User hallowee # Needed for Cpanel::ApacheConf
    <IfModule !mod_disable_suexec.c>
    SuexecUserGroup hallowee hallowee
    </IfModule>
    ScriptAlias /cgi-bin/ /home/hallowee/public_html/cgi-bin/


    # To customize this VirtualHost use an include file at the following location
    # Include "/usr/local/apache/conf/userdata/std/2/hallowee/halloween24.com/*.conf"

    </VirtualHost>
    NameVirtualHost *:443
    <VirtualHost *:443>
    ServerAdmin
    ServerName www.halloween24.com
    ServerAlias halloween24.com
    DocumentRoot /home/hallowee/public_html/
    DirectoryIndex index.php index.html index.htm

    <Directory /generator/>
    Order Allow,Deny
    Allow from all
    </Directory>

    # Alias /images /home/hallowee/public_html/images

    # <Directory /home/hallowee/public_html/>
    # Options FollowSymLinks
    # AllowOverride AuthConfig FileInfo
    # Order allow,deny
    # allow from all
    # </Directory>

    UserDir on
    ErrorLog /usr/local/apache/domlogs/hallowee/ssl-error.log
    LogLevel warn
    CustomLog /usr/local/apache/domlogs/hallowee/ssl-access.log combined

    ServerSignature Off

    SSLEngine on
    SSLCertificateFile /home/hallowee/ssl/certs/www.halloween24.com.crt
    SSLCertificateKeyFile /home/hallowee/ssl/private/www.halloween24.com.key

    </VirtualHost>

    I look at my log file and it keeps generating these errors.

    [Fri Jul 17 11:02:16 2009] [error] [client 74.6.22.170] File does not exist: /home/hallowee/public_html/keywords
    [Fri Jul 17 11:02:16 2009] [error] [client 74.6.22.170] File does not exist: /home/hallowee/public_html/404.shtml
    [Fri Jul 17 11:02:38 2009] [error] [client 66.249.71.89] File does not exist: /home/hallowee/public_html/party-supplies
    [Fri Jul 17 11:02:38 2009] [error] [client 66.249.71.89] File does not exist: /home/hallowee/public_html/404.shtml
     
    weilim, Jul 17, 2009 IP