kabeldag has asked for the wisdom of the Perl Monks concerning the following question:
Contents of the VirtualHost container:# Can load from vhosts container, but hey. LoadModule perl_module modules/mod_perl.so Include conf/extra/httpd-vhosts.conf
error_log logs after httpd startup:<VirtualHost something:80> PerlSetupEnv On ServerAdmin something #SuexecUserGroup something something DocumentRoot "/something/www/" ServerName something ServerSignature Off ErrorLog logs/something.error.log CustomLog logs/something.access.log common <Directory "/something/www/"> Order allow,deny Allow from all AllowOverride None Options Indexes FollowSymLinks </Directory> ScriptAlias /cgi-bin/ "/something/cgi-bin/" #Alias /cgi-bin/ /something/cgi-bin/ Alias /perl/ /something/perl/ <Location /perl/> SetHandler perl-script # PerlHandler Apache::Registry (module isn't available so this + is commented out) PerlHandler ModPerl::Registry #PerlSendHeader On order deny,allow deny from all Options +ExecCGI allow from x.x.x.x </Location> <Location /perl-status> PerlHandler Apache2::Status SetHandler perl-script Allow from x.x.x.x </Location> </VirtualHost>
Relative environment var output from "GET /perl-status/?env" :[Sun Jun 11 16:14:57 2006] [notice] suEXEC mechanism enabled (wrapper: + /something/something/something/bin/suexec) [Sun Jun 11 16:14:57 2006] [notice] Apache/2.2.2 (Unix) mod_perl/2.0.2 + Perl/v5.8.0 configured -- resuming normal operations
Embedded Perl version v5.8.0 for Apache/2.2.2 (Unix) mod_perl/2.0.2 Pe +rl/v5.8.0 process 7837, running since Sun Jun 11 15:44:49 2006 Under the "perl-script" handler, the environment is: GATEWAY_INTERFACE = CGI/1.1 MOD_PERL = mod_perl/2.0.2 MOD_PERL_API_VERSION = 2 REQUEST_URI = /perl-status/?env SCRIPT_FILENAME = /something/www/perl-status SCRIPT_NAME = /perl-status
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Is mod_perl handling requests, or not?
by derby (Abbot) on Jun 11, 2006 at 11:39 UTC | |
by kabeldag (Hermit) on Jun 11, 2006 at 12:56 UTC | |
by derby (Abbot) on Jun 11, 2006 at 14:57 UTC | |
by kabeldag (Hermit) on Jun 12, 2006 at 02:30 UTC |