From owner-freebsd-questions Sun Aug 19 18: 9:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dv-db.com (dv-db.com [207.159.141.95]) by hub.freebsd.org (Postfix) with ESMTP id 664F537B414 for ; Sun, 19 Aug 2001 18:09:20 -0700 (PDT) (envelope-from mark@dvdnews.co.uk) Received: from mark2 (usr1549-bh2.blueyonder.co.uk [62.30.238.35]) by dv-db.com (8.9.3/8.9.3) with SMTP id CAA21320; Mon, 20 Aug 2001 02:08:37 +0100 (GMT/BST) Message-ID: <030401c12914$9c0fcb10$e4a5fea9@mark2> From: "Mark Hughes" To: "Beech Rintoul" , References: <20010819195215.C285CD3@nebula.anchoragerescue.org> Subject: Re: Apache question Date: Mon, 20 Aug 2001 02:08:15 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I would like to direct referrals from a specific site to a special page on > our server. Is there a way to do this? I am running the latest port of > apache+mod_php. With PHP you can put something like this: ....at the start of the page being linked to (or all pages on your site if you wish), which will put all visitors who linked from any page on example.com to your page identified by target_url. This must come before any output is sent to the browser in a HTML page (else you can no longer send headers). target_url can be relative or absolute. It may also be possible through your native apache config, althoguh I don't know how off the top of my head. Hope this helps, Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message