Just installed and script isn't being executed

Hi gang,

I finally got rt installed with all necessary dependencies… I had to
do it about 3 or 4 times but I have been able to load all the apache
modules and was able to bring up the httpd daemon without errors…

I’m using mod_perl and Apache’s virtual hosts and Mason::HTML…

Anyway, when I go to the index.html page for RT, I only get the script
code to display in my browser…

I know this description is pretty vague, but it’s about all I know to
give you. I’ll be happy to elaborate about specifics, but don’t know
what you could want.

Thanks in advance,

Mike

Mike Carroll
System Administrator
Permeo Technologies Inc.

(214) 262-4620
mcarroll@permeo.com

6535 North State Highway 161
Irving, TX 75039

Is there supposed to be a LoadModule command in the httpd.conf

something like:

LoadModule HTML::Mason

The only place in my file where I try to call it is under my Virtual
host section…

<VirtualHost 143.101.64.178>
DocumentRoot /opt/rt2/WebRT/html
ServerName rt.syl.dl.nec.com
PerlModule Apache::DBI
Alias /rt2 /usr/local/rt2/WebRT/html
PerlRequire /opt/rt2/bin/webmux.pl
<Location /rt2>
SetHandler perl-script
PerlHandler RT::Mason

I just tried recompiling everything including Mason and get the same
results…

Thanks for your help

Ron Gidron wrote:

From - Thu Dec 12 11:17:33 2002
X-UIDL: 3df8c31f00000001
X-Mozilla-Status: 0011
X-Mozilla-Status2: 00000000
Received: from lupus.dl.necus.net (mailer.nec.com [143.101.113.4])
by shredder.syl.dl.nec.com (8.9.3/8.9.3) with ESMTP id LAA25347
for mcarroll@permeo.com; Thu, 12 Dec 2002 11:08:24 -0600 (CST)
Received: from antlia.dl.necus.net ([172.24.20.60])
by lupus.dl.necus.net (8.12.6/8.12.6) with ESMTP id gBCH5Nax004407
for mcarroll@permeo.com; Thu, 12 Dec 2002 11:05:23 -0600 (CST)
Received: from qube.shunra.com ([67.40.199.227])
by antlia.dl.necus.net (8.12.6/8.12.6) with ESMTP id gBCGRV38004954
for mcarroll@permeo.com; Thu, 12 Dec 2002 10:27:31 -0600 (CST)
Received: from shunra.com (bzq-219-173-11.dsl.bezeqint.net [62.219.173.11])
(authenticated)
by qube.shunra.com (8.10.2/8.10.2) with ESMTP id gBCH4TO16035
for mcarroll@permeo.com; Thu, 12 Dec 2002 12:04:29 -0500
Message-ID: 3DF8C265.8040207@shunra.com
Date: Thu, 12 Dec 2002 19:07:49 +0200
From: Ron Gidron ron@shunra.com
Reply-To: ron.gidron@shunra.com
Organization: SHUNRA Software Ltd.
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130
X-Accept-Language: en-us, en, he
MIME-Version: 1.0
To: Mike Carroll mcarroll@permeo.com
Subject: Re: [rt-users] Just installed and script isn’t being executed…
References: 3DF8C2E0.8080409@permeo.com
In-Reply-To: 3DF8C2E0.8080409@permeo.com
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Length: 861
Status: O
X-Status:
X-Keywords:
X-UID: 4332

MIke,

sounds like Apache is not using Mason.
make sure you have Apache::DBI installed.
and check over config.pm

Mike Carroll wrote:

Hi gang,

I finally got rt installed with all necessary dependencies… I had to
do it about 3 or 4 times but I have been able to load all the apache
modules and was able to bring up the httpd daemon without errors…

I’m using mod_perl and Apache’s virtual hosts and Mason::HTML…

Anyway, when I go to the index.html page for RT, I only get the script
code to display in my browser…

I know this description is pretty vague, but it’s about all I know to
give you. I’ll be happy to elaborate about specifics, but don’t know
what you could want.

Thanks in advance,

Mike

Mike Carroll
System Administrator
Permeo Technologies Inc.

(214) 262-4620
mcarroll@permeo.com

6535 North State Highway 161
Irving, TX 75039

Mike Carroll wrote:

<VirtualHost 143.101.64.178>
DocumentRoot /opt/rt2/WebRT/html
ServerName rt.syl.dl.nec.com
PerlModule Apache::DBI
Alias /rt2 /usr/local/rt2/WebRT/html
PerlRequire /opt/rt2/bin/webmux.pl
<Location /rt2>
SetHandler perl-script
PerlHandler RT::Mason

Where’s your RT installation? /opt/rt2 or /usr/local/rt2?
At least one of your paths above is bogus.
Phil Homewood, Systems Janitor, www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances