Issue 7: Wrong content-type information sent to browser
Status:  Accepted
Owner: ----
Reported by jfl.lala...@gmail.com, Aug 31, 2008
What steps will reproduce the problem?
1. Install fricorder
2. Install apache with a proxy to redirect 8080 on a subdomain
3. Use it, you will have problems :) I explain below:

Issue:

(fricorder 0.6)

To avoid to talk to fricorder on port 8080 I installed a "proxy" into
apache on a subdomain. This means that any request on the 80 port on the
subdomain.domain.fr goes to 127.0.0.1 on port 8080 which is the fricorder
daemon. But there is a problem on the page /action/authent that does not
send its content-type. So the apache proxy suppose that the content-type is
text and send to firefox this wrong information. And this way, firefox
displays the page as a text file and not an html one.

To correct this, I modified fricorder-web.py:

306a307,308
>           # Patch JFL
>             web.header("Content-type","text/html")  
309a312,313
>           # Patch JFL
>             web.header("Content-type","text/html")  

(I attached the patch to this post)

Maybe this problem is already solved in newer version of Fricorder.

What version of the product are you using? On what operating system?

Fricored 0.6
Operating system: debian testing

Thanks for fricorder :)

Jean-Francois Lalande
fricorder-web.py.diff
168 bytes   View   Download
Oct 15, 2008
Project Member #1 manat...@gmail.com
accepted
Status: Accepted