[rt-users] Using RT w/ Perl::Mason on Cobalt with Virtual Host

Phil Homewood pdh at snapgear.com
Wed Aug 7 18:59:34 EDT 2002


Josh Kuperman wrote:
> below. Since I want to use my RT instalation I changed the document
> root to /home/opt/rt2/WebRT/html. If I specify the location block for
> the root, i.e. <Location />, then Mason complains that the component
> is outside of root. 

You need <Location /> -- Location refers to URL-space, not
filesystem-space.

> ErrorDocument 401 /error/401-authorization.html
> ErrorDocument 403 /error/403-forbidden.html
> ErrorDocument 404 /error/404-file-not-found.html
> ErrorDocument 500 /error/500-internal-server-error.html
> AliasMatch ^/~([^/]+)(/(.*))? /home/opt/rt2/WebRT/web/$3
> AddHandler cgi-wrapper .cgi
> AddHandler cgi-wrapper .pl

Try commenting these out, for a start...

> #PerlModule Apache::DBI

.... and uncommenting this one, and see what happens.

(Caveat: I am RaQ-ignorant; the above suggestions are
purely from an RT perspective.)
-- 
Phil Homewood, Systems Janitor, www.snapgear.com
pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances




More information about the rt-users mailing list