I have to admit that a lot of this stuff is a mistry.
Recap:
My configuration is: apache_1.3.12/mod_perl-1.24/Perl-5.6.0/linux-2.2.14.
(I have mod_perl linked statically.) with Apache::AutoIndex.pm loaded.

Doug, could you please explain what problem(s) your patch solved?

I applied the patch below to Apache-Icon-0.02\Icon.xs, but all the Apache
processes still die when I do "kill -HUP ###" on the Apache root PID.

I noticed that when the order of the httpd.conf following two directives is
(as you stated):
     PerlModule Apache::Icon
     PerlModule Apache::AutoIndex
"apachectl start" produces the same error_log entry as my "kill -HUP ###",
namely:

Syntax error on line 156 of /usr/local/apache/conf/httpd.conf:
Invalid command 'IndexOptions', perhaps mis-spelled or defined by a module
not included in the server configuration

However, with the order of the two directives reversed (as follows):
   PerlModule Apache::AutoIndex
   PerlModule Apache::Icon
The launch is just fine. [The SIGHUP still fail however:[

Recap:
My configuration is: apache_1.3.12/mod_perl-1.24/Perl-5.6.0/linux-2.2.14.
(I have mod_perl linked statically.)

I noticed that you are using development code with DSO.  Perhaps I am
missing some other patch that would alow it to work.  Is the stability of
DSO mod_perl improving?

I remember reading that when httpd is started, it runs the init twice in
order to verity that it can survive a SIGHUP.  If this is the case, why
would the SIGHUP fail?

 
At 10:04 AM 8/21/00 -0700, Doug MacEachern <[EMAIL PROTECTED]> wrote:
>with the patch below, Apache::Icon/Apache::AutoIndex works fine for me.
>running apache_1.3.13-dev, mod_perl-1.24_01-dev, perl-current (5.7.0-dev)
>mod_perl built with EVERYTHING=1, USE_DSO=1
>
>copy-n-pasted config from Apache::AutoIndex/README:
>      PerlModule Apache::Icon
>      PerlModule Apache::AutoIndex
>
>      PerlTransHandler Apache::AutoIndex::transhandler
>      PerlHandler Apache::AutoIndex
>
>kill -HUP works just fine too.
>
>--- Icon.xs     1999/01/18 19:21:46     1.1.1.1
>+++ Icon.xs     2000/08/21 16:50:04
>@@ -18,6 +18,12 @@
> 
> PROTOTYPES: DISABLE
> 
>+void
>+END()
>+
>+    CODE:
>+    ap_remove_module(&icon_module);
>+
> Apache::Icon
> new(class, r=default_r)
>     char *class
> 

Reply via email to