<div>(I apologise if this is a dupe - listmanager was doing funky things and I'm not sure if the previous one went through...)</div><div><br></div><div>I have a problem with RT 3.8.7 running on top of Nginx 0.8.33</div>
<div><br></div><div>It appears that the css and js files aren't being properly rendered when they are sent to the browser - RT has no css formatting.  Additionally, I can't logout.</div><div><br></div><div>When I try to browse to one of the css files directly, I get the rt login screen (assuming I haven't yet logged in).</div>
<div><br></div><div>If I do log in, I still get no css formatting, but I do see my tickets (in a REALLY ugly format).</div><div><br></div><div>TIA,</div><div><br></div><div>Jason</div><div><br></div><div>Extensive configs follow:</div>
<div>NGINX</div><div>=====</div><div><br></div><div>location /customerzone/ {</div><div>        root   /opt/rt3-fcgi/share/html;</div><div>        fastcgi_pass    unix:/var/run/rt3/rt3.socket;</div><div><br></div><div>        fastcgi_param   DOCUMENT_ROOT   /opt/rt3-fcgi/share/html;</div>
<div>        fastcgi_param   SCRIPT_FILENAME /opt/rt3-fcgi/share/html$fastcgi_script_name;</div><div>        fastcgi_param   PATH_TRANSLATED /opt/rt3-fcgi/share/html$fastcgi_script_name;</div><div>        fastcgi_param   SCRIPT_NAME  $fastcgi_script_name;</div>
<div>        fastcgi_param   QUERY_STRING    $query_string;</div><div>        fastcgi_param   CONTENT_TYPE    $content_type;</div><div>        fastcgi_param   CONTENT_LENGTH  $content_length;</div><div>        fastcgi_param   REDIRECT_STATUS 200;</div>
<div>        fastcgi_param   SERVER_ADDR     $server_addr;</div><div>        fastcgi_param   SERVER_PORT     $server_port;</div><div>        fastcgi_param   SERVER_PROTOCOL $server_protocol;</div><div>        fastcgi_param   SERVER_NAME     $server_name;</div>
<div>        fastcgi_param   REQUEST_URI     $request_uri;</div><div>        fastcgi_param   REQUEST_METHOD  $request_method;</div><div>        fastcgi_param   REMOTE_USER     $remote_user;</div><div>        fastcgi_param   REMOTE_ADDR     $remote_addr;</div>
<div>        fastcgi_param   REMOTE_PORT     $remote_port;</div><div>}</div><div><br></div><div>location ~* .+\.(html|js|css)$  {</div><div>        fastcgi_pass    unix:/var/run/rt3/rt3.socket;</div><div>        fastcgi_param   DOCUMENT_ROOT   /opt/rt3-fcgi/share/html;</div>
<div>        fastcgi_param   SCRIPT_FILENAME /opt/rt3-fcgi/share/html$fastcgi_script_name;</div><div>        fastcgi_param   PATH_TRANSLATED /opt/rt3-fcgi/share/html$fastcgi_script_name;</div><div>        fastcgi_param   SCRIPT_NAME  $fastcgi_script_name;</div>
<div>        fastcgi_param   QUERY_STRING    $query_string;</div><div>        fastcgi_param   CONTENT_TYPE    $content_type;</div><div>        fastcgi_param   CONTENT_LENGTH  $content_length;</div><div>        fastcgi_param   REDIRECT_STATUS 200;</div>
<div>        fastcgi_param   SERVER_ADDR     $server_addr;</div><div>        fastcgi_param   SERVER_PORT     $server_port;</div><div>        fastcgi_param   SERVER_PROTOCOL $server_protocol;</div><div>        fastcgi_param   SERVER_NAME     $server_name;</div>
<div>        fastcgi_param   REQUEST_URI     $request_uri;</div><div>        fastcgi_param   REQUEST_METHOD  $request_method;</div><div>        fastcgi_param   REMOTE_USER     $remote_user;</div><div>        fastcgi_param   REMOTE_ADDR     $remote_addr;</div>
<div>        fastcgi_param   REMOTE_PORT     $remote_port;</div><div>}</div><div><br></div><div>RT_SiteConfig.pm</div><div>===============</div><div>Set($rtname, '<a href="http://www.microsoft.com">www.microsoft.com</a>');</div>
<div>Set($Organization, '<a href="http://microsoft.com">microsoft.com</a>');</div><div><br></div><div>Set($CorrespondAddress , '<a href="mailto:cz@microsoft.com">cz@microsoft.com</a>');</div><div>Set($CommentAddress , '<a href="mailto:cz-comment@microsoft.com">cz-comment@microsoft.com</a>');</div>
<div><br></div><div>Set($Timezone , 'Africa/Johannesburg'); # obviously choose what suits you</div><div><br></div><div># THE DATABASE:</div><div><br></div><div>Set($DatabaseType, 'mysql'); # e.g. Pg or mysql</div>
<div><br></div><div># These are the settings we used above when creating the RT database,</div><div># you MUST set these to what you chose in the section above.</div><div><br></div><div>Set($DatabaseUser , 'rtuser');</div>
<div>Set($DatabasePassword , 'averysecurepassword');</div><div>Set($DatabaseName , 'requesttracker');</div><div><br></div><div># THE WEBSERVER:</div><div><br></div><div>Set($WebPath , "/customerzone");</div>
<div>Set($WebBaseURL , "<a href="https://www.microsoft.com">https://www.microsoft.com</a>");</div><div><br></div><div>Set($WebURL, RT->Config->Get('WebBaseURL') . RT->Config->Get('WebPath') . "/");</div>
<div><br></div><div>Set($WebFlushDbCacheEveryRequest, 1);</div><div><br></div><div>1;</div><div><br></div><div>!!NB : The domain is not really <a href="http://microsoft.com">microsoft.com</a>.  We all do small things to amuse ourselves and release pressure, this is mine.  Besides, they could use a good issue management facility.</div>