Current location: Hot Scripts Forums » General Community » The Lounge » .htaccess problem


.htaccess problem

Reply
  #1 (permalink)  
Old 08-31-04, 09:29 PM
Eric24 Eric24 is offline
New Member
 
Join Date: Aug 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
.htaccess problem

Sorry if this is in the wrong forum, but I'm having some trouble with getting my .htaccess script to work. I want hotlinking to be disabled, so I put this on.
PHP Code:

 <Files .htaccess>

order allow,deny
deny from all
RewriteEngine on RewriteCond 
%{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?project-angel.com/.*$ [NC]
RewriteRule \.(jpe?g|gif|bmp|png)$ images/htaccess/hotlink.jpg [L]
</
Files
That's what I have, and it isn't working. Help please?
Reply With Quote
  #2 (permalink)  
Old 09-01-04, 06:19 PM
kvnband kvnband is offline
Wannabe Coder
 
Join Date: Jun 2003
Posts: 242
Thanks: 0
Thanked 0 Times in 0 Posts
dig through the PHP forum.. We solved this for someone in there. (too busy to look for the thread)
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie found a solution to a date problem. mickey_kamer Perl 4 05-09-07 05:54 AM
Count problem kasic ASP.NET 1 10-20-04 12:23 AM
an unusual problem.... fabulosas10 PHP 0 07-16-04 02:03 AM
Date problem Merovingian PHP 4 04-04-04 03:12 PM
.htaccess file Ikoh The Lounge 1 02-27-04 12:11 AM


All times are GMT -5. The time now is 01:43 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.