AW: [rt-users] Problems executing cgi under mod_perl

Joachim Ritschmann J.Ritschmann at tiscon.com
Thu Feb 5 11:52:27 EST 2004


Hi,
what about a name based virtual host?
(If you have the possibility to manage your DNS)
As I hadn't had the time for messing around with mod_perl and cgi
I just setup a virtual host and made CGI available there.
That worked fine.
___________________________________
Ritschi  =B-)

Lose your dreams and you will lose your mind
Rolling Stones - Ruby Tuesday

> -----Ursprüngliche Nachricht-----
> Von: David M Dennis [mailto:dmd at speakeasy.org]
> Gesendet: Donnerstag, 5. Februar 2004 17:34
> An: rt-users at lists.fsck.com
> Betreff: [rt-users] Problems executing cgi under mod_perl
> 
> 
> Dear RT,
> 
> While trying to use cgi scripts I've written I seem to have stumbled
> on a whole issue, hopefully someone can point me in right direction.
> 
> I have a perl cgi script that runs fine from command line.
> 
> When I put the cgi in /usr/lib/cgi-bin, which is referenced 
> by httpd.conf
> in the usual way, it instead of executing attempts to 
> download the script
> to my browser, which isn't a mime-type issue (I don't think?) because
> it works that way regardless of test browser, and other servers I have
> run cgi fine.
> 
> OK so thats not it.  But what is?  The apache I'm running is 1.3.29 on
> debian, loaded up with the list of modules RT requires.  So I 
> think that
> means mod_perl and a lot of others.
> 
> I am currently reading that
> (http://www.the-labs.com/ModPerl/ModPerl_Guide/porting.html) there are
> whole entire books on the subject of making cgi run under mod_perl .
> 
> Can someone help out with why my script won't seem to run on my server
> when other perl will, and when my script will run from command line?
> 
> Thanks!
> 
> 
> +-------------------------
> + Dave Dennis
> + Seattle, WA
> + dmd at speakeasy.org
> + http://www.dmdennis.com
> +-------------------------
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.bestpractical.com
> http://lists.bestpractical.com/mailman/listinfo/rt-users
> 
> Have you read the FAQ? The RT FAQ Manager lives at 
> http://fsck.com/rtfm
> 



More information about the rt-users mailing list