httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dr. Peter Poeml" <po...@suse.de>
Subject Re: function for canonicalizing path names?
Date Thu, 08 Mar 2007 10:48:01 GMT
On Thu, Mar 08, 2007 at 10:53:05AM +0100, Dr. Peter Poeml wrote:
> Hello,
> 
> is there a function in apache or apr to canonicalize pathnames (resolve
> a path with symlinks to the "real" path on disk)?
> 
> I couldn't find one so far. 
> 
> 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
-- 
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)

Mime
View raw message