perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miroslav Madzarevic <m...@sezampro.yu>
Subject mixing cgi-bin & mod_perl
Date Thu, 20 Dec 2001 20:41:31 GMT
    The scenario:
There are two folders
/cgi-bin        with plain perl cgi
/mod-perl       with Apache::Registry scripts

The application is being moved from cgi to mod_perl (Apache::Registry) one
script at a time.
My friend has a strange idea.
He wants to mix cgi-bin & mod_perl by testing all of the scripts in
cgi-bin and putting one cgi-script at a time into mod-perl folder.
He wants to do this internaly in Apache, changing the request for
a particular script so for example when you reference /cgi-bin/
you actually end with /mod-perl/ He doesn't want to
change the <a href> code from html files to stop pointing at /cgi-bin.
By moving all of them one at a time all of the application will
eventually end up working under mod_perl.

How can he do that ?

He thought of using mod_proxy or mod_rewrite.
The scripts are badly written and have been developed for three years
so far by various perl "programmers".

View raw message