On 2002.03.10, at 21:24, Bruce A. Burdick, Jr. wrote: > Anyone have any significant experiences with Fast CGI on OS X? Any > trouble > with mod_fastcgi? Any trouble with CGI::Fast? > > -B...
mod_perl works fine and comes with every single copy of MacOS X (Unless you choose not to install "BSD subsystems"). Just edit /etc/httpd/httpd.conf to load mod_perl. Sample diff to /etc/httpd/httpd.conf agains /etc/httpd/httpd.conf.prefix is right after my signature. Dan the Camel Addict % diff -u httpd.conf.prefix httpd.conf --- httpd.conf.prefix Sat Feb 17 12:33:37 2001 +++ httpd.conf Sun Mar 10 01:27:03 2002 @@ -237,6 +237,8 @@ LoadModule setenvif_module libexec/httpd/mod_setenvif.so #LoadModule dav_module libexec/httpd/libdav.so #LoadModule ssl_module libexec/httpd/libssl.so +LoadModule perl_module libexec/httpd/libperl.so + # Reconstruction of the complete module list from all available modules # (static and shared ones) to achieve correct module execution order. @@ -276,6 +278,7 @@ AddModule mod_setenvif.c #AddModule mod_dav.c #AddModule mod_ssl.c +AddModule mod_perl.c # # ExtendedStatus controls whether Apache will generate "full" status @@ -416,18 +419,24 @@ # Control access to UserDir "Sites" # for a site where these directories are restricted to read-only. # -#<Directory /home/*/public_html> -# AllowOverride FileInfo AuthConfig Limit -# Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec -# <Limit GET POST OPTIONS PROPFIND> -# Order allow,deny -# Allow from all -# </Limit> -# <LimitExcept GET POST OPTIONS PROPFIND> -# Order deny,allow -# Deny from all -# </LimitExcept> -#</Directory> +<Directory /Users/*/Sites> + AllowOverride FileInfo AuthConfig Limit + Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec ExecCGI + AddHandler cgi-script .cgi + <IfModule mod_perl.c> + PerlSendHeader On + PerlHandler Apache::Registry + AddHandler perl-script .pm + </IfModule> + <Limit GET POST OPTIONS PROPFIND> + Order allow,deny + Allow from all + </Limit> + <LimitExcept GET POST OPTIONS PROPFIND> + Order deny,allow + Deny from all + </LimitExcept> +</Directory> # # DirectoryIndex: Name of the file or files to use as a pre-written HTML @@ -1022,4 +1031,11 @@ # CustomLog logs/dummy-host.example.com-access_log common #</VirtualHost> -Include /private/etc/httpd/users +#Include /private/etc/httpd/users + +<IfModule mod_perl.c> +PerlModule Apache::Registry +PerlModule CGI +PerlTaintCheck On +PerlFreshRestart On +</IfModule>