Web Hosting Talk







View Full Version : .htaccess / hot linking


DjPaj
05-09-2002, 04:08 PM
Help me, I must be dumb :dunce:, I'm trying to use the hotlinking script here at: http://faq.solutionscripts.com/misc/hot_linking.html

And I went in and created a .htaccess file and everything, but when I upload it to my server, why don't I see it? Am I doing something wrong or am I not supposed to see it? I don't understand the whole server part of the web, so forgive me for being nieve.

Also I can't seem to get the script working, I checked and mod_rewrite was compiled on my host, so does anyone have any suggestions?

Aralanthir
05-09-2002, 04:51 PM
If you're using FTP, you *should* see the file listed once you've uploaded it.

Have you tried testing to see if the hotlinking script worked or not? If the script works, but you can't see the file, it's really not that big of a problem.

Lamont
05-09-2002, 06:14 PM
The .htaccess file is invisible to most ftp programs. I think it's a security issue. If you want to access and edit it use your site administrator.

Chicken
05-09-2002, 07:50 PM
To see the .htaccess file (and all files that are hidden, designated by starting with '.'), look for information in your FTP program for 'Remote File Mask" and type:

-a

-in WS_FTP LE there is a white space where you can enter this after you've logged in, or if you do it before logging in, hit connect to bring up the username and password box, click the ADVANCED tab and you'll see the field there at the bottom.

Lamont
05-09-2002, 08:44 PM
Thanks, Chicken!

I use CuteFTP Pro and that did the trick. It's been a pain to have to use the administrator every time I wanted to change the .htaccess file.

Thanks