Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2003
    West Yorkshire, UK

    Cant delete .htaccess file

    Hi, I have just bought a new reseller account and it has come to the time to transfer my accounts and my clients accounts.

    I have hit a problem with 3 accounts, all of which have empty .htaccess files in them.

    When attempting to transfer the accounts i cant (or should i say the techies cant) because of these .htaccess files. So off i trundle in to cpanel file manager to delete them, but, because they are an empty file i cant delete them/edit them/move them, basically i cant do anything with them.

    I have tried replacing them with a .htaccess file which has something inside but that doesnt work.

    I seem to remember this problem occuring a long time ago but i cant remember how i fixed it.

    Any ideas?

    - Jamie Harrop

  2. #2
    Join Date
    Apr 2003
    Atlanta, Jawja
    Log into the server via shell, and su to root

    cd into the directories, ls them to make sure you see the .htaccess file.

    chmod 777 .htaccess

    and then you should be able to delete them.
    Douglas Hazard - Certifiable Sports Junkie and Sports Community Enthusiast

    Host of Two Cents Radio - Follow @TwoCentsRadio on Twitter (@BearlyDoug on Twitter)

  3. #3
    Join Date
    May 2004
    Leiden, The Netherlands
    You could also log in as root and then just remove the file. However since it is a reseller account I do not think you have root access. I recommend contacting your web host to remove the file.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts