You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "(대학원생) 양성현 (컴퓨터공학과)" <su...@unist.ac.kr> on 2023/09/10 09:28:05 UTC

[users@httpd] Inquiry about apache httpd compile option

Hello,

First of all, thank you for reading this mail.

I send an email to this address to ask three questions about apache httpd compilation.

First, I am curious whether it is possible to know the compile option by only using httpd binary file.
I tried to compare the compile options between Bitnami and Drupal which are the containers using apache httpd server.
I could find the compile option of Bitnami from config.nice file in Bitnami's container.
However, I could not see any information of Drupal's compile option in Drupal's container.

So, I am curious whether it is possible to find the compile option of apache httpd by only using httpd binary file or apache2 binary file.


Second, does configure option(e.g., --enable-ssl --enable-so) which is used to build the apache httpd affect the httpd binary file?
I think that if the configure option is different, the httpd binary file is also different.
However, when I compiled the httpd program with two options (one command is "./configure" and the other is "./configure --enable-ssl --enable-so") and llvm, I could get the same bitcode files from two different options.

So, I am curious whether the configure option affects building apache httpd. If it does not affect, I also want to know whether apache httpd only uses same httpd binary file and supports some functions by only using configuration file (e.g, httpd.conf).


Lastly, may I know the compile option of httpd or apache2 which they can be installed using commands (e.g, apt install apache2)?


I am not sure whether asking these questions to this mail is right. If it is not right, may I know where should I ask about these questions?


I appreciate you for reading this email.

I look forward to hearing from you.

Sincerely,


Re: [users@httpd] Inquiry about apache httpd compile option

Posted by Daniel Ferradal <df...@apache.org>.
El mié, 20 sept 2023 a las 9:03, (대학원생) 양성현 (컴퓨터공학과) (<su...@unist.ac.kr>)
escribió:

> I appreciate you for your response.
>
> I understand that some ./configure flags can affect the httpd executable.
>
> May I know some examples which ./configure flag affects the httpd
> executable?
> ------------------------------
> *보낸 사람:* Eric Covener <co...@gmail.com>
> *보낸 날짜:* 2023년 9월 19일 화요일 오전 1:39
> *받는 사람:* users@httpd.apache.org <us...@httpd.apache.org>
> *제목:* Re: [users@httpd] Inquiry about apache httpd compile option
>
> > Does apache httpd binary depend on the compile options?
>
> It may, but a change to a ./configure flag will not necessarily affect
> the httpd executable.
>
>
>
What you need to understand is that httpd is quite modular and most
configure options (just run ./configure --help to see the available
options) will probably just impact the modules that end up being compiled
along with httpd.

So check the output of ./configure --help and test different options
according to your needs and test in a non system path (at least at first
until you get to know what you are doing), that is:

 ./configure --prefix=/home/your-user/httpd-test ......

-- 
Daniel Ferradal
HTTPD Project
#httpd help at Libera.Chat

Re: [users@httpd] Inquiry about apache httpd compile option

Posted by Eric Covener <co...@gmail.com>.
Adding any module statically is an example, as is setting many flags
that shows up in `grep AC_DEFINE configure.in` to a non-default value,
such as --enable-v4-mapped or installation paths.
--enable-maintainer-mode is another example that drastically changes
compile flags.


On Wed, Sep 20, 2023 at 2:27 AM (대학원생) 양성현 (컴퓨터공학과)
<su...@unist.ac.kr> wrote:
>
> I appreciate you for your response.
>
> I understand that some ./configure flags can affect the httpd executable.
>
> May I know some examples which ./configure flag affects the httpd executable?
> ________________________________
> 보낸 사람: Eric Covener <co...@gmail.com>
> 보낸 날짜: 2023년 9월 19일 화요일 오전 1:39
> 받는 사람: users@httpd.apache.org <us...@httpd.apache.org>
> 제목: Re: [users@httpd] Inquiry about apache httpd compile option
>
> > Does apache httpd binary depend on the compile options?
>
> It may, but a change to a ./configure flag will not necessarily affect
> the httpd executable.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Inquiry about apache httpd compile option

