You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Frank Roche <fc...@talktalk.net> on 2013/11/08 09:51:59 UTC
[users@httpd] Installed Modules Query
Hi - I am a newbie to Apache and want to learn how to setup Apache as a
reverse proxy server for Oracle e-Business Suite.
I am following an Oracle document which details how to do this but the
Apache version it uses is in the example is httpd-2.0.54.tar.gz
I would like to use the latest version of Apache so I can take advantage of
latest bug fixes, enhancements and security fixes - the version I have
installed is httpd-2.4.6.tar.gz
The Oracle document says that once Apache is installed I should be able to
do the following to confirm the modules in use :-
$ ./httpd -l
Compiled in modules:
core.c
mod_access.c
mod_auth.c
mod_log_config.c
mod_headers.c
mod_setenvif.c
mod_proxy.c
proxy_http.c
mod_ssl.c
prefork.c
http_core.c
mod_mime.c
mod_dir.c
mod_rewrite.c
mod_so.c
They suggest this is achieved with the following configure command :-
./configure -prefix /dmz \
--enable-ssl \
--enable-setenvif \
--enable-proxy \
--enable-proxy_http \
--enable-headers \
--enable-rewrite \
--enable-so \
--disable-charset-lite \
--disable-include \
--disable-env \
--disable-status \
--disable-autoindex \
--disable-asis \
--disable-cgi \
--disable-negotiation \
--disable-imap \
--disable-actions \
--disable-userdir \
--disable-alias
My Problem:
However when I configure and make my version and run the same httpd -l
command, I get a far smaller subet of modules.
I have tried to use the configure command oracle provided and also the
--enable-load-all-modules directive in the configure command as follows
./configure --enable-load-all-modules
Whichever way I do, the list command still gives me as follows :-
# ./httpd -l
Compiled in modules:
core.c
mod_so.c
http_core.c
event.c
This list is significantly different ( smaller) than the list the Oracle
document suggests. I have looked through the documentation and help on the
configure command and I believe I am doing the right thing.
I get that this may well be because they are different versions but can
someone confirm this for me please - or am I missing something more
fundamental?
Thanks in advance
Frank
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Installed Modules Query
Posted by Frank Roche <fc...@talktalk.net>.
Many thanks Aurelien. I will take a look over next few days and let you know how i get on.
Frank
Sent from my iPhone
> On 8 Nov 2013, at 09:16, Aurélien Terrestris <at...@gmail.com> wrote:
>
> Frank, httpd -l shows compiled-in modules but it's better to use DSO
> modules rather than compiled-in.
>
> To see what DSO modules were compiled, you can check what's in your
> modules directory.
>
> To get a great Apache 2.4.X with DSO, you can compile like this :
> 'configure --prefix=yourinstalldir --enable-mods-shared='most'
>
> As Oracle suggests you a "security" configuration, you can add their
> recommendations to the previous line
>
> Also, Apache 2.4 configuration script is bugged and the "enable"
> modules give a commented LoadModule in httpd.conf (see
> https://issues.apache.org/bugzilla/show_bug.cgi?id=55711 ) . So you
> can apply this patch or edit httpd.conf in order to remove the # of
> the modules you listed (ssl setenvif proxy ...)
>
> 2013/11/8 Frank Roche <fc...@talktalk.net>:
>> Hi - I am a newbie to Apache and want to learn how to setup Apache as a
>> reverse proxy server for Oracle e-Business Suite.
>>
>> I am following an Oracle document which details how to do this but the
>> Apache version it uses is in the example is httpd-2.0.54.tar.gz
>>
>> I would like to use the latest version of Apache so I can take advantage of
>> latest bug fixes, enhancements and security fixes - the version I have
>> installed is httpd-2.4.6.tar.gz
>>
>> The Oracle document says that once Apache is installed I should be able to
>> do the following to confirm the modules in use :-
>> $ ./httpd -l
>> Compiled in modules:
>> core.c
>> mod_access.c
>> mod_auth.c
>> mod_log_config.c
>> mod_headers.c
>> mod_setenvif.c
>> mod_proxy.c
>> proxy_http.c
>> mod_ssl.c
>> prefork.c
>> http_core.c
>> mod_mime.c
>> mod_dir.c
>> mod_rewrite.c
>> mod_so.c
>>
>> They suggest this is achieved with the following configure command :-
>> ./configure -prefix /dmz \
>> --enable-ssl \
>> --enable-setenvif \
>> --enable-proxy \
>> --enable-proxy_http \
>> --enable-headers \
>> --enable-rewrite \
>> --enable-so \
>> --disable-charset-lite \
>> --disable-include \
>> --disable-env \
>> --disable-status \
>> --disable-autoindex \
>> --disable-asis \
>> --disable-cgi \
>> --disable-negotiation \
>> --disable-imap \
>> --disable-actions \
>> --disable-userdir \
>> --disable-alias
>>
>> My Problem:
>> However when I configure and make my version and run the same httpd -l
>> command, I get a far smaller subet of modules.
>> I have tried to use the configure command oracle provided and also the
>> --enable-load-all-modules directive in the configure command as follows
>> ./configure --enable-load-all-modules
>>
>> Whichever way I do, the list command still gives me as follows :-
>> # ./httpd -l
>> Compiled in modules:
>> core.c
>> mod_so.c
>> http_core.c
>> event.c
>>
>> This list is significantly different ( smaller) than the list the Oracle
>> document suggests. I have looked through the documentation and help on the
>> configure command and I believe I am doing the right thing.
>> I get that this may well be because they are different versions but can
>> someone confirm this for me please - or am I missing something more
>> fundamental?
>>
>> Thanks in advance
>> Frank
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Installed Modules Query
Posted by Aurélien Terrestris <at...@gmail.com>.
Frank, httpd -l shows compiled-in modules but it's better to use DSO
modules rather than compiled-in.
To see what DSO modules were compiled, you can check what's in your
modules directory.
To get a great Apache 2.4.X with DSO, you can compile like this :
'configure --prefix=yourinstalldir --enable-mods-shared='most'
As Oracle suggests you a "security" configuration, you can add their
recommendations to the previous line
Also, Apache 2.4 configuration script is bugged and the "enable"
modules give a commented LoadModule in httpd.conf (see
https://issues.apache.org/bugzilla/show_bug.cgi?id=55711 ) . So you
can apply this patch or edit httpd.conf in order to remove the # of
the modules you listed (ssl setenvif proxy ...)
2013/11/8 Frank Roche <fc...@talktalk.net>:
> Hi - I am a newbie to Apache and want to learn how to setup Apache as a
> reverse proxy server for Oracle e-Business Suite.
>
> I am following an Oracle document which details how to do this but the
> Apache version it uses is in the example is httpd-2.0.54.tar.gz
>
> I would like to use the latest version of Apache so I can take advantage of
> latest bug fixes, enhancements and security fixes - the version I have
> installed is httpd-2.4.6.tar.gz
>
> The Oracle document says that once Apache is installed I should be able to
> do the following to confirm the modules in use :-
> $ ./httpd -l
> Compiled in modules:
> core.c
> mod_access.c
> mod_auth.c
> mod_log_config.c
> mod_headers.c
> mod_setenvif.c
> mod_proxy.c
> proxy_http.c
> mod_ssl.c
> prefork.c
> http_core.c
> mod_mime.c
> mod_dir.c
> mod_rewrite.c
> mod_so.c
>
> They suggest this is achieved with the following configure command :-
> ./configure -prefix /dmz \
> --enable-ssl \
> --enable-setenvif \
> --enable-proxy \
> --enable-proxy_http \
> --enable-headers \
> --enable-rewrite \
> --enable-so \
> --disable-charset-lite \
> --disable-include \
> --disable-env \
> --disable-status \
> --disable-autoindex \
> --disable-asis \
> --disable-cgi \
> --disable-negotiation \
> --disable-imap \
> --disable-actions \
> --disable-userdir \
> --disable-alias
>
> My Problem:
> However when I configure and make my version and run the same httpd -l
> command, I get a far smaller subet of modules.
> I have tried to use the configure command oracle provided and also the
> --enable-load-all-modules directive in the configure command as follows
> ./configure --enable-load-all-modules
>
> Whichever way I do, the list command still gives me as follows :-
> # ./httpd -l
> Compiled in modules:
> core.c
> mod_so.c
> http_core.c
> event.c
>
> This list is significantly different ( smaller) than the list the Oracle
> document suggests. I have looked through the documentation and help on the
> configure command and I believe I am doing the right thing.
> I get that this may well be because they are different versions but can
> someone confirm this for me please - or am I missing something more
> fundamental?
>
> Thanks in advance
> Frank
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Installed Modules Query
Posted by Jeff Trawick <tr...@gmail.com>.
On Fri, Nov 8, 2013 at 3:51 AM, Frank Roche <fc...@talktalk.net> wrote:
> Hi - I am a newbie to Apache and want to learn how to setup Apache as a
> reverse proxy server for Oracle e-Business Suite.
>
> I am following an Oracle document which details how to do this but the
> Apache version it uses is in the example is httpd-2.0.54.tar.gz
>
> I would like to use the latest version of Apache so I can take advantage of
> latest bug fixes, enhancements and security fixes - the version I have
> installed is httpd-2.4.6.tar.gz
>
> The Oracle document says that once Apache is installed I should be able to
> do the following to confirm the modules in use :-
> $ ./httpd -l
> Compiled in modules:
> core.c
> mod_access.c
> mod_auth.c
> mod_log_config.c
> mod_headers.c
> mod_setenvif.c
> mod_proxy.c
> proxy_http.c
> mod_ssl.c
> prefork.c
> http_core.c
> mod_mime.c
> mod_dir.c
> mod_rewrite.c
> mod_so.c
>
> They suggest this is achieved with the following configure command :-
> ./configure -prefix /dmz \
> --enable-ssl \
> --enable-setenvif \
> --enable-proxy \
> --enable-proxy_http \
> --enable-headers \
> --enable-rewrite \
> --enable-so \
> --disable-charset-lite \
> --disable-include \
> --disable-env \
> --disable-status \
> --disable-autoindex \
> --disable-asis \
> --disable-cgi \
> --disable-negotiation \
> --disable-imap \
> --disable-actions \
> --disable-userdir \
> --disable-alias
>
> My Problem:
> However when I configure and make my version and run the same httpd -l
> command, I get a far smaller subet of modules.
>
Other folks covered most of this except for one thing:
Use "httpd -M" to see the list of modules active in your current
configuration, whether they were linked statically with the server or
loaded via LoadModule.
> I have tried to use the configure command oracle provided and also the
> --enable-load-all-modules directive in the configure command as follows
> ./configure --enable-load-all-modules
>
> Whichever way I do, the list command still gives me as follows :-
> # ./httpd -l
> Compiled in modules:
> core.c
> mod_so.c
> http_core.c
> event.c
>
> This list is significantly different ( smaller) than the list the Oracle
> document suggests. I have looked through the documentation and help on the
> configure command and I believe I am doing the right thing.
> I get that this may well be because they are different versions but can
> someone confirm this for me please - or am I missing something more
> fundamental?
>
> Thanks in advance
> Frank
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
--
Born in Roswell... married an alien...
http://emptyhammock.com/
Re: [users@httpd] Installed Modules Query
Posted by Pete Houston <ph...@openstrike.co.uk>.
Hello Frank,
Apache is very flexible and allows the installer (ie. you) to choose
which modules to compile statically into the httpd binary, which to
compile as loadable, external DSOs and which not to compile at all.
The very small list of compiled-in modules which you see are the bare
bones for getting apache running. Any other modules you need can be
built as DSOs and loaded on demand with the LoadModule directive. This
is usually a good thing because it gives the apache administrator
(probably also you) the ability to change which modules to use without
having to recompile the httpd binary. There is a very slight performance
overhead with this but that's only a consideration in extreme cases.
So, the oracle doc assumes that these modules have been built
statically, whereas you have built them dynamically.
This should have no material effect on the server's operation.
Good luck,
Pete
--
Openstrike - improving business through open source
http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107