> -----Original Message----- > From: Mailing lists [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 24, 2002 11:12 AM > To: [EMAIL PROTECTED] > Subject: What the hell should i do w/mod perl! > > > Dear sirs; > maybe this question is too os-specific to be posted in this > ML, but i have no > further resource left! > Anyway, i am trying to install Apache w/mod_perl on a OpenBSD Box 3.1. > The matter is that apache works fine, mod_perl *says* it is > installed, but if > i try to run a CGI it tells me that there's a server misconfiguration. > To be more confused, i had got another problem. There is a > simple cgi deployed > with mod_perl that starts with the bang-path trick... well, > damnit... it works! > > Any suggestion?
Just because your web server is mod_perl enabled, that does NOT mean every request is automatically handled by mod_perl. You can run regular CGI scripts (handled by mod_cgi through "ScriptAlias" or "SetHandler cgi-script" directives) and these will run like, well, regular CGI scripts. They will not make any use of mod_perl whatsoever. After installing mod_perl, you need to edit your httpd.conf file and configure a directory or location to be handled by a mod_perl handler (typically Apache::Registry, but by no means is that the end of what you can do). Read 'perldoc Apache::Registry' carefully. Also, the mod_perl guide at <http://perl.apache.org/docs/1.0/guide/index.html> is invaluable. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
