[rt-users] Moving RT off of the root URL
Frank Saxton
frankie at easyrider.com
Fri Sep 22 00:11:45 EDT 2006
At 02:49 AM 9/21/2006, Kristian Rønningen wrote:
>On Mon, 18 Sep 2006 06:07:00 -0700, you wrote:
>
> >Apparently, there has been a change since RT 3.4 that makes it more
> >difficult to move RT from http://host.com/ to
> something like http://host.com/rt
> >I presume someone has already solved this problem. I would be
> >grateful if someone could point me to the detailed information on
> >what I need to do to make this change.
>
>Hi,
>
>I'm running 3.6.1 on debian from a subdirectory /rt3/ on my domain,
>and from what I can tell from my config-files, this is all the
>path-related settings there is:
>
>RT_SiteConfig.pm:
>Set($WebPath , "/rt3");
>Set($WebURL , $WebBaseURL . $WebPath . "/");
>
>httpd.conf:
><VirtualHost 1.2.3.4>
>.
>.
>.
>Alias /rt3 /usr/local/rt3/share/html
> <Location /rt3>
> AddDefaultCharset UTF-8
> PerlModule Apache::DBI
> PerlRequire /usr/local/rt3/bin/webmux.pl
> SetHandler perl-script
> PerlHandler RT::Mason
> Options +ExecCGI
> </Location>
>.
>.
></VirtualHost>
>
>Make sure you stop and start apache each time you change something,
>just in case something isn't reloading.
>
>- Kristian
>_______________________________________________
I do appreciate your willingness to help but as I
suspected, the changes you suggested do not work
in my fastcgi configuration. This is what I have
and it works fine except that it runs out of
http://localhost instead of http://localhost/rt
as I'd prefer. I'm sure this is just one or two
very small changes to get it to work,,
Alias /rt/ "/opt/rt3/share/html/"
FastCgiIpcDir /tmp
FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 120 -processes 4
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin Frankie at Easyrider.com
ServerName patrol.vigilancemonitoring.com
DocumentRoot /opt/rt3/share/html/
AddDefaultCharset UTF-8
AddHandler fastcgi-script .fcgi
</VirtualHost>
<Directory "/opt/rt3/share/html">
Options FollowSymLinks ExecCGI
AllowOverride None
</Directory>
Alias /NoAuth/images /opt/rt3/share/html/NoAuth/images
ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
More information about the rt-users
mailing list