Apache module compilation problem
Hi, I am currently trying to add the mod_expires.c module to Apache. I am fairly new to Apache and as I understand there are 2 ways for me to add a module. Either using the apxs utility to create a DSO or adding it while making Apache. I have tried both ways and still it does'nt work. While using apxs it gives me an error message and does'nt create de mod_expires.so file in serverroot/modules/ . So....I am now trying to recompile Apache using this command:
./configure --prefix=/usr/localapache --with-layout=Apache --enable-share=expires --enable-module=expires
Still, it compiles and httpd works...nevertheless while doing httpd -l , it doesn't list mod_expires. By the way I am using Apache 2.0.50
What am I doing wrong?
How can I know if the module I want can beloaded dynamically or if I need to compile it?
Can anyone get me in touch with a good tutorial website, this stuff seems to be under-documented.
DSO modules don't show up in the output of "httpd -l". That only shows statically compiled modules. Check your httpd.conf for the appropriate LoadModule line.
|All times are GMT -5. The time now is 03:26 AM.|