LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   weird boa behaviour (https://www.linuxquestions.org/questions/linux-networking-3/weird-boa-behaviour-424116/)

thorgal31 03-12-2006 10:53 AM

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

timmeke 03-13-2006 10:20 AM

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.

thorgal31 03-17-2006 02:43 AM

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 ...

timmeke 03-17-2006 09:01 AM

Have you looked at the HTML headers at the top of the page's source code?


All times are GMT -5. The time now is 04:05 AM.