LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   why my module can not be loaded by Apache? (http://www.linuxquestions.org/questions/linux-newbie-8/why-my-module-can-not-be-loaded-by-apache-332093/)

iclinux 06-10-2005 01:18 AM

why my module can not be loaded by Apache?
 
Hi,there,

I download Apache 2.0.54 form http://apache.justdn.org/httpd/httpd-2.0.54.tar.gz, and compile it under HP-Unix, then run it, everything goes well.

I know how to load a module under Windows, but under HP-UNIX, I'm helpless, the problem is:

I add the follow line in httpd.conf:
LoadModule Test_module modules/mod_Test.so

when run httpd, it echos:

"Syntax error on line 233 of /usr/Apache2.0.54/conf/httpd.conf:
Cannot load /usr/Apache2.0.54/modules/mod_Test.so into server: Unresolved external"

Have you ever gotten this problem?

Regards,
iclinux

bosewicht 06-10-2005 06:35 PM

did you set the correct flags when you compiled apache? If you are using an "unusual" module, i think you need to tell apache about the module when u compile it. I might be wrong though.


All times are GMT -5. The time now is 07:51 AM.