[rt-users] https bug
Yan Fitterer
y.fitterer at ram.ac.uk
Wed Apr 24 06:49:53 EDT 2002
Er... Thanks for pointing me in the right direction, but unless I'm
much mistaken, the "fix" will be worse that the ill in my case. I run
both an http and https virtual hosts against the same RT instance,
so if I was to set $WebBaseURL, it would in all cases break one
server or the other. If I leave it to http: then when I access RT via
https, I get in some browsers a request to load "non-secure items",
which then fails silently. If I set it to https, then every time the page
loads, I get a "license certificate" string of popup windows... Not
good.
However, experimenting with the $WebBaseURL, it seems that
setting it to "" works without breaking anything obvious.
Does anybody on the list knows a "Good Reason" not to set
$WebBaseURL to null?
Thanks again for pointing me in the right direction,
Yan
---- On 23 Apr 2002, at 13:14, Darrin Walton wrote: ----
> |+ I've noticed that my https instance of RT has an http:// address
> |+ (http://domain.co.uk/NoAuth/images/rt.jpg) for the rt.jpg file
> that |+ appears on the left of the "title bar". Therefore, if the
> http address is |+ not accessible (connecting from the Internet for
> ex), the picture |+ doesn't display. |+ |+ Not a major problem
> really - but should be fixed sometime!
>
> So fix it! Edit your config.pm, change $WebBaseUrl to read:
> $WebBaseUrl = "https://domain.co.uk";
>
> You'll notice, that RT builds the path via:
>
> $WebURL = $WebBaseURL . $WebPath . "/";
> $WebImagesURL = $WebURL."/NoAuth/images/";
> $LogoURL = $WebImagesURL."/rt.jpg";
>
> You see. It builds it from WebURL, which is built from $WebBaseURL
> and $WebPath.
>
> Its not a bug in RT, its a mistake in your config file.
>
> -darrin
>
>
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
--
Yan Fitterer
IT Manager, Royal Academy of Music
E-mail : y.fitterer at ram.ac.uk
Marylebone Rd, London, NW1 5HT
Phone (+44) 20 7873 7365 Fax (+44) 20 7873 7364
More information about the rt-users
mailing list