You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jun Kuriyama <ku...@imgsrc.co.jp> on 2000/08/17 03:56:40 UTC
mod_cgid.c does not respect ap_server_root to bind socket
I don't know this is expected behavior or not, but this is result in
my environment (cvs update'ed apache-2.0 on FreeBSD-current).
I configured httpd with "--with-maintainer-mode --with-debug
--enable-modules-most --with-mpm=mpmt_pthread
--prefix=/usr/local/apache". After building httpd, I invoked httpd
with "-f /tmp/a/conf/httpd.conf" which includes 'ServerRoot "/tmp/a"'
directive to use test environment tree in /tmp/a.
But unfortunately, mod_cgid.c refers /usr/local/apache/logs/cgisock
for binding unix domain socket. Because this binding is called in
ap_read_config() at httpd_main.c:376, but "ServerRoot" directive is
processed in ap_process_config_tree() at httpd_main.c:378.
Should this binding is processed at latter stage like open_logs()?
Current behavior prevents normal users to run on their directory...
--
Jun Kuriyama <ku...@imgsrc.co.jp> // IMG SRC, Inc.
<ku...@FreeBSD.org> // FreeBSD Project