Posted by "(대학원생) 양성현 (컴퓨터공학과)" <su...@unist.ac.kr>.
I appreciate you for your response.

I understand that some ./configure flags can affect the httpd executable.

May I know some examples which ./configure flag affects the httpd executable?
________________________________
보낸 사람: Eric Covener <co...@gmail.com>
보낸 날짜: 2023년 9월 19일 화요일 오전 1:39
받는 사람: users@httpd.apache.org <us...@httpd.apache.org>
제목: Re: [users@httpd] Inquiry about apache httpd compile option

> Does apache httpd binary depend on the compile options?

It may, but a change to a ./configure flag will not necessarily affect
the httpd executable.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Inquiry about apache httpd compile option

Posted by Eric Covener <co...@gmail.com>.
> Does apache httpd binary depend on the compile options?

It may, but a change to a ./configure flag will not necessarily affect
the httpd executable.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Inquiry about apache httpd compile option

Posted by "(대학원생) 양성현 (컴퓨터공학과)" <su...@unist.ac.kr>.
I appreciate you for your response.

I compared two cases.( Apache httpd version is 2.4.56.)

A: httpd binary file created using  command "./configure"

B: httpd binary file created using command "./configure --enable-ssl --enable-so"


I used the command "ldd httpd". However, I cannot find any difference in these cases.

I can check that these binaries use the same shared libraries.

Does apache httpd binary depend on the compile options?
________________________________
보낸 사람: Frank Gingras <th...@apache.org>
보낸 날짜: 2023년 9월 18일 월요일 오후 8:44
받는 사람: users@httpd.apache.org <us...@httpd.apache.org>
제목: Re: [users@httpd] Inquiry about apache httpd compile option

Take a look at the ldd output instead.

On Mon., Sep. 18, 2023, 6:40 a.m. (대학원생) 양성현 (컴퓨터공학과), <su...@unist.ac.kr>> wrote:
I appreciate you for your response.

I think some different build commands can make different binary files.

For example, I think that command "./configure" and command "./configure --enable-so --enable-ssl" can make each binary file which has different functionality.

However, when I see these binary files' bitcode files(e.g., httpd.bc), I can not find their difference.

So, I want to know whether apache httpd always supports same binary file(named httpd) regardless of compile options and whether configuration options of apache httpd are always determined by configuration files(e.g., httpd.conf).
________________________________
보낸 사람: Frank Gingras <th...@apache.org>>
보낸 날짜: 2023년 9월 16일 토요일 오전 3:20
받는 사람: users@httpd.apache.org<ma...@httpd.apache.org> <us...@httpd.apache.org>>
제목: Re: [users@httpd] Inquiry about apache httpd compile option

What is the problem you are trying to solve here with those compile options?

On Sun, Sep 10, 2023 at 5:28 AM (대학원생) 양성현 (컴퓨터공학과) <su...@unist.ac.kr>> wrote:
Hello,

First of all, thank you for reading this mail.

I send an email to this address to ask three questions about apache httpd compilation.

First, I am curious whether it is possible to know the compile option by only using httpd binary file.
I tried to compare the compile options between Bitnami and Drupal which are the containers using apache httpd server.
I could find the compile option of Bitnami from config.nice file in Bitnami's container.
However, I could not see any information of Drupal's compile option in Drupal's container.

So, I am curious whether it is possible to find the compile option of apache httpd by only using httpd binary file or apache2 binary file.


Second, does configure option(e.g., --enable-ssl --enable-so) which is used to build the apache httpd affect the httpd binary file?
I think that if the configure option is different, the httpd binary file is also different.
However, when I compiled the httpd program with two options (one command is "./configure" and the other is "./configure --enable-ssl --enable-so") and llvm, I could get the same bitcode files from two different options.

