Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

screwed up .htaccess

Discussion in 'General Discussion' started by monckey100, Sep 13, 2009.

  1. monckey100

    monckey100 Member

    Joined:
    Sep 13, 2009
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    51
    ok, so on the cpanel it didnt show the htaccess so i chose to add mine, unknowningly i replaced the old htaccess and now my site doesn't want to work. May i have a link to a working .htaccess and if possible make it have php in html access?
     
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    68
    May I know what error message are you receiving while accessing your site. You can check the error logs to get the error message. You can get the error logs at the below location:

    /usr/local/apache/error_log
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Eric

    Eric Administrator
    Staff Member

    Joined:
    Nov 25, 2007
    Messages:
    751
    Likes Received:
    11
    Trophy Points:
    143
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
    Howdy,

    I'd grab a copy out of your backup and restore it, seems to be the fastest method there. That aside, I'm curious how were you looking for cPanel to show you the .htaccess file?

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. monckey100

    monckey100 Member

    Joined:
    Sep 13, 2009
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    51
    i used the website drive thingy
    p.s. Nvm guys it just fixed its self O_O
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice