Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 61753 invoked by uid 500); 9 Feb 2002 16:42:33 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 61742 invoked from network); 9 Feb 2002 16:42:33 -0000 Received: from redhotsweeps.com (209.61.158.9) by daedalus.apache.org with SMTP; 9 Feb 2002 16:42:33 -0000 Received: from chris.redhotsweeps.com (HubAB-ubr-66-61-108-198.midsouth.rr.com [66.61.108.198]) by redhotsweeps.com (8.9.3/8.9.3) with ESMTP id KAA17690 for ; Sat, 9 Feb 2002 10:42:35 -0600 Message-Id: <5.1.0.14.2.20020209104124.00b8b268@redhotsweeps.com> X-Sender: maillists@redhotsweeps.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sat, 09 Feb 2002 10:41:42 -0600 To: users@httpd.apache.org From: CDitty Subject: Re: htaccess problems In-Reply-To: References: <5.1.0.14.2.20020209101843.00b82b90@redhotsweeps.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanks. I'll look at those logs too. Chris At 10:31 AM 2/9/2002, you wrote: >On Sat, 9 Feb 2002, CDitty wrote: > > > Thanks. Something like this? (I've never really been able to grasp this > > stuff) > > > > RewriteEngine On > > RewriteOptions inherit > > RewriteCond %{HTTP_REFERER} !^http://.*redhotsweeps.com/.*$ [NC] > > RewriteCond %{HTTP_REFERER} !^$ [NC] > > RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$|.*[Pp][Nn][Gg]$ > > http://www.redhotsweeps.com/ [R,L] [F] > >Yes. > >I'm also not sure about your RewriteRule. It doesn't look like a proper >regular expression to me. But if it works, it works. > >My guess would be more along the lines: >RewriteRule .*\.(jpg|gif|png)$ http://www.redhotsweeps.com/ [R,L,NC] > >As I said, the only way to really figure out what is going on is to make >use of your log files (extended/combined access_log plus rewritelog). > >Joshua. > > >--------------------------------------------------------------------- >The official User-To-User support forum of the Apache HTTP Server Project. >See for more info. >To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org >For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org