Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

mod_perl referenced twice

Quote Reply
mod_perl referenced twice
How would you reference two GT programs in Apache for mod_perl?

startup executes - Apache does not
=================================

PerlRequire /usr/home/fyba11/usr/local/etc/httpd/cgi-bin/startup.pl

#DBSql
<Location /cgi-bin/membersSQL>
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
PerlSendHeader On
</Location>


#GT Forum
<Location /cgi-bin/Forums2>
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
PerlSendHeader On
</Location>

===========

startup.pl (Works at prompt)

use lib '/usr/home/fyba11/usr/local/etc/httpd/cgi-bin/membersSQL/admin';
require Dbsql::mod_perl;

use lib '/usr/home/fyba11/usr/local/etc/httpd/cgi-bin/Forums2/admin';
require GForum::mod_perl;
Subject Author Views Date
Thread mod_perl referenced twice gatman 2151 Mar 11, 2003, 12:23 PM
Thread Re: [gatman] mod_perl referenced twice
Alex 2078 Mar 18, 2003, 2:13 AM
Post Re: [Alex] mod_perl referenced twice
gatman 2054 Mar 20, 2003, 5:28 AM