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)
pgp4ItLPWLnBa.pgp
Description: PGP signature
