convert cgi to mod_perl

A

Alex Shi

Hi,

I have made my Apache work correctly with mod_perl and created
a deploy directory for it. It was tested OK. Also I have some old perl
cgi scripts and want to convert them to mod_perl. Can I just do it by
moving those scripts to the deploy dirtory and removing the shibang
line from the old scripts? Thanks in advance!

Alex Shi
 
E

Eric Schwartz

Alex Shi said:
I have made my Apache work correctly with mod_perl and created
a deploy directory for it. It was tested OK. Also I have some old perl
cgi scripts and want to convert them to mod_perl. Can I just do it by
moving those scripts to the deploy dirtory and removing the shibang
line from the old scripts? Thanks in advance!

Did you read the documentation for mod_perl? Everything you're
looking for is there already. Check out <URL:http://apache.perl.org/docs/>.
In your case, you want the "CGI to mod_perl Porting" page at
<URL:http://apache.perl.org/docs/1.0/guide/porting.html>.

-=Eric
 
M

Matt Garrish

Alex Shi said:
Can I just do it by
moving those scripts to the deploy dirtory and removing the shibang
line from the old scripts?

Freudian slip, or are you just maniacally egotistical? : )

Matt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top