httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chad Arimura" <news-apa...@alldorm.com>
Subject [users@httpd] mod_perl2/apache2 trouble
Date Fri, 14 May 2004 17:17:27 GMT

I am trying to get mod_perl2 and apache2 to work together, but don't quite
grasp how everything fits together.

I read somewhere that when I output the environment variables on a correctly
setup server, the GATEWAY_INTERFACE would be CGI-PERL something, and not
CGI/1.1 like mine is showing.

Here is my httpd setup:

LoadModule perl_module modules/mod_perl.so
PerlModule Apache2
PerlModule Apache::SessionManager
PerlModule ModPerl::Registry
PerlTransHandler Apache::SessionManager
PerlRequire "/usr/apache2/perl/startup.pl"

<Directory "/var/www/example.com">
	SetHandler modperl
	SetHandler perl-script
	PerlHandler ModPerl::Registry
	PerlOptions +ParseHeaders
	
    Options FollowSymLinks ExecCGI
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>


Environment Variables (abridged) from a see-env.pl script:

SERVER_SOFTWARE   Apache/2.0.47 (Unix) mod_perl/1.99_13 Perl/v5.8.0
REMOTE_PORT   43133
GATEWAY_INTERFACE   CGI/1.1
MOD_PERL   mod_perl/1.99_13


Does this look correct?

Thanks in advance,
Chad Arimura


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message