PDA

View Full Version : .htaccess files



Mike
11-18-2003, 02:05 PM
Hi all,

I need to edit my .htaccess file, but can't seem to find it anywhere on my hosting account. I have heard that if you don't have your own server you don't have access to one, so as I don't what do you think I should do?

Thanks a lot,
Mike

incka
11-18-2003, 02:07 PM
It doesn't display for some reason. It hides when you upload it. Just upload over it. Me and Gazza tested it by blocking each others IP addresses with it.

chromate
11-18-2003, 02:11 PM
You can just upload over the top of it as Inka says. If you have SSH access then you have much more control and if you log in there, you will see it and can edit it.

incka
11-18-2003, 02:13 PM
SSH access?

Chris
11-18-2003, 03:23 PM
If you're using ws_ftp in the command entry box (the white text box on the side) enter "-a" to see it.

any file that begins with a "." is hidden in linux and to view it you need to us the "ls -a" command. With ws_ftp you just need to enter the -a extension and hit refresh.

Mike
11-19-2003, 09:58 AM
Yup that worked Chris, thanks:)

chromate
11-19-2003, 01:20 PM
Originally posted by incka
SSH access?

Secure Shell. Command line access.