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.

cannot delete .htacces file in public_html

Discussion in 'General Discussion' started by myuli, Feb 16, 2012.

  1. myuli

    myuli Registered

    Joined:
    Feb 16, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    hi guys ,

    help pls, cannot delete file htaccess in public_html folder

    file permission is 644 and tried to change it to 777 but still can not deleted

    i tried delete and successfull but it come back again to public folder .

    what this caused ?

    and i have subfolder "demo" in public_html but it can not be accessed and i got this prompt error messages

    Forbidden

    You don't have permission to access /demo/ on this server.

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


    does this error caused by .htaccess file that live in publich_html folder ?


    pls help me , i don,t know to solve this at all,

    thanks
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,451
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Sounds like ownership of the file and directory have been changed. If you don't own it you can't remove it. If this is the case and you don't have root access, you'll need to speak with your Hosting Provider and ask them to change owner back to you, or remove the files in question for you.
     
Loading...

Share This Page