[rt-users] Resolved: Just installed and script isn't being executed... HTML::Mason problerm

darren chamberlain darren at boston.com
Fri Dec 13 13:02:26 EST 2002


* Mike Carroll <mcarroll at permeo.com> [2002-12-13 12:53]:
> <VirtualHost rt>
>   DocumentRoot /opt/rt2/WebRT/html
>   ServerName rt.syl.dl.nec.com
>   PerlModule Apache::DBI
>   Alias /rt2 /opt/rt2/WebRT/html

This is a little curious -- you have /rt2 pointing to the same thing as
/.  You shouldn't need the Alias line.

>   PerlRequire /opt/rt2/bin/webmux.pl
> 
>   <Location /rt2>
>     SetHandler perl-script
>     PerlHandler RT::Mason
>   </Location>
> 
>   <FilesMatch "*.html">
>     SetHandler perl-script
>     PerlHandler RT::Mason
>   </FilesMatch>

You shouldn't both of these, unless you want .html files outside of /rt2
to be handled by RT.

Also, the FilesMatch will cause problems; you should only use the
Locatiion with HTML::Mason, because you cannot POST to files (as you
report in the other mail you sent).

>   <Location /perl-status>
>     SetHandler perl-script
>     PerlHandler Apache::Status
>   </Location>
> 
> </VirtualHost>

(darren)

-- 
Laziness is often mistaken for patience.



More information about the rt-users mailing list