[rt-users] "Ordinary" CGI-Scripts don't work after installing RT2

Josh Krikke krikke at macatawa.org
Thu Nov 1 13:13:52 EST 2001

This is more of an Apache and Mason question, but here you go:
1. You don't have a ScriptAlias in there for your cgi-bin
2. After you put that in, Mason will still try to handle all your requests.
I'd put a
<FilesMatch "*.html">
    SetHandler perl-script
    PerlHandler RT::Mason
instead of your <Location /> tags.  I've not had problems with that.
3. If that is your only IP, then once you put that VirtualHost in there,
directives in there will override everything else in your httpd.conf file.

See http://httpd.apache.org/docs for more information.

-Josh Krikke

-----Original Message-----
From: rt-users-admin at lists.fsck.com [mailto:rt-users-admin at lists.fsck.com]On
Behalf Of Alec Cormack
Sent: Thursday, November 01, 2001 12:50 AM
To: rt-users at lists.fsck.com
Subject: [rt-users] "Ordinary" CGI-Scripts don't work after installing RT2

I have installed RT2 and it is working very well.  But now I find that
ordinary perl scripts placed in my cgi-bin directory that worked before I
setup my virtual server for RT2 no longer run.  I thought that the directory
has probably just moved - but I cant see any obvious alternatives under my
/opt/rt2 path.  If I comment out the Virtual host settings for RT the server
foinds my scripts again.

Please can anyone suggest what I might have done wrong.  Extract from my
httpd.conf follows:

DocumentRoot /opt/rt2/WebRT/html

ServerName citypack.city.lnk
PerlModule Apache::DBI
PerlRequire /opt/rt2/bin/webmux.pl
<Location />
 SetHandler perl-script
 PerlHandler RT::Mason

Thanks in advance

Alec Cormack
email: Alec.cormack at city-link.co.uk

The information contained in this e-mail is intended only for the
individual to whom it is addressed. It may contain privileged and
confidential information. If you have received this message in
error or there are any problems, please notify the sender
immediately and delete the message from your computer. The
unauthorised use, disclosure, copying or alteration of this
message is forbidden. This message has been checked for all
known viruses by Initial City Link prior to sending.

More information about the rt-users mailing list