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.

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:
    1
    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:
    38
    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
     
  3. Eric

    Eric Administrator
    Staff Member

    Joined:
    Nov 25, 2007
    Messages:
    746
    Likes Received:
    11
    Trophy Points:
    18
    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!
     
  4. monckey100

    monckey100 Member

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

Share This Page