httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject ap_document_root(request_rec *r) /* Don't use this! */
Date Sat, 23 Aug 2003 17:33:14 GMT
ap_document_root is declared as:

/**
  * Retrieve the document root for this server
  * @param r The current request
  * @warning Don't use this!  If your request went through a Userdir, or
  * something like that, it'll screw you.  But it's back-compatible...
  * @return The document root
  * @deffunc const char *ap_document_root(request_rec *r)
  */
AP_DECLARE(const char *) ap_document_root(request_rec *r);

If you warn not to use it, what should be used instead?

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Mime
View raw message