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

Jesse Vincent jesse at bestpractical.com
Sun Sep 24 15:37:44 EDT 2006


I believe the issue is a bug in the etc/initialdata / upgrade/content  
file file.

We had an $RT::WebPath when we should have had a __WebPath__.

Unfortunately, the fix for existing installs is going to require some  
database diving.

-jesse

On Sep 23, 2006, at 1:53 AM, Frank Saxton wrote:

> 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
>
> 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/
>>>
>>> _______________________________________________
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly  
> Media. Buy a copy at http://rtbook.bestpractical.com
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20060924/a2fceb22/attachment.sig>


More information about the rt-users mailing list