Re: Running gitweb under mod_perl
- From
Randal L. Schwartz <merlyn@stonehenge.com>
- Date
- Aug 25, 2006, 01:13 UTC
- Message-ID
- <86lkpdobwd.fsf@blue.stonehenge.com>
- In-Reply-To
- <ecl3v4$s14$1@sea.gmane.org>
>>>>> "Jakub" == Jakub Narebski <jnareb@gmail.com> writes:
Jakub> Is there any way to check at _runtime_ if script is run under mod_perl, Jakub> or would it be simplier (after script reorganization) for install time Jakub> selection of using CGI, FastCGI, or Apache2::something...?
Yeah, look at the first few dozen lines of CGI.pm - it has to do different things based on whether it's being run under mod_perl.
-- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!