View Full Version : How do you unhide .htaccess so you can edit it?
Artdude
17-09-2007, 01:12/01:12AM
Yes, how do you unhide an .htaccess file on your ftp server so you can edit it? I've tried 3 different ftp programs and none of them have the 'hide' feature in them. I don't think my admin control panel - Ensim - has it either. Thanx for your post.
Tim
WebSavvy
17-09-2007, 01:17/01:17AM
I use WSFTP and I use Absolute FTP. I can see .htaccess files in both of these programs.
I've never used Ensim before -- so I have no idea where the functions would be located. I've only dealt with CPanel and Plesk (I loathe Plesk!)
You don't dare make your .htaccess file accessible to the web!
WebSavvy
17-09-2007, 01:22/01:22AM
Tim, another option for you would be to get HTML Kit (it's free): www.chami.com
HTML Kit can connect right to your server (like FTP would) but, you can edit the files on the server in realtime.
It's a really, really good editor.
Artdude
17-09-2007, 01:49/01:49AM
Yeah, that's a pretty good html 'plus' editor. I'm using Blumentals Rapid PHP with real-time ftp. It's my favorite web editor (light as all get out).
I hope to indeed get a service which has CPanel. I loathe Ensim.
See, i uploaded a file named .htaccess.txt and it disappeared after the upload. I need to unhide it so i can delete it and reup a new file, htaccess.txt, changing it to .htaccess. So, now i have 2 files on my server with the dot in front of htaccess. I need to delete the wrong one.
WebSavvy
17-09-2007, 02:02/02:02AM
Do you have SSH/Telnet access?
If so you can use putty (it's free also) to go into the server and remove it that way.
You'd need to type in your user/pass
then at the command prompt type in
cd /your/root/path/to/your/file
(replace the above with the real root path to the file you want to remove)
then at the command prompt (when you're in the correct working directory) type in
rm file.txt
(replace the file.txt with the name of the file to be deleted)
Hostgator has CPanel 11. They also let you have SSH access but you'd need to email a photo copy of your photo ID to them. Takes them less than 20 mins to enable it for you.
I've been with hostgator now for about 10/11 months and so far I honestly have no complaints about the server or the service.
Artdude
17-09-2007, 02:50/02:50AM
Thanx WS. I used Putty once aloooong time ago. I'll try that.
Hostgator, hmmmm, so many choices; too many pings, traceroutes, and
reading and not enough music production ..AUGHHH!
g1smd
17-09-2007, 08:44/08:44AM
There will be an option somewhere in your FTP program that says "hide filenames that begin with a dot". Uncheck that option.
They are hidden for a very good reason. You do not want to accidentally delete or edit that file.
Artdude
17-09-2007, 11:38/11:38AM
thanx g1smd, yeah, i looked in 3 different apps for that feature (even WS_FTP) and couldn't find it. It was late so i might have missed it. Anyway, i resolved the issue by going to my host admin (Ensim) to unhide it and deleted the 2nd copy. I didn't think Ensim wouldn't have that feature (i hate Ensim). I'm getting a new Host and DNS service next month so i'll have CPanel then :gory:.
g1smd
17-09-2007, 14:56/02:56PM
CPanel doesn't write the best of code when it generates stuff for the .htaccess file.
You're almost always better off writing the code yourself.
Artdude
17-09-2007, 15:24/03:24PM
oh good, glad you told me that; i probably would have used it.
andyf
24-09-2007, 02:41/02:41AM
You can also try cooletips.de/htaccess/
This generates .htaccess pages for you based on your requirements.
Connie
24-09-2007, 05:45/05:45AM
Sorry Andy but your suggestion has nothing to do with the question asked in this thread.
I think the original question has been answered.
So do you have something to do with this .htaccess generator that you keep promoting?
andyf
24-09-2007, 07:52/07:52AM
I apologise.....
But i think it can be used by most webmasters who are not much aware of htaccess. I am not having any concern with this product, it was just posted to help some newbie.
You can ref Post of "g1smd" my reply may be helpful in this case.
vBulletin® v3.8.3, Copyright ©2000-2010, Jelsoft Enterprises Ltd.