Whatever I built came out as ModPerl::Registry. If I configure as Apache::Registry, httpd fails to start - can't locate Apache::Registry in @INC. It is not present on machine.
However using mod_perl_test.pl, it shows a counter incrementing. So modperl must be handleing the requests right? It is just that the GATEWAY_INTERFACE variable is incorrect. A different browser gets its own counter. That is too cool, sessions!
Code:
use vars qw($count);
print "Content-type: text/html\n\n";
print "<b>Mod_perl test script</b><br><br>\n";
$count++;
print "The following count will start at 1 and will increment by 1 on each refresh \n";
print "(If this was a non-mod_perl script, the counter would always be 1).<br>\n";
print "count = $count\n<br><br>";
This conf seems to be working except for the Gateway var
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.