Hello all, this question appears in the archive but the suggested answer does not quite work; I am hoping some of you will be able to suggest solutions. My problem is that I am trying to install RT on an existing web server (Apache 2.x with mod_perl2 on Ubuntu8), in a sub-directory. I went through the configure/install steps, installing RT into /tools/pkgs/ rt-3.8.6. Now in trying to configure the web interface I hit various snags.
Say my site is "http://example.com" and I want RT to be at "http://example.com/rt ". I configured RT_SiteConfig and set WebPath to "/rt". I changed /etc/ apache2/sites-enabled/000-default and added: Alias /rt "/tools/pkg/rt/share/html" <Location /rt/> SetHandler perl-script PerlHandler RT::Mason </Location> (where /tools/pkg/rt is a symlink to /tools/pkg/rt-3.8.6) The problem now is that I have to add: PerlRequire /tools/pkg/rt/bin/webmux.pl and according to some docs, also: PerlModule Apache::DBI These directives are permitted only at the global or server context, so given my sub-directory based RT setup (rather than a RT dedicated virtualhost) I have to add them to the top/global configuration. Or is there a way around? When I do add these to the global config, I still get errors: Can't locate /tools/pkg/rt/bin/webmux.pl in @INC (@INC contains: / tools/pkgs/rt/bin /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/ perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/ share/perl/5.8 /usr/local/lib/site_perl . /etc/apache2) Apache/mod_perl config seems to restrict loading of PerlRequires from only @INC. I have started reading through the mod_perl docs to find out how to relax this, especially for an absolute path as above for webmux.pl. But perhaps someone here knows the way to fix this already? I would greatly appreciate any solutions or pointers to solutions for both issues above. Regards, --ravi _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com