httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asaf Dalet" <>
Subject [users@httpd] get module full path from module code
Date Fri, 02 Feb 2007 09:56:11 GMT

I am writing an apache module. In the module code, on runtime, I want to
know the directory of my module (to read a configuration file).

for example:

     LoadModule mod_mymodule c:\my_module_path\

I want to be able to get the path: "c:\my_module_path\"

is there a way to do it? for apache v1.3,2.0,2.2 ?
should I read the configuration file (how do i get path/access to it)? can i
use ap_mpm_query for that?

appreciate any help


View raw message