Project

General

Profile

This site can't be reached

Added by wagnered over 3 years ago

I am a developer for the Ampache multimedia platform and only use lighttpd for development. It had been working.

I enter the url: http://localhost:4000 and I get "http://localhost/login.php" (missing port) in the address bar and the above message.

lighttpd/1.4.53 (ssl) but I built 1.4.55 with the same result.

I have ubuntu 18.1 installed on an Android device. Other servers ( Apache2, php -S) don't have this problem.

An app provides me with a basic firebug debugger. I wasn't able to see the headers, but I could see the <script> lines in the html. Every one had the message to the effect: "org.apache.http.conn couldn't be found.". I only saw this once as I cannot get logged in via lighttpd.

Ironically, if I set document root to a different project, I have no problem.

Does lighttpd incorporate any of the apache packages?

If anyone would like to try to duplicate this issue, Ampache can be found at https://GitHub.com/Ampache/Ampache.


Replies (1)

RE: This site can't be reached - Added by gstrauss over 3 years ago

I am a developer for the Ampache multimedia platform and only use lighttpd for development. It had been working.

I'm sure you expect this question: so what changed? What version were you using that worked? When did it last work?

If you can modify lighttpd.conf, then make sure you set server.errorlog and some DebugVariables such as debug.log-request-header-on-error and debug.log-response-header-on-error

Every one had the message to the effect: "org.apache.http.conn couldn't be found."

That is not produced by lighttpd.

Ironically, if I set document root to a different project, I have no problem.

What does "I have no problem" mean? That you can run PHP? Or that lighttpd serves static files? Or ...?
Did your PHP installation change?

Does lighttpd incorporate any of the apache packages?

What do you mean by that? Incorporate how? What kind of Apache packages? For convenience of the end user -- but not used by lighttpd -- lighttpd recommends the htpasswd tool from the Apache package for use from the command line, but does not "incorporate" Apache packages.

Please see How to get support and review all the pieces of information that you omitted from your post, and which, as a developer, you ought to have known better and included. Thank you.

    (1-1/1)