Web Hosting Buzz Reseller and Dedicated Server Hosting Forums  

Go Back   Web Hosting Buzz Reseller and Dedicated Server Hosting Forums > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 06-16-2009, 02:57 PM
DrFil DrFil is offline
New Bee
 
Join Date: Jul 2008
Posts: 5
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 03:00 PM.
Reply With Quote
  #2  
Old 06-16-2009, 03:03 PM
Alan B's Avatar
Alan B Alan B is offline
Moderator
 
Join Date: Jul 2007
Location: Toronto, Canada
Posts: 1,137
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.
Reply With Quote
  #3  
Old 06-16-2009, 03:06 PM
DrFil DrFil is offline
New Bee
 
Join Date: Jul 2008
Posts: 5
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.
Reply With Quote
  #4  
Old 06-16-2009, 03:18 PM
DrFil DrFil is offline
New Bee
 
Join Date: Jul 2008
Posts: 5
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.
Reply With Quote
  #5  
Old 06-16-2009, 09:16 PM
Maxim M.'s Avatar
Maxim M. Maxim M. is offline
Administrator
 
Join Date: Sep 2008
Location: Kharkiv
Posts: 456
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
Reply With Quote
  #6  
Old 06-16-2009, 10:24 PM
Colin's Avatar
Colin Colin is offline
Wait, What?
 
Join Date: Aug 2007
Posts: 151
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?
Reply With Quote
  #7  
Old 06-17-2009, 03:37 AM
DrFil DrFil is offline
New Bee
 
Join Date: Jul 2008
Posts: 5
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!
Reply With Quote
  #8  
Old 07-19-2009, 06:39 AM
romanohenry romanohenry is offline
New Bee
 
Join Date: Jul 2009
Posts: 3
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.
__________________
JTag Helpdesk | My first website
Reply With Quote
  #9  
Old 07-19-2009, 12:00 PM
Alan B's Avatar
Alan B Alan B is offline
Moderator
 
Join Date: Jul 2007
Location: Toronto, Canada
Posts: 1,137
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 With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump


All times are GMT. The time now is 02:09 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright WHB Networks LLC. All rights reserved.
SEO by vBSEO 3.2.0