Eeeeek! I'm being hot-linked!

B

bill

I know I could use an .htaccess file to take care of this,
but I've heard that this conflicts with FP extensions. Is
there a way to take care of this problem from within FP?
Please tell me yes and how. Thanks much. Bill
 
S

Steve Easton

What kind of server??


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
G

Guest

I believe it's Apache.

-----Original Message-----
What kind of server??


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer




.
 
S

Steve Easton

Does your hosting package include the web masters Control Panel??
If so check for a feature named Hot Link Preventor.

If not, create a file named .htaccess using notepad that contains the following edited to reflect
your domain name and place a copy in the folders that contain images:

SetEnvIfNoCase Referer "^http://www.domainname.com.com/" locally_linked=1
SetEnvIfNoCase Referer "^http://www.domainname.com.com$" locally_linked=1
SetEnvIfNoCase Referer "^http://domainname.com.com/" locally_linked=1
SetEnvIfNoCase Referer "^http://domainname.com.com$" locally_linked=1
SetEnvIfNoCase Referer "^$" locally_linked=1
<FilesMatch "\.(gif|png|jpe?g)$">
Order Allow,Deny
Allow from env=locally_linked
</FilesMatch>

To save it with the name .htaccess click File > Save as and enter ".htaccess" with quotes.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
G

Guest

Steve,

Thanks and God bless you.

My hosting package doesn't have the hot-link preventer
thing in the control panel, so I'll try the .htaccess
solution you suggest (the hosting guys suggested a similar
solution).

In poking around the web before I landed at this News
Group I saw warnings about using an .htaccess file with
Front Page.

Will there be any conflict - or will placing the .htaccess
file in the image directorys (I've kept all images in
seperate directories) avoid the probelm?

Thanks again and again.

Bill


-----Original Message-----
Does your hosting package include the web masters Control Panel??
If so check for a feature named Hot Link Preventor.

If not, create a file named .htaccess using notepad that
contains the following edited to reflect
your domain name and place a copy in the folders that contain images:

SetEnvIfNoCase Referer "^http://www.domainname.com.com/" locally_linked=1
SetEnvIfNoCase Referer "^http://www.domainname.com.com$" locally_linked=1
SetEnvIfNoCase Referer "^http://domainname.com.com/" locally_linked=1
SetEnvIfNoCase Referer "^http://domainname.com.com$" locally_linked=1
SetEnvIfNoCase Referer "^$" locally_linked=1
<FilesMatch "\.(gif|png|jpe?g)$">
Order Allow,Deny
Allow from env=locally_linked
</FilesMatch>

To save it with the name .htaccess click File > Save as
and enter ".htaccess" with quotes.
 

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