Chris, (Alex),

On Thursday, April 11, 2002, at 09:05  AM, Chris Devers wrote:
>
> It's only a partial remedy, but are your mod_perl related config 
> statments
> wrapped in an appropriate <if...> block?
>
>     <IfModule mod_perl.c>
>         PerlSendHeader On
>         PerlHandler Apache::Registry
>         AddHandler perl-script .mpl
>     </IfModule>
>

see my httpd.conf below...

> Etc. That might help to compartmentalize the errors. If you have
> continuing errors though, you might want to look over the archives of --
> and maybe sign up for -- the mod_perl list. Chances are this is a 
> general
> mod_perl issue, as opposed to a specific MacOSX issue. See 
> lists.perl.org
>

if it is a general mod_perl issue then it should be happening to, and be 
well documented for, a lot of other users. I have done some bg search on 
this, and not found anyone else experiencing the same symptoms. That is, 
until Alex wrote in his email.

I have started experiencing these problems on my iBook ever since I 
upgraded Perl to 5.6.1. On my Powerbook, where Perl is still at 5.6.0, 
there is no such problem at all.

I don't know the reason, but having none, I am grasping at straws. And I 
have pulled out a straw that is very similar to the one Alex has pulled 
out as well. I am at a point now where I really don't care why this is 
happening (well, I do, but I am really tired of this...). So, my hope is 
that if I go back to Perl 5.6.0, hopefully the Perl/Apache/mod_perl 
combo will start working again.

Maybe there should be a Perl-triad, analogous to the PHP-Apache-MySQL 
triad that has become so popular. One install, and boom! you get a 
web-server, a scripting language, and a database all configured to talk 
with each other without a problem.

fwiw,

below are the perl-specific fragments from my httpd.conf

========= begin httpd.conf ========
##
## httpd.conf -- Apache HTTP server configuration file
##

### Section 1: Global Environment
#
# Dynamic Shared Object (DSO) Support
LoadModule config_log_module  libexec/httpd/mod_log_config.so
LoadModule mime_module        libexec/httpd/mod_mime.so
LoadModule negotiation_module libexec/httpd/mod_negotiation.so
LoadModule includes_module    libexec/httpd/mod_include.so
LoadModule autoindex_module   libexec/httpd/mod_autoindex.so
LoadModule dir_module         libexec/httpd/mod_dir.so
LoadModule cgi_module         libexec/httpd/mod_cgi.so
LoadModule asis_module        libexec/httpd/mod_asis.so
LoadModule imap_module        libexec/httpd/mod_imap.so
LoadModule action_module      libexec/httpd/mod_actions.so
LoadModule userdir_module     libexec/httpd/mod_userdir.so
LoadModule alias_module       libexec/httpd/mod_alias.so
LoadModule rewrite_module     libexec/httpd/mod_rewrite.so
LoadModule access_module      libexec/httpd/mod_access.so
LoadModule auth_module        libexec/httpd/mod_auth.so
LoadModule setenvif_module    libexec/httpd/mod_setenvif.so
#LoadModule perl_module        libexec/httpd/libperl.so
LoadModule hfs_apple_module   libexec/httpd/mod_hfs_apple.so

ClearModuleList
AddModule mod_so.c
AddModule mod_log_config.c
AddModule mod_mime.c
AddModule mod_negotiation.c
AddModule mod_include.c
AddModule mod_autoindex.c
AddModule mod_dir.c
AddModule mod_cgi.c
AddModule mod_asis.c
AddModule mod_imap.c
AddModule mod_actions.c
AddModule mod_userdir.c
AddModule mod_alias.c
AddModule mod_rewrite.c
AddModule mod_access.c
AddModule mod_auth.c
AddModule mod_setenvif.c
#AddModule mod_perl.c
AddModule mod_hfs_apple.c


##### begin: added by pk, Feb 15, 2002 #######
<IfModule mod_perl.c>
   Perlrequire /Library/WebServer/Documents/startup.pl
</IfModule>
##### end: added by pk, Feb 15, 2002 #######

##### begin: added by pk, Jan 28, 2002 #######
<IfModule mod_perl.c>
<Files *.pl>
    SetHandler perl-script
    PerlHandler Apache::Registry
    PerlSendHeader On
    Options +ExecCGI
</Files>
</IfModule>
##### end: added by pk, Jan 28, 2002 ########


###### begin: added by pk, Jan 28, 2002 ########
<IfModule mod_perl.c>
<Location /perl-status>
    SetHandler perl-script
    PerlHandler Apache::Status
    order deny,allow
    deny from all
    allow from localhost
</Location>
</IfModule>
###### end: added by pk, Jan 28, 2002 ########

# include user-specific conf files (added by pk, Mar 18, 2002)
<Directory "/Users/pkishor/Sites/">
     Options Indexes MultiViews +ExecCGI
     AllowOverride None
     Order allow,deny
     Allow from all
</Directory>
========= end httpd.conf ==========

Reply via email to