You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Andrew Klimov <an...@yahoo.com> on 2008/04/10 09:59:50 UTC

[users@httpd] how to determine current location

Hi, all!
I saw the function $r->location in Perl library for Apache.
I want to know its analogue in pure "C" Apache API.

Thanks in advance,
Andrew.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] how to determine current location

Posted by Torsten Foertsch <to...@gmx.net>.
On Thu 10 Apr 2008, Andrew Klimov wrote:
> I saw the function $r->location in Perl library for Apache.
> I want to know its analogue in pure "C" Apache API.

modperl saves it in modperl_config_dir_create() that is the dir config 
creater. Your C module can do just the same, hook per_dir_config creation and 
save it there.

Torsten

--
Need professional mod_perl support?
Just ask me: torsten.foertsch@gmx.net

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org