Need help with apache module
I wonder how to install proxy_module for apache 2.0. Does anyone know where to get this module from and how to install it in DSO apache? I've been trying to download this module but the only one I found is proxy_http_mod not the other one. Was it deprecated or something? Thanks!
|
Use something like this:
Code:
./configure --enable-so --enable-mods-shared="proxy proxy_http proxy_ftp proxy_connect" --other-configure-options |
If i do that I'm rebuilding apache or not? can't I just load the module dinamically like others I have?
|
Run
Code:
httpd -l Code:
apxs -i -a -c mod_proxy.c If mod_proxy is already statically compiled then you have to rebuild apache if you insist to use mod_proxy as a DSO. |
no, it is not compiled, take a look:
Compiled in modules: core.c prefork.c http_core.c mod_so.c Now I don't know where to get that file mod_proxy.c from, I have one called mod_proxy.h but don't know what to do with it, if anything. Do you know where could I get mod_proxy.c? Thanks for your help! |
thanks a lot, got the file from the source, my next problem is when I apxs the module i get this
apxs:Error: Command failed with rc=65536 any idea of what this is? |
It seems that was a version too new.
|
All times are GMT -5. The time now is 06:40 PM. |