Where is Apache hiding its modules?
Hello, I am new to Linux and have recently installed Suse 10. I am trying to make some changes in the apache httpd.conf file and have to define the path to a module mod_jk. However, I cannot locate where Apache stores its modules. Currently I am getting the error that 'cannot load the module mod_jk'. Using Yast2 I have checked that the module exists but where? I do not know.
Can you please help me with this? Regards |
Would this help?
# httpd -l Compiled-in modules: http_core.c mod_so.c This will list modules and then do a find on the module name and that should give you the path info that you need. |
I believe Apache stores its modules in $(SERVERROOT)/modules, where ServerRoot is defined in httpd.conf.
Peace... |
Hello,
Since I am new to Linux to I couldnt understand the first reply. I looked at the httpd.conf file but there is no link to the modules folder. However, somone else helped me to find it finally and now Apache is running fine. The folder was /usr/lib/apache2 . I am new to Linux but some thing I have felt is that the paths are trickier and keep changing with different flavours of Linux and even betweeen different versions of same flavour. So it is more complex compared to Windowns environment. Regards. |
Quote:
LoadModule tomdkat modules/libtomdkat.so That path to the module, "modules/libtomdkat.so" in conjunction with the path defined in the ServerRoot directive will give you the exact path to where any given module is located. Quote:
Learn how to configure Apache and you'll be platform neutral. :) Peace... |
Got your point, thanks. I have done a similar thing on the other computer running Suse. I did not opt to go with Apache installation while installing Suse. I later downloaded the binaries and stored them in a folder of my choice. Now I have the whole thing togather and its easy to manage.
Regards. |
All times are GMT -5. The time now is 09:09 AM. |