[rt-users] Moving RT off of the root URL

Frank Saxton frankie at easyrider.com
Mon Sep 25 10:13:00 EDT 2006


Well, it's the "blah, blah, blah" that I need help with.  I'm not the 
brightest guy in the world but if it was a simple one line change I 
wouldn't be wasting everyone's time.

I spent a couple of days trying all types of different combinations 
and got it close to working but there were always problems.  Since I 
assume that very few people here are running RT off of the root URL, 
I figured it would be faster to just ask the experts here.  That was 
3 weeks ago....

My current httpd config is at the bottom and my RT_SiteConfig.pm is 
plain vanilla, per the install instructions.

I've done this with earlier versions of 3.4 and older RT with no 
problems, making a couple of simple alias changes.  Apparently 
something changed in the way Best Practical built 3.5 or 3.6.  I 
wouldn't care so much except that the current ScriptAlias setting 
breaks all of the other web sites on this server :(

Having a great deal of difficulty getting anyone to help me with this.

At 06:28 AM 9/22/2006, Drew Barnes wrote:
>   ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
>
>Shouldn't that maybe be ScriptAlias /rt [blah blah blah]?
>>>
>>> >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.
>>>
>>>RT_SiteConfig.pm:
>>>Set($WebPath , "/rt3");
>>>Set($WebURL , $WebBaseURL . $WebPath . "/");
>>
>>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