[rt-users] css page not showing up (wrong mime-type) on login page

Sandro sandro-lists at obsecured.net
Wed Dec 22 12:04:41 EST 2010


I've resolved this problem.  It seems almost as though the underlying 
scripts are written with some static references to the $webroot/share/* 
of the webapp, rather than just $webroot, for reasons unknown.  I can't 
confirm this, but the behaviour suggests it.  So do the many refrences 
in the config that start with share/.....  It may just be the port too, 
I'd have to install from source to see if this is the same.

To keep things neat and tidy on this system, I moved the */rt38/html 
folder from /usr/local/share/rt38/html to /usr/local/www/rt38/html.  
Moving it back resolved this  All is well now :)

Regards,
Sandro


On 12/21/2010 09:48 PM, Sandro Mancuso wrote:
> On Tue, 2010-12-21 at 18:29 -0500, Kevin Falcone wrote:
>> Oh, you have an interesting config.
>> You appear to have disabled /NoAuth/
> Where would that have happened?  I don't see anywhere short of the
> $WebNoAuthRegex where this can happen, in terms of being available
> without login only - and I haven't overridden the default.  As far as
> Apache is concerned, it has access to that folder.  Moreover, the images
> load fine if I reload the login page after a login/logoff.  There must
> be something I'm missing/not thinking of.
>
>
> On Tue, 2010-12-21 at 18:05 -0500, Thomas Sibley wrote:
>> On 21 Dec 2010 17:59, Sandro wrote:
>>> If anyone has any ideas on what else can cause this, I'd love to hear
>>> from you.  I need to get this to work properly so that others here can
>>> start applying our design schemes to the page.
>> Provide error/access logs and apache conf or all we can do is blindly guess.
>>
>> Thomas
> Fair enough ;)
>
> Here are links to the files:
>
> httpd.conf:
> http://pastebin.ca/2025918
>
> httpd-vhosts.conf (referenced in above file, for all vhosts):
> http://pastebin.ca/2025937
>
> RT_SiteConfig.pm:
> http://pastebin.ca/2025922
>
>
>
> Finally, Relevant loggging pasted below:
>
> httpd-error.log:
> ===================
>
> [Tue Dec 21 21:30:28 2010] [info] Init: Seeding PRNG with 136 bytes of
> entropy
> [Tue Dec 21 21:30:28 2010] [info] Loading certificate&  private key of
> SSL-aware server
> [Tue Dec 21 21:30:28 2010] [info] Init: Generating temporary RSA private
> keys (512/1024 bits)
> [Tue Dec 21 21:30:28 2010] [info] Init: Generating temporary DH
> parameters (512/1024 bits)
> [Tue Dec 21 21:30:28 2010] [info] Shared memory session cache
> initialised
> [Tue Dec 21 21:30:28 2010] [info] Init: Initializing (virtual) servers
> for SSL
> [Tue Dec 21 21:30:28 2010] [info] Configuring server for SSL protocol
> [Tue Dec 21 21:30:28 2010] [info] mod_ssl/2.2.17 compiled against
> Server: Apache/2.2.17, Library: OpenSSL/0.9.8n
> [Tue Dec 21 21:30:28 2010] [notice] Apache/2.2.17 (FreeBSD)
> mod_ssl/2.2.17 OpenSSL/0.9.8n DAV/2 PHP/5.3.3 with Suhosin-Patch
> mod_perl/2.0.4 Perl/v5.12.2 configured -- resuming normal operations
> [Tue Dec 21 21:30:28 2010] [info] Server built: Dec 18 2010 01:45:11
> [Tue Dec 21 21:30:28 2010] [debug] prefork.c(1018): AcceptMutex: flock
> (default: flock)
>
> #########################################################
>
> httpd-access.conf
> ==================
>
> myIP - - [21/Dec/2010:21:39:08 -0500] "GET / HTTP/1.1" 200 5177 "-"
> "Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.10 (KHTML,
> like Gecko) Ubuntu/10.10 Chromium/8.0.552.224 Chrome/8.0.552.224
> Safari/534.10"
> myIP - - [21/Dec/2010:21:39:08 -0500]
> "GET /NoAuth/css/web2/main-squished.css HTTP/1.1" 200 5223
> "http://support.netwits.ca/" "Mozilla/5.0 (X11; U; Linux x86_64; en-US)
> AppleWebKit/534.10 (KHTML, like Gecko) Ubuntu/10.10 Chromium/8.0.552.224
> Chrome/8.0.552.224 Safari/534.10"
> myIP - - [21/Dec/2010:21:39:08 -0500] "GET /NoAuth/js/util.js HTTP/1.1"
> 200 5209 "http://support.netwits.ca/" "Mozilla/5.0 (X11; U; Linux
> x86_64; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Ubuntu/10.10
> Chromium/8.0.552.224 Chrome/8.0.552.224 Safari/534.10"
> myIP - - [21/Dec/2010:21:39:08 -0500] "GET /NoAuth/css/print.css
> HTTP/1.1" 200 5217 "http://support.netwits.ca/" "Mozilla/5.0 (X11; U;
> Linux x86_64; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Ubuntu/10.10
> Chromium/8.0.552.224 Chrome/8.0.552.224 Safari/534.10"
> myIP - - [21/Dec/2010:21:39:08 -0500] "GET /NoAuth/js/titlebox-state.js
> HTTP/1.1" 200 5239 "http://support.netwits.ca/" "Mozilla/5.0 (X11; U;
> Linux x86_64; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Ubuntu/10.10
> Chromium/8.0.552.224 Chrome/8.0.552.224 Safari/534.10"
> myIP - - [21/Dec/2010:21:39:08 -0500] "GET /NoAuth/js/ahah.js HTTP/1.1"
> 200 5208 "http://support.netwits.ca/" "Mozilla/5.0 (X11; U; Linux
> x86_64; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Ubuntu/10.10
> Chromium/8.0.552.224 Chrome/8.0.552.224 Safari/534.10"
> myIP - - [21/Dec/2010:21:39:08 -0500]
> "GET /NoAuth/js/prototype/prototype.js HTTP/1.1" 200 5244
> "http://support.netwits.ca/" "Mozilla/5.0 (X11; U; Linux x86_64; en-US)
> AppleWebKit/534.10 (KHTML, like Gecko) Ubuntu/10.10 Chromium/8.0.552.224
> Chrome/8.0.552.224 Safari/534.10"
> myIP - - [21/Dec/2010:21:39:09 -0500]
> "GET /NoAuth/js/scriptaculous/scriptaculous.js?load=effects,controls
> HTTP/1.1" 200 5340 "http://support.netwits.ca/" "Mozilla/5.0 (X11; U;
> Linux x86_64; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Ubuntu/10.10
> Chromium/8.0.552.224 Chrome/8.0.552.224 Safari/534.10"
> myIP - - [21/Dec/2010:21:39:09 -0500] "GET /NoAuth/RichText/fckeditor.js
> HTTP/1.1" 200 5228 "http://support.netwits.ca/" "Mozilla/5.0 (X11; U;
> Linux x86_64; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Ubuntu/10.10
> Chromium/8.0.552.224 Chrome/8.0.552.224 Safari/534.10"
> myIP - - [21/Dec/2010:21:39:10 -0500] "GET /NoAuth/images/bplogo.gif
> HTTP/1.1" 200 5226 "http://support.netwits.ca/" "Mozilla/5.0 (X11; U;
> Linux x86_64; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Ubuntu/10.10
> Chromium/8.0.552.224 Chrome/8.0.552.224 Safari/534.10"
> myIP - - [21/Dec/2010:21:39:10 -0500] "GET /NoAuth/images//favicon.png
> HTTP/1.1" 200 5229 "-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US)
> AppleWebKit/534.10 (KHTML, like Gecko) Ubuntu/10.10 Chromium/8.0.552.224
> Chrome/8.0.552.224 Safari/534.10"
>
>
>
>
>
>




More information about the rt-users mailing list