On Mon, Jun 11, 2012 at 10:10 PM, Bart Wiegmans <bartwiegm...@gmail.com> wrote: > Hello everybody, > > For a project I'm doing, I need to install a few bytecode files > alongside my module. I was planning on placing them in the modules > directory but I realised that at runtime I do not know where that is. > What is more, that directory may (and will, as a matter of fact) vary > during installation and testing. But most importantly, the server > knows where the module is kept as it specified by LoadModule. > > So in short, how can I determine the directory of my module at runtime?
You can't, the file path is internal to mod_so.c. I don't think it even stores it.