|go ahead... be a heretic
mod_perl without separate config for static HTML?by gunzip (Pilgrim)
|on Oct 26, 2004 at 13:07 UTC
gunzip has asked for the wisdom of the Perl Monks concerning the following question:
It seems to me that Perl CGI scripts, these days, need to be run under mod_perl to match the performance of similar scripts written in, say, PHP. So, put the scripts under Apache::Registry. Fine so far. However, if the site has plenty of static pages I believe mod_perl also ends-up handling the static content unless configured to do otherwise (multiple servers/ports/IP addresses). Am I correct? Is there any way round this? If not I'll probably have to go with PHP for our current project because there are limits to how much we can play around with the server. Any suggestions? Does mod_php also handle static content in the same way?