Page is a not externally linkable
- Hardware and OS Related Technologies
-- Linux, Unix, and *nix like Operating Systems
---- Viewing and editing .htaccess file on linux laptop


sonjay - 10:14 pm on Aug 2, 2004 (gmt 0)


Trisha, is it on your local system or on the remote system that you can't see or create an .htaccess file?

I've never used (or even heard of) gftp, but most ftp editors will let you edit a file on the remote system. You might need to look in the preferences for an option like "Show hidden files" or "Show dot files" or something along those lines. Also with telnet and ssh you can usually edit such files using pico or whatever editor the server has available.

I can tell you that no, you definitely do not need root access to edit an .htaccess file, unless your server is set up in a very unusual manner. The whole purpose of .htaccess files is to let the user for a given site set or change certain configurations for his site without root access.

BTW, I'm usually connected to remote sites via ftp for hours at a time, and I've never run into problems. Again, unless your server specifically puts limits in place, you can sit there with your ftp connection on all day long.


Thread source:: http://www.webmasterworld.com/linux/1172.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com