<meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: medium; border-collapse: collapse; "><div id=":24v" class="ii gt" style="font-size: 13px; margin-top: 5px; margin-right: 15px; margin-bottom: 5px; margin-left: 15px; padding-bottom: 20px; ">
I have a problem with RT 3.8.7 running on top of Nginx 0.8.33<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><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><div>Set($rtname, '<a href="http://www.microsoft.com" target="_blank" style="color: rgb(64, 100, 128); ">www.microsoft.com</a>');</div>
<div>Set($Organization, '<a href="http://microsoft.com" target="_blank" style="color: rgb(64, 100, 128); ">microsoft.com</a>');</div><div><br></div><div>Set($CorrespondAddress , '<a href="mailto:cz@microsoft.com" target="_blank" style="color: rgb(64, 100, 128); ">cz@microsoft.com</a>');</div>
<div>Set($CommentAddress , '<a href="mailto:cz-comment@microsoft.com" target="_blank" style="color: rgb(64, 100, 128); ">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" target="_blank" style="color: rgb(64, 100, 128); ">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><div>!!NB : The domain is not really <a href="http://microsoft.com" target="_blank" style="color: rgb(64, 100, 128); ">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>
<div><br></div></div></div><div class="hq gt" style="font-size: 13px; margin-top: 5px; margin-right: 15px; margin-bottom: 15px; margin-left: 15px; clear: both; "></div><div class="hi" style="background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(243, 246, 249); padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; width: auto; background-position: initial initial; background-repeat: initial initial; ">
</div><div class="gA gt" style="font-size: 13px; background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(243, 246, 249); padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; width: auto; background-position: initial initial; background-repeat: initial initial; ">
</div></span>