get module full path from module code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

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\my_module.so

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

Asaf


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux