Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 22902 invoked from network); 8 Mar 2007 10:48:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Mar 2007 10:48:28 -0000 Received: (qmail 22473 invoked by uid 500); 8 Mar 2007 10:48:37 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 22324 invoked by uid 500); 8 Mar 2007 10:48:36 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 22315 invoked by uid 99); 8 Mar 2007 10:48:36 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2007 02:48:36 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [195.135.220.2] (HELO mx1.suse.de) (195.135.220.2) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2007 02:48:27 -0800 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 3FFEA1223E for ; Thu, 8 Mar 2007 11:48:04 +0100 (CET) Date: Thu, 8 Mar 2007 11:48:01 +0100 From: "Dr. Peter Poeml" To: modules-dev@httpd.apache.org Subject: Re: function for canonicalizing path names? Message-ID: <20070308104801.GH16396@suse.de> Mail-Followup-To: modules-dev@httpd.apache.org References: <20070308095305.GG16396@suse.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MmaWY3eZhcRnoVUs" Content-Disposition: inline In-Reply-To: <20070308095305.GG16396@suse.de> X-Useless-Header: If you read this, say 'honk'! User-Agent: Mutt/1.5.13 (2006-08-11) Sender: Peter Poeml X-Virus-Checked: Checked by ClamAV on apache.org --MmaWY3eZhcRnoVUs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 08, 2007 at 10:53:05AM +0100, Dr. Peter Poeml wrote: > Hello, >=20 > is there a function in apache or apr to canonicalize pathnames (resolve > a path with symlinks to the "real" path on disk)? >=20 > I couldn't find one so far.=20 >=20 > I looked at r->canonical_filename, but it contained the same path as > r->filename, and doesn't have symlinks resolved. I was pointed to glibc's realpath() / canonicalize_file_name() now. Never mind :) Regards, Peter --=20 SUSE LINUX Products GmbH Bug, bogey, bugbear, bugaboo: Research & Development A malevolent monster (not true?); Some mischief microbic; What makes someone phobic; The work one does not want to do. From: Chris Young (The Omnificent English Dictionary In Limerick Form) --MmaWY3eZhcRnoVUs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFF7+nh92K4Je+2lOoRAjNyAJ44x+Tynwn3qjRFb/tFkskk8LBWbACbB2U8 blw2LcygW4im8qYxSpTu+fc= =JSre -----END PGP SIGNATURE----- --MmaWY3eZhcRnoVUs--