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.

Not able to locate apache httpd.conf file

Discussion in 'EasyApache' started by Meenakshi Gupta, Sep 14, 2012.

  1. Meenakshi Gupta

    Meenakshi Gupta Registered

    Joined:
    Sep 14, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I just deployed my Zend project in a hosting service. I upload my project in public_html folder. While accessing the url i am receiving 404 Error

    The requested URL /login was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


    For correcting it i have to make changes in the host entry file as i don't have root level privilege i am not able to access it. Can anybody Suggest the reason for this error and where to locate the httpd.conf file.

    Thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    You will not be able to access /usr/local/apache/conf/httpd.conf if you do not have root access to the server. I suggest that you upload a test file to the public_html directory. Then, attempt to access that test file from your browser to determine if it's a DNS propagation issue, or if the script you uploaded is simply not configured properly.

    Thank you.
     
  3. pwhjenny

    pwhjenny Well-Known Member

    Joined:
    Aug 31, 2012
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    You can try to check web server logs located at /usr/local/apache/logs/error_log
     
Loading...

Share This Page