in reply to Web framework under both mod_perl and CGI
Here is a post that should help you take it for a test drive http //forum.swarthmore.edu/epigone/mason/ gimpswumfrex/Pine.SOL.3.96.990917144751.17640B-100000@simpukka
Essentially this method runs all mason requests through a cgi script that calls the mason files for you. It allows you to maintain a single code base that will run under both mod_perl and CGI. Although you'll have to forgo certain fancy mod_perl only features, (like overriding the authentication phase with your own custom perl module, or dynamically configuring apache depending on which machine it is running using perl tags) this shouldn't be an issue if you start in a CGI environment. (a site built on mod_perl first might have difficulty switching back to CGI, if it used these "fancy" features)
You'll also probably have to customize httpd.conf a bit for this to work. If that isn't an option, I'm not sure if this solution will work for you.
-Blake
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Web framework under both mod_perl and CGI
by marvi (Sexton) on Aug 06, 2001 at 03:19 UTC |