[rt-users] main-squished.css is missing

Kevin Falcone falcone at bestpractical.com
Thu Oct 1 20:19:28 EDT 2009


On Thu, Oct 01, 2009 at 05:01:02PM -0700, Kai Lanz wrote:
> 
> Setup: RT-3.8.5, Perl-5.8.5, Apache-2.0.63, RHEL-4 on x86_64 Intel.
> 
> When I surf to the RT login page, I get an un-styled "text-only"  
> display.
> (I do see the Best Practical logo in the upper-left, and I do see the  
> red
> check-mark favicon in my browser's address bar.) According to the Apache
> error_log, the problem is that the CSS file isn't present:
> 
> [Thu Oct 01 13:45:17 2009] [error] [client 171.64.171.122] File does  
> not exist:
> /usr/local/rt3/share/html/NoAuth/css/web2/main-squished.css, referer:
> http://pangea2.stanford.edu/rt/
> 
> The path given in the error message is the correct one, and Apache is  
> right
> that the main-squished.css file is not there.
> 
> I understand that the main-squished.css file is generated "on the  
> fly" --
> who's supposed to do that, and when does it happen?
> 
> There are no other errors in Apache's logs, and there are no entries  
> from
> RT in /var/log/messages. Is there someplace else I can look?
> 
> Here's my RT_SiteConfig.pm:
> 
> Set( $rtname, 'SES');
> Set($Timezone , 'US/Pacific');
> Set($Organization , "es.stanford.edu");
> Set($Webpath , "/rt");
> Set($WebBaseURL , "http://pangea2.stanford.edu");
> Set($CorrespondAddress , 'esit at sesmail.stanford.edu');
> Set($CommentAddress , 'esit-comment at sesmail.stanford.edu');
> Set($OwnerEmail , 'rt-manager');
> @LogToSyslogConf = ( facility => 'local3', min_level => 'warning' )  
> unless (@LogToSyslogConf);
> 
> And here are the relevant snippets from httpd.conf:
> 
> LoadModule fastcgi_module     modules/mod_fastcgi.so
> FastCgiServer /usr/local/rt3/bin/mason_handler.fcgi
> AddHandler fastcgi-script fcgi
> Alias /NoAuth /usr/local/rt3/share/html/NoAuth

This prevents the mason dhandler from running and producing css

> ScriptAlias /rt/ /usr/local/rt3/bin/mason_handler.fcgi/
> 
> I had to set the NoAuth alias to the value shown here to get rid of  
> an earlier
> error from Apache -- "File does not exist: /WWW/NoAuth".

Sounds like an apache config issue, but you've found the wrong
solution to it.

-kevin

> I've tried several fixes, none of which work for me:
> 
> o Make the directories under NoAuth/css, like web2, writable by the  
> group
>    Apache runs under (sesweb).
> 
> o Try 3.4-compat instead of web2.
> 
> o Try WebPath of "" instead of "/rt".
> 
> o Confirm CSS::Squish is installed.
> 
> o Flush mason cache (delete the var/mason_data/obj directory and its  
> contents).
> 
> o Reset browser (Safari) or use a different browser (FireFox).
> 
> o Restart Apache for each test.
> 
> o Surf to /NoAuth/css/web2/main-squished.css directly with my  
> browser; this
>    results in the exact same error as I get when opening the RT login  
> page,
>    except that the "referer" clause is absent.
> 
> I'm out of ideas. How can I troubleshoot/fix this?
> 
> -- 
> Kai Lanz            Stanford University          School of Earth  
> Sciences
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20091001/0788d13a/attachment.sig>


More information about the rt-users mailing list