ok, here was my test...

[geoff@mainsheet apache]$ diff -u conf/httpd.conf.default conf/httpd.conf
--- conf/httpd.conf.default     Wed Nov 21 02:00:16 2001
+++ conf/httpd.conf     Wed Nov 21 11:59:35 2001
@@ -38,6 +38,8 @@
 # server as "/usr/local/apache/logs/foo.log".
 #
 
+PerlModule My::Foo
+
 ### Section 1: Global Environment
 #
 # The directives in this section affect the overall operation of Apache,
@@ -248,7 +250,7 @@
 #  don't use Group "#-1" on these systems!
 #
 User nobody
-Group "#-1"
+Group nobody
 
 #
 # ServerAdmin: Your address, where problems with the server should be
[geoff@mainsheet apache]$ cat lib/perl/My/Foo.pm 
package My::Foo;
open my $fh, '>>/tmp/test';
print $fh scalar localtime, "\n";
1;
[geoff@mainsheet apache]$ cat /tmp/test
[geoff@mainsheet apache]$ ./bin/apachectl start
./bin/apachectl start: httpd started
[geoff@mainsheet apache]$ cat /tmp/test
Wed Nov 21 12:01:06 2001
[geoff@mainsheet apache]$ ./bin/apachectl restart
./bin/apachectl restart: httpd restarted
[geoff@mainsheet apache]$ cat /tmp/test
Wed Nov 21 12:01:06 2001
Wed Nov 21 12:01:17 2001



that's not what we should be seeing, right?

--Geoff

[geoff@mainsheet apache]$ HEAD http://mainsheet.laserlink.net:8080
200 OK
Connection: close
Date: Wed, 21 Nov 2001 17:04:08 GMT
Accept-Ranges: bytes
Server: Apache/1.3.23-dev (Unix) mod_perl/1.26_01-dev
Content-Length: 413
Content-Type: text/html
ETag: "6b82a-19d-3bdd9d6c"
Last-Modified: Mon, 29 Oct 2001 18:18:20 GMT
Client-Date: Wed, 21 Nov 2001 17:04:08 GMT
Client-Peer: 10.5.6.32:8080

Reply via email to