Multiple web sites as well as rt

hi
How do i set up rt to run on a box with other
programs- they are not virtualhosts, i just have some
other test stuff which when rt isn’t active (3.22) is
in DocRoot/folders and works via the web. My rt conf
file is - and works but it transfers ALL for the
server name to the different docroot and i’m not smart
enough to work out what to do …any help please ?

Elaine

ServerName domainname DocumentRoot /usr/local/rt3/share/html AddDefaultCharset UTF-8

these four lines apply to Apache2+mod_perl2 only:

{{{
PerlSetVar MasonArgsMethod CGI
PerlModule Apache2 Apache::compat
RewriteEngine On
RewriteRule ^(.*)/$ $1/index.html

}}}

PerlModule Apache::DBI
PerlRequire /usr/local/rt3/bin/webmux.pl

SetHandler perl-script PerlHandler RT::Mason

Send instant messages to your online friends http://uk.messenger.yahoo.com

  1. multiple web sites as well as rt (Elaine .)

hi
How do i set up rt to run on a box with other
programs- they are not virtualhosts, i just have some
other test stuff which when rt isn’t active (3.22) is
in DocRoot/folders and works via the web. My rt conf
file is - and works but it transfers ALL for the
server name to the different docroot and i’m not smart
enough to work out what to do …any help please ?

Follow instructions in last half of “Configuration” section and
"Setting Up the Web Interface" sections of Installation Manual on the
Wiki.

Namely, install RT to some subdirectory of your document root, e.g. rt
so that need to use URL http://www.your.web.server/rt to access rt.
In the RT_SiteConfig file, set WebPath to that subdirectory, eg “/rt”

If you are not doing VirtualHosting, you can drop the VirtualHost wrapper
directives.

ServerName domainname

Remove this Document Root line

DocumentRoot /usr/local/rt3/share/html
and replace with (change /rt to the WebPath you used)
Alias /rt "/usr/local/rt3/share/html"
AddDefaultCharset UTF-8

The rewrite and set/perlHandler directives should go in a location block
(inside the virtual server block if using that), e.g.
<location /rt>
AddDefaultCharset UTF-8
RewriteEngine On
RewriteRule ^(.*)/$ $1/index.html
SetHandler perl-script
PerlHandler RT::Mason

these four lines apply to Apache2+mod_perl2 only:

{{{
PerlSetVar MasonArgsMethod CGI
PerlModule Apache2 Apache::compat
RewriteEngine On
RewriteRule ^(.*)/$ $1/index.html

}}}

PerlModule Apache::DBI
PerlRequire /usr/local/rt3/bin/webmux.pl

Drop the block, as is in the <Location /rt> block now

SetHandler perl-script PerlHandler RT::Mason

Tom Payerle
Dept of Physics payerle@physics.umd.edu
University of Maryland (301) 405-6973
College Park, MD 20742-4111 Fax: (301) 314-9525