where can I find the htaccess file?

M

mike b

I've search the internet quite a bit. There is tons of information on
preventing hotlinking (a problem I've had and want to prevent). I'm using
FrontPage 2003. I cannot find an .htaccess file, even though FP already has
one. I tried to upload a new file, but when I try to change it from
"htaccess.txt" to ".htaccess" FP won't let me. It just reverts to the .txt
file name.

Secondly, now I've read that changing the htaccess file in FP can cause all
kinds of problems.

I'm tired of people stealing my photos and bandwidth. What can I do?

Also.. I'm getting TONS of bot spam on my "comments" page
 
D

David Berry

You will only have an .htaccess file if you're hosted on a Unix Server and
your web host may not give you permissions to modify it. You would find it
by using an FTP program. Contact your web host. If you're on a Windows
Server see:

Password Protect Part of a Web: (Requires FrontPage extensions on
server, and host must support subwebs with unique permissions)
http://support.microsoft.com/default.aspx?scid=kb;en-us;301554 (FP2000)
http://support.microsoft.com/default.aspx?scid=kb;en-us;825451 (FP2003)

Protect individual pages: (Requires Windows Server with support for ASP
and Access database)
http://support.microsoft.com/default.aspx?scid=kb;en-us;825498


See http://support.microsoft.com/default.aspx?scid=kb;en-us;825451
Your host will have to support subwebs and unique permissions under the FP
Server Extensions

For another sample of using a database and ASP See
http://www.kamath.com/tutorials/tut003_auth.asp
 
R

Rob Giordano \(Crash\)

hotlinking...
change the file names of your existing images...then put new images (if you
want to be nice...an image that says; Hotlinking Forbidden. If you want to
be nasty...maybe a porno pix) and name these files with your old file names
that are being hotlinked to.



| I've search the internet quite a bit. There is tons of information on
| preventing hotlinking (a problem I've had and want to prevent). I'm using
| FrontPage 2003. I cannot find an .htaccess file, even though FP already
has
| one. I tried to upload a new file, but when I try to change it from
| "htaccess.txt" to ".htaccess" FP won't let me. It just reverts to the
..txt
| file name.
|
| Secondly, now I've read that changing the htaccess file in FP can cause
all
| kinds of problems.
|
| I'm tired of people stealing my photos and bandwidth. What can I do?
|
| Also.. I'm getting TONS of bot spam on my "comments" page
 
N

neutrino

how would you Know you had been hotlinked to?
would it be a study of logs or the data the host collects on where
people have come from to visit your site, and the url where they came
from to do so... or... ?
 
T

Thomas A. Rowe

You would have to study the log file and then view the suspected sites.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================
 
?

.._..

Publish your site to a different location.

Rename the images (let FrontPage update the pages)

Import an obnoxious image, copy it and name it the names of the original
images.

Publish over your site. Voila! Hot linkers have rude suprise!

Depending on how mean you are, choose meaner and nastier images, or just put
a simple warning in.

Do that a few times and people will get the idea not to do that, especially
if you use the "right" images.

In IIS, http-referrer filters (which is what you are after) are costly and
difficult to implement. You might find one that suits you or that you
qualify for to use for free, so it's worth a look.

In Unix/Apache (which is where the .htaccess stuff comes from) it's as easy
as writing a script.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top