[rt-users] Re: this has got to be simple, but.......

Raymond Norton admin at lctn.org
Tue Aug 3 22:18:07 EDT 2004


----- Original Message ----- 
From: "seph" <seph at directionless.org>
To: "Raymond Norton" <admin at lctn.org>
Cc: <rt-users at lists.bestpractical.com>
Sent: Tuesday, August 03, 2004 9:15 PM
Subject: Re: this has got to be simple, but.......


> > <%init> if ( $ARGS{'q'} ) { my $query = $ARGS{'q'}; if ( $query =~
> > m/^\s*(\d+)\s*$/ ) {
> > $m->redirect("$RT::WebPath/Ticket/Display.html?id=$1"); }
> 
> That's not html, not even a little. That's unexecuted mason code. Your
> apache config is probably wrong. What is it?
> 
> seph

Do I need to include more of my config than this?




I followed the docs, and do have mod_perl 2 (1.99). What part of the docs
should I be looking at that would help me figure this out?

This is what I have in httpd.conf:

<VirtualHost *:80>
ServerName rt.domain.name
DocumentRoot /opt/rt3/share/html
AddDefaultCharset UTF-8
 # this line applies to Apache2+mod_perl2 only
PerlModule Apache2 Apache::compat

PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl

 <Location /> SetHandler perl-script
PerlHandler RT::Mason
</Location>
</VirtualHost>




More information about the rt-users mailing list