Received: (qmail 556 invoked by uid 2012); 22 Jan 1998 00:42:39 -0000 Message-Id: <19980122004239.554.qmail@hyperreal.org> Date: 22 Jan 1998 00:42:39 -0000 From: Brian Talarico Reply-To: spanky@spanky.com To: apbugs@hyperreal.org Subject: Redirecting pages X-Send-Pr-Version: 3.2 >Number: 1714 >Category: mod_alias >Synopsis: Redirecting pages >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Class: change-request >Submitter-Id: apache >Arrival-Date: Wed Jan 21 16:50:00 PST 1998 >Last-Modified: Wed Jan 21 16:52:00 PST 1998 >Originator: spanky@spanky.com >Organization: >Release: 1.3 >Environment: SunOS shell1 5.5.1 Generic_103640-03 sun4m sparc SUNW,SPARCstation-10 >Description: I run an image archive and have a problem with people linking directly to pictures on my site. At the ISP that I previously used, they added a redirect command that would redirect an address based on the refering pages address. >How-To-Repeat: http://members.aol.com/darrkon/images.htm This site is an example of what I am trying to stop. >Fix: Create a new command that will redirect based on the refering pages address. An example of how it was done with another server can be found at http://www.best.com/faq/bestwwwd.html#redirectrefe >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: dgaudet State-Changed-When: Wed Jan 21 16:52:00 PST 1998 State-Changed-Why: You can already do this using RewriteCond, one of the directives available in mod_rewrite. Install mod_rewrite and give it a try. See the docs for more info. Thanks for using Apache! Dean >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]