Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 78059 invoked by uid 500); 14 Mar 2002 16:18:23 -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 78042 invoked from network); 14 Mar 2002 16:18:23 -0000 Received: from virus-1.in.noc.dsvr.net (HELO smtp-relay1.noc.dsvr.net) (212.69.192.254) by daedalus.apache.org with SMTP; 14 Mar 2002 16:18:23 -0000 Received: from [212.69.208.113] (helo=stealthnet.co.uk) by smtp-relay1.noc.dsvr.net with esmtp (Exim 3.34 #1) id 16lXvs-0000qN-00 for users@httpd.apache.org; Thu, 14 Mar 2002 16:18:24 +0000 Received: from JAMES (host213-122-192-168.in-addr.btopenworld.com [213.122.192.168]) by stealthnet.co.uk (8.11.6/8.11.6) with SMTP id g2EGILX21492 for ; Thu, 14 Mar 2002 16:18:22 GMT From: "James Green" To: Subject: Using AliasMatch Date: Thu, 14 Mar 2002 16:18:29 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi all, We have a slightly odd set up here and I'm looking for guideance. We have multiple template websites powered by the same backend PHP code. The sites are in the url format http://ip/sitename/url the URLs need to be AliasMatched to various backend scripts. Also, we have a number of site with their own domain name what are mapped directly to /sitename/. Thus we end up with two sets of AliasMatch directives, one for ^/(.*)/url and one for /url. This is a pain to think about. I have already set up one to match ^/(.*)/(.*)/(.*)/ringtones/(.*).php which should match /sitename/en/english/ringtones/foo.php but it doesn't. It comes up with a /sitename/en/english/ringtones/foo.php not found. The line is: AliasMatch ^/(.*)/(.*)/(.*)/ringtones/(.*).php "/www/new_templated/shared/ringtones.php" I don't understand why this is. If anyone has any advice on this set up please respond, I'm somewhat inexperienced in this area! Thanks. -- James Green Developer Stealthnet.co.uk --------------------------------------------------------------------- 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