[rt-users] Re: MORE -- Re: RT 3.4.5 FastCGIexternal Apache2

Bill R. Williams brw at etsu.edu
Fri Feb 17 12:54:46 EST 2006

Hi Michael,

Thanks for your response...

> What are $WebPath and $WebBaseURL set to?
They are currently (as defined in the RT_Config.pm):
 Set($WebPath , "");
 Set($WebBaseURL , "http://localhost");
and just to be complete there are also ...
 Set($WebURL , $WebBaseURL . $WebPath . "/");
 Set($WebImagesURL , $WebPath . "/NoAuth/images/");
 Set($LogoURL , $WebImagesURL . "bplogo.gif");

I tried variations (in RT_SiteConfig.pm) on:
	$WebPath: Set($WebPath , "/");
	$WebBaseURL Set($WebBaseURL , "http://rt.mydomain.ext");
and even piddled with the $WebURL (removing the . "/").
And I ended up with pretty much the same problem.

My Apache's default server(s) are port:80.
Using the default $Web... items we see these behaviors:
Default: 80
	With the <VirtualHost xxx.xxx.xxx.xxx:80> my Apache logs for
	'rt' show GETs as related to "http://rt.mydomain.ext//".
Only Change: 8008
	With the <VirtualHost xxx.xxx.xxx.xxx:8008> my Apache logs for
	'rt' show GETs as related to "http://rt.mydomain.ext:8008/".

BTW:  I also tried the various suggested Apache 'RedirectMatch...'
directives.  Works the same with or without them.
Also FWIW: My Apache config specifies:
	NameVirtualHost xxx.xxx.xxx.xxx:80

Summary: On default port (80) any URL which does not have the double
slash following the http://HOSTNAME will be redirected to the default
port 80 server which is NOT rt.  Using an alternate port (8008) things
work as expected/desired: http://HOSTNAME:8008 will send me to 'rt'.

 Bill R. Williams               <brw at etsu.edu>
 ------------------------ ETSU Library Systems

On Fri, Feb 17, 2006 at 11:46:54AM -0500, Michael S. Liebman wrote:
> On Fri, Feb 17, 2006 at 11:27:05AM -0500, Bill R. Williams wrote:
> > It appears that the need for the double slash after the hostname
> > > * http://rt.mydomain.ext//
> > is introduced/needed somewhere in RT.  Possbily a redirection?
> > Why do I say this?  (And I could be jumping to the wrong conclusion...)
> > On Thu, Feb 16, 2006 at 04:16:10PM -0500, Bill R. Williams wrote:
> > > Also, I am *very* vanilla in the RT_SiteConfig.pm in that
> > > I am using the defaults for the $Web... things.  (I did try fiddling
> > > with those, but things got worse instead of better!)
> What are $WebPath and $WebBaseURL set to?
> Michael
> -- 
> Michael S. Liebman                      m-liebman at northwestern.edu
>                   http://msl521.freeshell.org/
> "I have vision and the rest of the world wears bifocals."
>         -Paul Newman in "Butch Cassidy & the Sundance Kid"

More information about the rt-users mailing list