Blew away /opt/rt3, saved the db. Now things "ain't right"

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

So, for various reasons (all of them stupid), I found that I have
blown away my /opt partition and with it the perl files for RT and
RT_SiteConfig.pm. Thankfully, the database is intact, but I’m running
into some display problems. When I access RT now, all my java and
stylesheets have gone away. Viewing the source shows that the page is
generated referencing the following:

etc. Note the “//NoAuth/css/print.css” Shouldn’t that be something
like “rt.mycompany.com/NoAuth/css/print.css”? I’ve got my $WebBaseURL
and $WebPath set correctly (“http://rt.mycompany.com” and “/”,
respectively), what else could be causing that?

Any help or suggestions would be well appreciated! Many thanks!

  • –Lee
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.5 (MingW32)

iD8DBQFFgYZQ/GIjcntH9rURCBxLAKDGoP3LiJlV6LCEO43oylp8NoqmpACg4d9A
v12f7B481tBagjgTWSocbQM=
=iFMO
-----END PGP SIGNATURE-----

etc. Note the “//NoAuth/css/print.css” Shouldn’t that be something
like “rt.mycompany.com/NoAuth/css/print.css”? I’ve got my $WebBaseURL
and $WebPath set correctly (“http://rt.mycompany.com” and “/”,
respectively), what else could be causing that?

Hi Lee,

You shouldn’t need the server path in front since it is a “relative” URL.
My installations all have the same URL as you show above and they work fine.

The problem is probably that they aren’t being interpreted correctly. Can
you access them directly? If you go to:

http://rt.mycompany.com/NoAuth/css/print.css

You should either see the CSS file as a text file or download, what you
don’t want to see is something that starts with:

%# BEGIN BPS TAGGED BLOCK {{{
%#
%# COPYRIGHT:
%#

Also, if you’re using Apache, check the config to make sure that you’re not
using the default handler for all of /NoAuth, but rather just images: