Re: FAQ 3.19 How can I make my CGI script more efficient?
- From: Gunnar Hjalmarsson <noreply@xxxxxxxxx>
- Date: Mon, 07 Nov 2005 00:31:57 +0100
Purl Gurl wrote:
I have a perl script located here,
c:/my/path/to/users/callgirl/roberta/roberta.cgi
My roberta software produces html, src links to graphics, and employs a good number of databases and adjuncts.
My script alias for mod_perl is, in part,
ScriptAlias /perl-bin/ "perl-bin/" <Location /perl-bin>
What directive would you, personally, add to my httpd.conf file to run roberta.cgi via mod_perl?
Somehow I got the impression that you had studied the mod_perl docs. Anyway, I'm not Brian, but I'd try something along these lines (note: 'Alias' instead of 'ScriptAlias'):
Alias /perl-bin/ "c:/my/path/to/users/callgirl/roberta"
PerlRequire "c:/my/path/to/startup.pl"
<Location /perl-bin>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
</Location>Given that, then call the script as
http://my.domain.com/perl-bin/roberta.cgi
-- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl .
- Follow-Ups:
- Re: FAQ 3.19 How can I make my CGI script more efficient?
- From: Gunnar Hjalmarsson
- Re: FAQ 3.19 How can I make my CGI script more efficient?
- References:
- FAQ 3.19 How can I make my CGI script more efficient?
- From: PerlFAQ Server
- Re: FAQ 3.19 How can I make my CGI script more efficient?
- From: Matt Garrish
- Re: FAQ 3.19 How can I make my CGI script more efficient?
- From: Brian Wakem
- FAQ 3.19 How can I make my CGI script more efficient?
- Prev by Date: FAQ 8.2 How come exec() doesn't return?
- Next by Date: Re: FAQ 3.19 How can I make my CGI script more efficient?
- Previous by thread: Re: FAQ 3.19 How can I make my CGI script more efficient?
- Next by thread: Re: FAQ 3.19 How can I make my CGI script more efficient?
- Index(es):
Relevant Pages
|