The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

New account but apache doesn't work

Discussion in 'EasyApache' started by Takkero, May 11, 2011.

  1. Takkero

    Takkero Member

    Joined:
    Oct 5, 2003
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Hi guy!

    i explain my problem:

    i add a new package and after a new account.... the problem is that when i try to run a php file i get a 500 error...
    the strange thing is that i have another account and it works very well

    i show you the both link:

    1st package (WORK): phpinfo()
    2st package (WORK): http://94.141.21.134/~nw/phpinfo.php

    as you can see the server is the same!!! i beg your help!! :(:(

    edit: in the second cPanel (~nw) in error log i get:

    [Wed May 11 04:44:00 2011] [error] [client 95.245.69.63] File does not exist: /home/nw/public_html/sys_cpanel, referer: http://94.141.21.134/~nw/phpinfo.php
     
    #1 Takkero, May 11, 2011
    Last edited: May 11, 2011
  2. LinuxTechie

    LinuxTechie Well-Known Member

    Joined:
    Jan 22, 2011
    Messages:
    502
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hello,

    Did you check whether the permission is correct or not. The file need to be in permission 644 if you are using suphp. If you are getting 404 Not found while using ~ check whether Apache mod_userdir is enabled or not.
     
  3. Takkero

    Takkero Member

    Joined:
    Oct 5, 2003
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    HI LinuxTechie :) thx for help:

    "public_html" permission is 755
    Apache mod_userdir Tweak IS DISABLED (the checkbox "Enable mod_userdir Protection" is UNCHECKED". btw if u try the link you will se the error "500 Internal Error" or "503 Service Temporarily Unavailable"

    :( :(

    i'm trying to rebuild apache (it was already at lastest version)

    oh.... the vps is up to date (i have update all 1 week ago):

    cPanel Version 11.28.87
    Apache Version 2.2.17
    PHP Version 5.3.6
    MySQL Version 5.1.56
    O.S. x86_64
    PERL Version 5.8.8
    Kernel Version 2.6.18-238.9.1.el5xen
     
    #3 Takkero, May 11, 2011
    Last edited: May 11, 2011
  4. LinuxTechie

    LinuxTechie Well-Known Member

    Joined:
    Jan 22, 2011
    Messages:
    502
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hello,

    I do not thinks you need to rebuild apache. Please check the option Apache mod_userdir tweak and save it. Please do not forget to uncheck it when the site starts propagating.
     
  5. Takkero

    Takkero Member

    Joined:
    Oct 5, 2003
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    done:

    Apache mod_userdir Tweak
    Your Changes Have Been Saved

    same error :( :(

    i dont understand why ~ngdr works and ~nw doesn't work.

    500 Internal Server Error

    The request was not completed. The server met an unexpected condition.

    94.141.21.134/~nw/phpinfo.php (port 80)

    Please forward this error screen to 94.141.21.134's
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you post the full output from /usr/local/apache/logs/error_log from when the error message is generated on the website?

    Also, please set the permissions on the "public_html" directory to "0750", as those are the standard permissions on that directory.

    If you would like for us to login to your server to investigate further, feel free to open a support ticket using the URL in my signature. Please reference the ticket number here if you choose to do so.

    Thank you.
     
  7. Takkero

    Takkero Member

    Joined:
    Oct 5, 2003
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Hi cPanelMichael!! thx for your support!

    [R] SITE CHMOD 750 /public_html
    [R] 200 Permissions changed on /public_html

    done the permission as you asked!

    i take this error_log from the "NW's cPanel"

     
  8. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    This account appears to have FrontPage extensions enabled onto it based on errors like the following:

    Can you disable (uninstall) FrontPage extensions in cPanel on that account and try again?
     
  9. Takkero

    Takkero Member

    Joined:
    Oct 5, 2003
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Unistalled but still doesn't works.... it say:

    500 Internal Server Error

    The request was not completed. The server met an unexpected condition.

    94.141.21.134/~nw/phpinfo.php (port 80)

    Please forward this error screen to 94.141.21.134's WebMaster.
     
  10. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello Takkero,

    Please open up a ticket in WHM > Support Center > Contact cPanel or using the link in my signature.

    Thanks!
     
Loading...

Share This Page