Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 69000 invoked by uid 500); 2 Jul 2003 21:03: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 68986 invoked from network); 2 Jul 2003 21:03:26 -0000 Received: from web14208.mail.yahoo.com (216.136.173.72) by daedalus.apache.org with SMTP; 2 Jul 2003 21:03:26 -0000 Message-ID: <20030702210246.27889.qmail@web14208.mail.yahoo.com> Received: from [68.164.85.100] by web14208.mail.yahoo.com via HTTP; Wed, 02 Jul 2003 14:02:46 PDT Date: Wed, 2 Jul 2003 14:02:46 -0700 (PDT) From: "Ling F. Zhang" Reply-To: lingfengz@yahoo.com To: users@httpd.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: [users@httpd] url or path or viseversa I am writting a cgi script to maybe server some file to user... now, in httpd.conf, I have alias /file/ "D:\file2serve\" How can I write a function (in perl or C or whatever) that I can cover the local path to the aliased url? string convert(string a) where, if a="D:\file2serve\ convert(a) = /file/ of course, I will have to take care of permission issue... __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.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