So, I am curious whether the configure option affects building apache httpd. If it does not affect, I also want to know whether apache httpd only uses same httpd binary file and supports some functions by only using configuration file (e.g, httpd.conf).


Lastly, may I know the compile option of httpd or apache2 which they can be installed using commands (e.g, apt install apache2)?


I am not sure whether asking these questions to this mail is right. If it is not right, may I know where should I ask about these questions?


I appreciate you for reading this email.

I look forward to hearing from you.

Sincerely,


Re: [users@httpd] Inquiry about apache httpd compile option

Posted by Frank Gingras <th...@apache.org>.
Take a look at the ldd output instead.

On Mon., Sep. 18, 2023, 6:40 a.m. (대학원생) 양성현 (컴퓨터공학과), <su...@unist.ac.kr>
wrote:

> I appreciate you for your response.
>
> I think some different build commands can make different binary files.
>
> For example, I think that command "./configure" and command "./configure
> --enable-so --enable-ssl" can make each binary file which has different
> functionality.
>
> However, when I see these binary files' bitcode files(e.g., httpd.bc), I
> can not find their difference.
>
> So, I want to know whether apache httpd always supports same binary
> file(named httpd) regardless of compile options and whether configuration
> options of apache httpd are always determined by configuration files(e.g.,
> httpd.conf).
> ------------------------------
> *보낸 사람:* Frank Gingras <th...@apache.org>
> *보낸 날짜:* 2023년 9월 16일 토요일 오전 3:20
> *받는 사람:* users@httpd.apache.org <us...@httpd.apache.org>
> *제목:* Re: [users@httpd] Inquiry about apache httpd compile option
>
> What is the problem you are trying to solve here with those compile
> options?
>
> On Sun, Sep 10, 2023 at 5:28 AM (대학원생) 양성현 (컴퓨터공학과) <su...@unist.ac.kr>
> wrote:
>
> Hello,
>
> First of all, thank you for reading this mail.
>
> I send an email to this address to ask three questions about apache httpd
> compilation.
>
> First, I am curious whether it is possible to know the compile option by
> only using httpd binary file.
> I tried to compare the compile options between Bitnami and Drupal which
> are the containers using apache httpd server.
> I could find the compile option of Bitnami from config.nice file in
> Bitnami's container.
> However, I could not see any information of Drupal's compile option in
> Drupal's container.
>
> So, I am curious whether it is possible to find the compile option of
> apache httpd by only using httpd binary file or apache2 binary file.
>
>
> Second, does configure option(e.g., --enable-ssl --enable-so) which is
> used to build the apache httpd affect the httpd binary file?
> I think that if the configure option is different, the httpd binary file
> is also different.
> However, when I compiled the httpd program with two options (one command
> is "./configure" and the other is "./configure --enable-ssl --enable-so")
> and llvm, I could get the same bitcode files from two different options.
>
> So, I am curious whether the configure option affects building apache
> httpd. If it does not affect, I also want to know whether apache httpd only
> uses same httpd binary file and supports some functions by only using
> configuration file (e.g, httpd.conf).
>
>
> Lastly, may I know the compile option of httpd or apache2 which they can
> be installed using commands (e.g, apt install apache2)?
>
>
> I am not sure whether asking these questions to this mail is right. If it
> is not right, may I know where should I ask about these questions?
>
>
> I appreciate you for reading this email.
>
> I look forward to hearing from you.
>
> Sincerely,
>
>

Re: [users@httpd] Inquiry about apache httpd compile option

Posted by "(대학원생) 양성현 (컴퓨터공학과)" <su...@unist.ac.kr>.
I appreciate you for your response.

I think some different build commands can make different binary files.

For example, I think that command "./configure" and command "./configure --enable-so --enable-ssl" can make each binary file which has different functionality.

However, when I see these binary files' bitcode files(e.g., httpd.bc), I can not find their difference.

