Web Hosting Talk







View Full Version : ssh .htaccess question


Crazy BigGaz
11-28-2002, 04:40 PM
Hi,

I have a question about ssh and making a .htaccess file in linux.

I have just started to learn linux and would like to know how I would go about making a .htaccess within ssh ?

Regards,
Garry

Darth
11-28-2002, 05:24 PM
1. pico .htaccess
2. After entering the information push ctrl+x (if I remember correctly)
3. Follow the instructions at the bottom

;)

Crazy BigGaz
11-28-2002, 05:58 PM
Hi,

Just let say I want to put a .htaccess in /home/username/public_html/test/

and I wanted to do this by SSH

would I

1. cd /home/username/public_html/test/
2. pico .htaccess

or would I

pico /home/username/public_html/test/.htaccess

I am only using this path as an example.

Regards,
Garry

HostInspect
11-28-2002, 06:17 PM
Either way will work.

I recommend using pico -w so you won't have any wraps in the code.

-Brandon
Eryxma Networks Support