[rt-users] Two Annoying Messages in the logs
Giles Coochey
giles at coochey.net
Fri Jul 26 08:23:32 EDT 2013
Hi,
I run RT (upgraded to 4.0.15 today), but this is a small issue I've
always had with my set up.
I always get the following in my apache errorlogs:
[Fri Jul 26 09:05:14 2013] [warning]: The requested port (80) does NOT
match the configured WebPort (443). Perhaps you should Set($WebPort,
80); in RT_SiteConfig.pm, otherwise your internal links may be broken.
(/usr/local/rt/sbin/../lib/RT/Interface/Web.pm:1232)
[Fri Jul 26 09:05:14 2013] [warning]: The requested path (/ticket/) does
NOT match the configured WebPath (/ticket). Perhaps you should
Set($WebPath, '/ticket/'); in RT_SiteConfig.pm, otherwise your internal
links may be broken. (/usr/local/rt/sbin/../lib/RT/Interface/Web.pm:1248)
The first one is because RT sits behind a reverse proxy which strips
SSL, therefore WebPort 443 is correct, as is setting the port to 80
locally in the web server configuration. So the warning is wrong in this
case.
The second one seems to be required, rt moans about the configured
WebPath missing the trailing slash, but I seem to remember that I needed
to configure it this way to correctly get the reverse proxy to fix up
the links in responses.
Would be nice to somehow eliminate these warnings from a future release
or RT.
--
Regards,
Giles Coochey, CCNP, CCNA, CCNAS
NetSecSpec Ltd
+44 (0) 7983 877438
http://www.coochey.net
http://www.netsecspec.co.uk
giles at coochey.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4755 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130726/8c2f80fd/attachment.bin>
More information about the rt-users
mailing list