So, I want to know whether apache httpd always supports same binary file(named httpd) regardless of compile options and whether configuration options of apache httpd are always determined by configuration files(e.g., httpd.conf).
________________________________
보낸 사람: Frank Gingras <th...@apache.org>
보낸 날짜: 2023년 9월 16일 토요일 오전 3:20
받는 사람: users@httpd.apache.org <us...@httpd.apache.org>
제목: Re: [users@httpd] Inquiry about apache httpd compile option

What is the problem you are trying to solve here with those compile options?

On Sun, Sep 10, 2023 at 5:28 AM (대학원생) 양성현 (컴퓨터공학과) <su...@unist.ac.kr>> wrote:
Hello,

First of all, thank you for reading this mail.

I send an email to this address to ask three questions about apache httpd compilation.

First, I am curious whether it is possible to know the compile option by only using httpd binary file.
I tried to compare the compile options between Bitnami and Drupal which are the containers using apache httpd server.
I could find the compile option of Bitnami from config.nice file in Bitnami's container.
However, I could not see any information of Drupal's compile option in Drupal's container.

So, I am curious whether it is possible to find the compile option of apache httpd by only using httpd binary file or apache2 binary file.


Second, does configure option(e.g., --enable-ssl --enable-so) which is used to build the apache httpd affect the httpd binary file?
I think that if the configure option is different, the httpd binary file is also different.
However, when I compiled the httpd program with two options (one command is "./configure" and the other is "./configure --enable-ssl --enable-so") and llvm, I could get the same bitcode files from two different options.

So, I am curious whether the configure option affects building apache httpd. If it does not affect, I also want to know whether apache httpd only uses same httpd binary file and supports some functions by only using configuration file (e.g, httpd.conf).


Lastly, may I know the compile option of httpd or apache2 which they can be installed using commands (e.g, apt install apache2)?


I am not sure whether asking these questions to this mail is right. If it is not right, may I know where should I ask about these questions?


I appreciate you for reading this email.

I look forward to hearing from you.

Sincerely,


Re: [users@httpd] Inquiry about apache httpd compile option

Posted by Frank Gingras <th...@apache.org>.
What is the problem you are trying to solve here with those compile options?

On Sun, Sep 10, 2023 at 5:28 AM (대학원생) 양성현 (컴퓨터공학과) <su...@unist.ac.kr>
wrote:

> Hello,
>
> First of all, thank you for reading this mail.
>
> I send an email to this address to ask three questions about apache httpd
> compilation.
>
> First, I am curious whether it is possible to know the compile option by
> only using httpd binary file.
> I tried to compare the compile options between Bitnami and Drupal which
> are the containers using apache httpd server.
> I could find the compile option of Bitnami from config.nice file in
> Bitnami's container.
> However, I could not see any information of Drupal's compile option in
> Drupal's container.
>
> So, I am curious whether it is possible to find the compile option of
> apache httpd by only using httpd binary file or apache2 binary file.
>
>
> Second, does configure option(e.g., --enable-ssl --enable-so) which is
> used to build the apache httpd affect the httpd binary file?
> I think that if the configure option is different, the httpd binary file
> is also different.
> However, when I compiled the httpd program with two options (one command
> is "./configure" and the other is "./configure --enable-ssl --enable-so")
> and llvm, I could get the same bitcode files from two different options.
>
> So, I am curious whether the configure option affects building apache
> httpd. If it does not affect, I also want to know whether apache httpd only
> uses same httpd binary file and supports some functions by only using
> configuration file (e.g, httpd.conf).
>
>
> Lastly, may I know the compile option of httpd or apache2 which they can
> be installed using commands (e.g, apt install apache2)?
>
>
> I am not sure whether asking these questions to this mail is right. If it
> is not right, may I know where should I ask about these questions?
>
>
> I appreciate you for reading this email.
>
> I look forward to hearing from you.
>
> Sincerely,
>
>