[rt-users] Want to have /rt instead of /rt/

Drew Barnes barnesaw at ucrwcu.rwc.uc.edu
Tue Sep 20 09:10:24 EDT 2005


On mine, I have
RewriteRule ^(.*)/$ $1/index.html

Tobias.Warth at hp.com wrote:

> 
>Redirect /rt http://hostname/rt/index.html
>
>results in
>http://hostname/rt/index.html/index.html/index.html/index.html/index.htm
>l/index.html/index.html/index.html/index.html/index.html
>
>
>
>Redirect /rt http://hostname/rt/
>
>results in http://hostname/rt//////////////////////
>
>
>RewriteEngine on
>RewriteRule   ^/rt$  /rt/  [R]
>
>results in http://hostname/rt
>
>
>
>Doesn't work, in my configuration :-(
>
>
>
>-----Original Message-----
>From: Ricky Tang Siu Hong [mailto:shtang at clustertech.com] 
>Sent: Dienstag, 20. September 2005 11:12
>To: Warth, Tobias; rt-users at lists.bestpractical.com
>Subject: Re: [rt-users] Want to have /rt instead of /rt/
>
>Usually Apache rewrite rule will help to add the trailing slash.  Check
>your config files.
>
>----- Original Message -----
>From: <Tobias.Warth at hp.com>
>To: <rt-users at lists.bestpractical.com>
>Sent: Tuesday, September 20, 2005 2:02 PM
>Subject: [rt-users] Want to have /rt instead of /rt/
>
>
>  
>
>>I configured RT 3.4.4 with Apache httpd 2.0.54 and FastCGI 2.4.2.
>>
>>If I type http://hostname/rt in my Browser I get the Login Form. After
>>logging in I'm redirected to http://hostname/index.html instead of
>>http://hostname/rt/index.html
>>
>>
>>If I type http://hostname/rt/ everything works, but our customer don't
>>want to have the trailing '/'.
>>
>>
>>How can I do this?
>>
>>
>>
>>httpd.conf:
>>AddHandler fastcgi-script fcgi
>>ScriptAlias /rt /apps/opt/rt/current/bin/mason_handler.fcgi
>>Alias /NoAuth/ /apps/opt/rt/current/share/html/NoAuth/
>><Directory "/apps/opt/rt/current/share/html">
>> DirectoryIndex index.html
>> Options FollowSymLinks ExecCGI
>> AllowOverride None
>></Directory>
>>FastCgiIpcDir /tmp
>>FastCgiServer /apps/opt/rt/current/bin/mason_handler.fcgi
>>    
>>
>-idle-timeout
>  
>
>>120 -processes 4
>>
>>
>>RT_SiteConfig.pm:
>>Set($WebPath , "/rt");
>>Set($WebBaseURL , "http://hostname:80");
>>Set($WebURL , $WebBaseURL . $WebPath . "/");
>>
>>
>>
>>Regards,
>>
>>Tobias Warth
>>
>>_______________________________________________
>>http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>>
>>Be sure to check out the RT Wiki at http://wiki.bestpractical.com
>>
>>Buy your copy of our new book, RT Essentials, today!
>>
>>Download a free sample chapter from http://rtbook.bestpractical.com
>>
>>    
>>
>
>_______________________________________________
>http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
>Be sure to check out the RT Wiki at http://wiki.bestpractical.com
>
>Buy your copy of our new book, RT Essentials, today! 
>
>Download a free sample chapter from http://rtbook.bestpractical.com
>  
>

-- 
Drew Barnes
Applications Analyst
Raymond Walters College
University of Cincinnati




More information about the rt-users mailing list