LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-12-2006, 10:53 AM   #1
thorgal31
LQ Newbie
 
Registered: Mar 2006
Posts: 12

Rep: Reputation: 0
weird boa behaviour


I think I have a problem regarding the boa configuration on a ARM CPU linux box : my browser can actually acces to the served html files, but it displays the html tags instead of interpreting them.

The server root is /var/www, and the default file is index.html. When accesing this one as a file from the nfs mounted filesystem on my mandrake system, mosilla behaves corrctly ...

Anyone has been facing this issue ?

Thanks
 
Old 03-13-2006, 10:20 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Can you take a look at the source code of the HTML page? Is it the same code as what you see in your browser (seems unlikely, but I'll ask it anyway)?
Also, what is reported as the "content-type" at the top of the page?
Does your browser identify the file as a HTML document? Or as something else (ie wrong content-type header)?
You should also have a look at other HTML headers, like encoding and stuff.
 
Old 03-17-2006, 02:43 AM   #3
thorgal31
LQ Newbie
 
Registered: Mar 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for replying.

Indeed, the browser displays the content of the html file, instead of interpreting it : it shows the html source file !
On the other hand, if I open the file from the browser it is correctly displayed, i.e. as html.

It looks like boa doesn't serve the content of file as html. I have forced the DefaultType in boa.conf as text/html but it didn't fix the problem.

Boa is ran by nobody:nogroup.

Any suggestion is welcome !

Thanks to all you geeks for making this site live ...
 
Old 03-17-2006, 09:01 AM   #4
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Have you looked at the HTML headers at the top of the page's source code?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
9.3 weird behaviour ????? bigjohn Suse/Novell 9 07-06-2005 05:44 AM
[SOLVED] k3b weird behaviour filosophem Linux - Software 3 01-23-2005 04:42 PM
weird slit behaviour RaulConQ Linux - Software 7 10-31-2004 09:14 AM
Weird DNS (?) behaviour jalonsom Linux - Networking 1 10-31-2004 06:55 AM
Weird Apache behaviour ? zalmox Linux - Software 1 11-10-2003 08:12 AM


All times are GMT -5. The time now is 11:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration