Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 47888 invoked by uid 500); 8 Aug 2003 14:19:26 -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 47847 invoked from network); 8 Aug 2003 14:19:26 -0000 Received: from obi001.obinet.net (198.173.255.43) by daedalus.apache.org with SMTP; 8 Aug 2003 14:19:26 -0000 Received: from CodeMonkey ([63.165.148.246]) (authenticated bits=0) by obi001.obinet.net (8.12.8p1/8.12.8) with ESMTP id h78EJQTY056599 for ; Fri, 8 Aug 2003 10:19:27 -0400 (EDT) (envelope-from chris.edwards@obinet.com) Message-ID: <01d101c35db8$86398cb0$4300a8c0@CodeMonkey> From: "Chris Edwards" To: Date: Fri, 8 Aug 2003 10:22:38 -0400 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 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: [users@httpd] aliasmatching, $1, $2, etc. need explanation please Hi I'm trying to figure out what the $1, $2, etc.. mean in the following: ScriptAliasMatch ^/~([^/]*)/cgi-bin/(.*) /home/$1/cgi-bin/$2 With a request to http://example.com/~user/cgi-bin/script.cgi Are they variables which contain a match against the regex? Like $1 = user, $2 = script.cgi ? I have an AliasMatch, ^/(.*) /some/place/index.php$1 with a request to http://example.com/home/main.html?this=something What is stored in $1? I'm thinking /home/main.html?this=something Am I correct? Is there a $2 variable for this match also? If so, what would it be. Thanks. -- Chris Edwards Web Application Developer Outer Banks Internet, Inc. 252-441-6698 chris.edwards@obinet.com http://www.OuterBanksInternet.com --------------------------------------------------------------------- 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 " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org