If apache is the only platform you're targeting, you can get at the
apache request structure like this:
request_rec *r;
r = ((request_rec *) SG(server_context));
If you're running under a different web server, you'll most likely
blow it up shortly after this point.
If you want a degree of platf
How does one retrieve the current "document_root" and/or other apache
specific information from within an extension.
I'm just starting to write an extension as a learning process now, but I
have an extension that I would like to write, but need to learn first.
Thank you for any help,
Daniel
--