Networking Forums

Networking Forums > Computer Networking > Linux Networking > HTTP question

Reply
Thread Tools Display Modes

HTTP question

 
 
Ciur Eugen
Guest
Posts: n/a

 
      03-14-2009, 03:52 PM
Hi everybody!

I have installed a web server with and my document-root is /var/www/
xyz.
In xyz there is one more directory w (/var/www/xyz/w) where I
installed mediawiki application.
Everything is ok if I try to open wiki from Opera Web Browser (I mean,
it loads ok, it looks ok etc).
However if I open same web link from Moziila Firefox or Epiphany
browser, wiki user interface is completely
different because it browsers failed to load css files.
I have checked:
1. css files exists on the disk
2. Permissions to then are ok
3. If I try to open css file using its url http in browser, I get
save as dialog box.
I had firebug, so in Mozilla I can look for GETs and reply that http
header had.
Here they are (from Firefox), an example:

Request:

http://localhost/w/skins/monobook/main.css?195
Host localhost
User-Agent Mozilla/5.0 (X11; U; Linux i686; ro; rv:1.9.0.6) Gecko/
2009020911 Ubuntu/8.04 (hardy) Firefox/3.0.6
Accept text/css,*/*;q=0.1
Accept-Language ro-ro,ro;q=0.8,en-us;q=0.6,en-gb;q=0.4,en;q=0.2
Accept-Encoding gzip,deflate
Accept-Charset UTF-8,*
Keep-Alive 300
Connection keep-alive
Referer http://localhost/w/index.php?title=P...rincipal%C4%83

Reply:

Content-Type application/octet-stream
Accept-Ranges bytes
Content-Length 27037
Date Sat, 14 Mar 2009 16:45:20 GMT
Server lighttpd/1.4.21

And that's all... no content body
What can be the problem ? I don't have smallest clue



 
Reply With Quote
 
 
 
 
Ciur Eugen
Guest
Posts: n/a

 
      03-14-2009, 07:13 PM
On 14 Mar, 18:52, Ciur Eugen <ciur.eu...@gmail.com> wrote:
> Hi everybody!
>
> I have installed a web server with and my document-root is /var/www/
> xyz.
> In xyz there is one more directory w (/var/www/xyz/w) where I
> installed mediawiki application.
> Everything is ok if I try to open wiki from Opera Web Browser (I mean,
> it loads ok, it looks ok etc).
> However if I open same web link from Moziila Firefox or Epiphany
> browser, wiki user interface is completely
> different because it browsers failed to load css files.
> I have checked:
> 1. css files exists on the disk
> 2. Permissions to then are ok
> 3. If I try to open css file *using its url http in browser, I get
> save as dialog box.
> I had firebug, *so in Mozilla I can look for GETs and reply that http
> header had.
> Here they are (from Firefox), an example:
>
> Request:
>
> http://localhost/w/skins/monobook/main.css?195
> Host * *localhost
> User-Agent Mozilla/5.0 (X11; U; Linux i686; ro; rv:1.9.0.6) Gecko/
> 2009020911 Ubuntu/8.04 (hardy) Firefox/3.0.6
> Accept *text/css,*/*;q=0.1
> Accept-Language ro-ro,ro;q=0.8,en-us;q=0.6,en-gb;q=0.4,en;q=0.2
> Accept-Encoding gzip,deflate
> Accept-Charset *UTF-8,*
> Keep-Alive * * *300
> Connection * * *keep-alive
> Refererhttp://localhost/w/index.php?title=Pagina_principal%C4%83
>
> Reply:
>
> Content-Type * *application/octet-stream
> Accept-Ranges * bytes
> Content-Length *27037
> Date * *Sat, 14 Mar 2009 16:45:20 GMT
> Server *lighttpd/1.4.21
>
> And that's all... no content body
> What can be the problem ? I don't have smallest clue



Solved - webserver configuration missed mime type assignment css =>
text/css. So firefox displayed css as octet string. Opera was ignoring
mime type anyway, that is what it worked.
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Any http proxy to accelerate http GET method? Trent.Zhou@gmail.com Linux Networking 7 11-23-2007 05:16 AM
forward http://p2p.mydomain.com to http://mydomainIP:50001/gui/index.html, is that possible? aticatac Network Routers 1 11-13-2007 12:00 AM
Newbie question on HTTP proxy. Seeker Linux Networking 0 06-16-2007 08:24 AM
Apache problem: Can see http://localhost/ but not http://ipaddress/ Andrew Linux Networking 4 02-13-2005 12:26 PM
Free Broadband Comedy Channel http://Yuks.TV Groucho, Benny, Chaplin, Marilyn, more http://Yuks.TV Broadband Hardware 0 01-15-2005 04:57 PM



1 2 3 4 5 6 7 8 9 10 11