pearweb and CSS headers
| From: | Demian Turner | Date: | Fri, 21 Jan 2005 17:55:20 +0000 |
| Subject: | pearweb and CSS headers | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-17086@lists.php.net to get a copy of this message | ||
Hi all
Not sure if this is the best place to ask the question: I'd like to get pearweb up and running and have most installation issues solved save one, for some reason the stylesheet is sending text/html headers instead of text/css, so it fails to render in Firefox.
The headers sent by my installation are as follows:
=======================================
http://pearweb.phpkitchen.com/index.php
GET /index.php HTTP/1.1
Host: pearweb.phpkitchen.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-gb,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://pearweb.phpkitchen.com/package-stats.php?cid=1&pid=1
Cookie: PEAR_USER=demianturner; PEAR_PW=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx; PHPSESSID=c9a94b3ce406f1567dd4c0f3fa1059a7
Cache-Control: max-age=0
HTTP/1.x 200 OK
Date: Fri, 21 Jan 2005 17:24:50 GMT
Server: Apache/1.3.31 (Unix) PHP/4.3.10
X-Powered-By: PHP/4.3.10
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html
=======================================
to compare with the one from the PEAR site which obviously works fine:
http://pear.php.net/css/style.css
GET /css/style.css HTTP/1.1
Host: pear.php.net
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Accept: text/css,*/*;q=0.1
Accept-Language: en-gb,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://pear.php.net/
Cookie: LAST_LANG=en; COUNTRY=GBR%2C81.179.9.150; LAST_SEARCH=quickref%2Cbase64; PHPSESSID=7161518d5e793b14ad07780a5f84b735
If-Modified-Since: Fri, 15 Oct 2004 21:10:3 3 GMT
If-None-Match: "166081-19e7-41703cc9"
Cache-Control: max-age=0
HTTP/1.x 304 Not Modified
Date: Fri, 21 Jan 2005 17:17:27 GMT
Server: Apache/1.3.33 (Unix) PHP/4.3.8
Connection: Keep-Alive, Keep-Alive
Keep-Alive: timeout=5, max=99
Etag: "166081-19e7-41703cc9"
I have a bog standard apache/fedora setup, any ideas? Also there's a requirement for a package called Services_Trackback which I couldn't find anywhere, I'd love to get a copy so I can run cvs updates as the package develops rather than work with modified code.
tia
Demian
NB: I've read a note by Alexander Merz that there are issues leaving the default look & feel, understandably from a identity point of view. My goal is to eventually run a channel server, certainly not to diminish PEAR's role in any way - if I change the title/colours would that be acceptable?