httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxim Shaydulin <mshaydu...@gmail.com>
Subject [users@httpd] Obsolete httpd-std.conf in binbuild,sh?
Date Thu, 09 Mar 2017 11:40:39 GMT
Hi all,

I'm trying to build Apache httpd server 2.4.25 on Ubuntu 4.8.0.
The idea is to embed httpd server into own application and to be able
to install on target machine in any location in file system.
I found the tool $(root src)/build/binbuild.sh which should do exactly
what I want.
After I run binbuild.sh I get an archive
httpd-2.4.25-x86_64-unknown-linux-gnu.tar.gz.
Then I unpack it and run install-bindist.sh <target dir> which deploys httpd.

The only problem I see is the issue with httpd.conf file. After I run
install-bindist.sh, I see empty conf/httpd.conf file (and
conf/httpd-std.conf) in target directory!

I started to search what is wrong, and found that binbuild.sh raises
this error at the end:
-------------
[EOF]
Binary image successfully created...
Server version: Apache/2.4.25 (Unix)
Server built:   Mar  9 2017 08:24:50
Creating supplementary files...
sed: can't read bindist/conf/httpd-std.conf: No such file or directory
Creating distribution archive and readme file...
-------------

Inside binbuild.sh I see these lines:
-------------
chmod 755 install-bindist.sh

sed -e "s%$BUILD_DIR%$DEFAULT_DIR%" \
    -e "s%^ServerAdmin.*%ServerAdmin you@your.address%" \
    -e "s%#ServerName.*%#ServerName localhost%" \
    bindist/conf/httpd-std.conf > bindist/conf/httpd.conf
cp bindist/conf/httpd.conf bindist/conf/httpd-std.conf
-------------

However I can't find httpd-std.conf is sources.
As I can see in httpd source code (FishEye), this files was deleted
more than 10 years ago. As well as httpd-std.conf.in

Is this a bug in binbuild.sh/install-bindist.sh, or I missed something?

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


Mime
View raw message