Beginner Help, plain text

Hello all,

I’m trying to create a RT 4.4.2 system on CentOS 6.9 minimal, I got everything working but when I go to the rt page in a browser everything is just plain text with no pictures and no colors. I’m pretty sure this has to do with something not being setup right in my httpd.conf file, thank you RT_Users.

I used this guide to set everything up;

1 Like

Does your /etc/httpd/conf.d/ssl.conf have the line:

Alias /NoAuth/images/ /opt/rt4/share/html/NoAuth/images/

in it? Have you tested that the Apache config is valid with:

service httpd configtest

and then (assuming it says Syntax OK) reloaded the config into your running Apache:

service httpd reload

If its still not getting the images and CSS, check the Apache logs (in /var/log/httpd/ssl_access_log for example, depending on how you’ve set up Apache logging) to see what URLs are being requested but not served (404, 403, etc error codes). You could also use developer tools/inspection on most modern web browsers (Chrome, Firefox, etc) to see what is being requested and not returned.

2 Likes

So Jim, first off thank for taking the time to respond. My Alias was fat fingered when I was creating it but the login page still isn’t pulling the CSS. Below is what was in the ssl_access_log

[22/May/2018:12:32:43 -0600] “GET / HTTP/1.1” 200 4169
172.17.2.11 - - [22/May/2018:12:32:43 -0600] “GET /rt2//NoAuth/css/rudder/squished-3ec0208fe444cf42f75cf364b96b71ae.css HTTP/1.1” 302 -
172.17.2.11 - - [22/May/2018:12:32:43 -0600] “GET /rt2//static/images/request-tracker-logo.png HTTP/1.1” 302 -
172.17.2.11 - - [22/May/2018:12:32:43 -0600] “GET /rt2//NoAuth/js/squished-f3cb8791afa29b3adb59f2883e0968e5.js HTTP/1.1” 302 -
172.17.2.11 - - [22/May/2018:12:32:44 -0600] “GET /rt2//static/images/favicon.png HTTP/1.1” 302 -
172.17.2.11 - - [22/May/2018:13:55:27 -0600] “GET / HTTP/1.1” 200 4168
172.17.2.11 - - [22/May/2018:13:55:29 -0600] “GET /rt2//NoAuth/css/rudder/squished-3ec0208fe444cf42f75cf364b96b71ae.css HTTP/1.1” 302 -
172.17.2.11 - - [22/May/2018:13:55:29 -0600] “GET /rt2//static/images/request-tracker-logo.png HTTP/1.1” 302 -
172.17.2.11 - - [22/May/2018:13:55:29 -0600] “GET /rt2//NoAuth/js/squished-f3cb8791afa29b3adb59f2883e0968e5.js HTTP/1.1” 302 -
172.17.2.11 - - [22/May/2018:13:55:30 -0600] “GET /rt2//static/images/favicon.png HTTP/1.1” 302 -
172.17.2.11 - - [22/May/2018:13:55:45 -0600] “GET / HTTP/1.1” 200 4169
172.17.2.11 - - [22/May/2018:13:55:45 -0600] “GET /rt2//NoAuth/css/rudder/squished-3ec0208fe444cf42f75cf364b96b71ae.css HTTP/1.1” 302 -
172.17.2.11 - - [22/May/2018:13:55:45 -0600] “GET /rt2//static/images/request-tracker-logo.png HTTP/1.1” 302 -
172.17.2.11 - - [22/May/2018:13:55:45 -0600] “GET /rt2//NoAuth/js/squished-f3cb8791afa29b3adb59f2883e0968e5.js HTTP/1.1” 302 -
172.17.2.11 - - [22/May/2018:13:55:46 -0600] “GET /rt2//static/images/favicon.png HTTP/1.1” 302 -
172.17.2.11 - - [22/May/2018:13:56:17 -0600] “GET / HTTP/1.1” 200 4169
172.17.2.11 - - [22/May/2018:13:56:18 -0600] “GET /rt2//NoAuth/css/rudder/squished-3ec0208fe444cf42f75cf364b96b71ae.css HTTP/1.1” 302 -
172.17.2.11 - - [22/May/2018:13:56:18 -0600] “GET /rt2//static/images/request-tracker-logo.png HTTP/1.1” 302 -
172.17.2.11 - - [22/May/2018:13:56:18 -0600] “GET /rt2//NoAuth/js/squished-f3cb8791afa29b3adb59f2883e0968e5.js HTTP/1.1” 302 -
172.17.2.11 - - [22/May/2018:13:56:19 -0600] “GET /rt2//static/images/favicon.png HTTP/1.1” 302 -

Hi Jalbers

What do you see in the error logs?

regards
Garry

I strongly suspect that you’ve set your $WebPath to /rt2/ with a trailing slash. The error logs will have errors about this telling you to not do so, and the documentation stresses that you should omit it.

Change it to /rt2 (without a trailing slash) and this should resolve.

@chmrr you were correct about the $WebPath but even after that it still would not load the CSS, I’m rebuilding it with Centos 7 minimal and using Best Practicals guide. Thank you all for responding but at this point I think it’s best if I just start over.

Okay guys now I have a new problem, when running make testdeps then fixdeps I cannot get the dependency for perlIO::eol. I’ve looked all over the internet and can’t find anything that is helpful.