+ Reply to Thread
Results 1 to 9 of 9

Thread: .htaccess file disappears after upload..

  1. #1
    DrFil is offline New Bee
    Join Date
    Jul 2008
    Posts
    5
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default .htaccess file disappears after upload..

    I'm not very savvy in this kind of stuff, but I'm trying to upload an .htaccess file into a root directory, and it uploads fine, but then disappears after I refresh my file manager. If i upload it as "a.htaccess" or put anything before the "." then it stays fine. but if i then delete whatever is in front of the period, it disappears again. what can i do to make it stay?
    Last edited by DrFil; 06-16-2009 at 11:00 AM.

  2. #2
    Alan B's Avatar
    Alan B is offline Super Moderator
    Join Date
    Jul 2007
    Location
    Toronto, Canada
    Posts
    1,386
    WHB Points this Month
    0.00
    WHB Points
    290.00
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default

    Login to cPanel and use its File Manager to examine the directory contents. I suspect that your .htaccess file is still there. Many FTP clients require you to toggle a setting to show all documents, otherwise they hide things like .htaccess. I think that may be what's happening with your FTP client software.
    I am not WHB staff and I am not paid.
    I provide help in these forums on my own time.

  3. #3
    DrFil is offline New Bee
    Join Date
    Jul 2008
    Posts
    5
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i'm using the file manager in cpanel directly. it's the weirdest thing, as soon as i rename the file to .htaccess, it disappears.

  4. #4
    DrFil is offline New Bee
    Join Date
    Jul 2008
    Posts
    5
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    ok, so i thought of one reason why this might be screwed up...

    initially, i could have an .htaccess file, but then i went into the "apache handlers" thing in cpanel and added some handler for the extension .htaccess. but then i deleted it since i realized it was stupid, and it asked me 'are you sure you want to delete the handler ".htaccess"' to which i said yes.

    i've had this disappearing .htaccess problem since.

    forgive me, i know i sound really ignorant with all this.

  5. #5
    Maxim M.'s Avatar
    Maxim M. is offline WeeHBie
    Join Date
    Sep 2008
    Location
    Kharkiv, UA
    Posts
    545
    Servers
    webhostingbuzz.com
    WHB Points this Month
    5.00
    WHB Points
    55.00
    Thanks
    14
    Thanked 3 Times in 3 Posts

    Default

    DrFil,

    The technicians can check server logs to find out what's happening with your .htaccess.
    Just open a support ticket at https://whbsupport.com

  6. #6
    Colin's Avatar
    Colin is offline Wait, What?
    Join Date
    Aug 2007
    Posts
    175
    WHB Points this Month
    0.00
    WHB Points
    5.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by DrFil View Post
    i'm using the file manager in cpanel directly. it's the weirdest thing, as soon as i rename the file to .htaccess, it disappears.
    When you start file manager, are you checking the box which asks if you want to see hidden (dot) files?

  7. #7
    DrFil is offline New Bee
    Join Date
    Jul 2008
    Posts
    5
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Colin View Post
    When you start file manager, are you checking the box which asks if you want to see hidden (dot) files?
    ah, that was it! thank you!

  8. #8
    romanohenry is offline New Bee
    Join Date
    Jul 2009
    Posts
    3
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I guess your using synchronization that will check changes form on site to another. if you don't have one file on to your main site then that will be deleted also on the second site. I hope it makes sense and have explained it well.
    [URL=http://joomlatag.com/][B]JTag Helpdesk[/B][/URL] | [URL=http://websitefirst.blogspot.com/][B]My first website[/b][/URL]

  9. #9
    Alan B's Avatar
    Alan B is offline Super Moderator
    Join Date
    Jul 2007
    Location
    Toronto, Canada
    Posts
    1,386
    WHB Points this Month
    0.00
    WHB Points
    290.00
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default

    Quote Originally Posted by romanohenry View Post
    I guess your using synchronization that will check changes form on site to another. if you don't have one file on to your main site then that will be deleted also on the second site. I hope it makes sense and have explained it well.
    No, that is not what is happening. The poster's .htaccess was always there, he just needed to select the File Manager option to be able to view hidden files.
    I am not WHB staff and I am not paid.
    I provide help in these forums on my own time.

+ Reply to Thread

Posting Permissions

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