Port 80 error : Unrecognized html request:

View: New views
3 Messages — Rating Filter:   Alert me  

Port 80 error : Unrecognized html request:

by Rob M-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Greetings,


After operating Misterhouse on Mandriva for about 4 years, I decided to upgrade my server and at the same time switched over to Ubuntu. On Mandriva, I had the port set for :1080 and this has worked flawlessly with Zoneminder operating under port 80. However, I would like to serve Misterhouse on :80 on the new server. When I set the http_port = 80, I get an endless series of error messages:


Unrecognized html request: get_req=/misc/failed_request.shtml get_arg= header= GET /misc/failed_request.shtml HTTP/1.1


If I use http_port=1080, everything is perfectly quite as before.


My directory structure is


/home/rob/misterhouse

   data

   web(identical to the distribution directory)

   rob

   mh(2.105)

     bin

     code

     data

     docs

     lib

     sounds

     web


I have run this with and without the zoneminder server running, with and without Apache2 000_default and ports.conf port settings on 1080 and 8080. The errors always occur when Misterhouse http_port =80.


Any ideas?


Rob



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
________________________________________________________
To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365


Re: Port 80 error : Unrecognized html request:

by Seann Clark :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Rob M wrote:

>
> Greetings,
>
>
> After operating Misterhouse on Mandriva for about 4 years, I decided
> to upgrade my server and at the same time switched over to Ubuntu. On
> Mandriva, I had the port set for :1080 and this has worked flawlessly
> with Zoneminder operating under port 80. However, I would like to
> serve Misterhouse on :80 on the new server. When I set the http_port =
> 80, I get an endless series of error messages:
>
>
> Unrecognized html request: get_req=/misc/failed_request.shtml get_arg=
> header= GET /misc/failed_request.shtml HTTP/1.1
>
>
> If I use http_port=1080, everything is perfectly quite as before.
>
>
> My directory structure is
>
>
> /home/rob/misterhouse
>
>    data
>
>    web(identical to the distribution directory)
>
>    rob
>
>    mh(2.105)
>
>      bin
>
>      code
>
>      data
>
>      docs
>
>      lib
>
>      sounds
>
>      web
>
>
> I have run this with and without the zoneminder server running, with
> and without Apache2 000_default and ports.conf port settings on 1080
> and 8080. The errors always occur when Misterhouse http_port =80.
>
>
> Any ideas?
>
>
> Rob
>
Just a stab in the dark, but if you are running that as anything other
than root, you can't bind to port 80, you can only bind to
non-privileged ports, like 1080, and 8080. Try running MH as root, or
use Apache2 to proxy down to port 80 (I have mine set up like this on
CentOS 5 and it works flawlessly, even with MH at a high port, and other
web services running on the box).


~Seann

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
________________________________________________________
To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365


Re: Port 80 error : Unrecognized html request:

by Rob M-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Seann Clark <nombrandue <at> tsukinokage.net> writes:



> Just a stab in the dark, but if you are running that as anything other
> than root, you can't bind to port 80, you can only bind to
> non-privileged ports, like 1080, and 8080. Try running MH as root, or
> use Apache2 to proxy down to port 80 (I have mine set up like this on
> CentOS 5 and it works flawlessly, even with MH at a high port, and other
> web services running on the box).
>
> ~Seann
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ________________________________________________________
> To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365
>
>

Seann

Thanks for the stab.  Ubuntu forces me to use sudo with ./mhl.  I did switch
over to root and start ./mhl with same results.  Just to be clear, I am able to
access the web interface on MH via port 80 but the error messages start piling
up in the terminal window.  I assume I am "bound" to 80 since I am able to
access the web page.

Rob



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
________________________________________________________
To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365