Angel Tsankov | 1 Mar 10:50 2006
Picon

isnstall lighttpd on Cygwin from sources

Has anyone managed to compile and install lighttpd 1.4.10 on Cygwin from source? If so, could you please
tell me how you did it?
Here's what I tried from command prompt:

perl configure --prefix=/usr
make
make install

Teh lighttpd.exe file is copied to /usr/sbin but the mod_*.dll files are not and when I start the daemon I get
this in the log file:
2006-03-01 11:29:47: (plugin.c.165) dlopen() failed for: /usr/lib/mod_access.dll No such file or directory

2006-03-01 11:29:47: (server.c.583) loading plugins finally failed

Neale Pickett | 1 Mar 18:22 2006
X-Face

Lighttpd 1.4.10 still hanging on write()

Seems like this happens about once a day, forcing me to restart.
Is there anything else useful I should be providing in this bug
report?

Would it be possible to have the pipes non-blocking?  While FCGI would
probably still be broken, at least the rest of the server would still
respond.

fozzie:/home/neale# dpkg -l lighttpd
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  lighttpd       1.4.10-4       A fast webserver with minimal memory footpri
fozzie:/home/neale# pidof lighttpd
16269
fozzie:/home/neale# strace -p 16269
Process 16269 attached - interrupt to quit
write(9, "t\24O\307\240\221\26\372\315:\271\300\36\177\265\263o\365"..., 44761 <unfinished ...>
Process 16269 detached
fozzie:/home/neale# ls -l /proc/16269/fd/
total 12
lr-x------  1 root root 64 2006-03-01 10:12 0 -> /dev/null
l-wx------  1 root root 64 2006-03-01 10:12 1 -> /dev/null
l-wx------  1 root root 64 2006-03-01 10:12 2 -> /dev/null
l-wx------  1 root root 64 2006-03-01 10:12 3 -> /var/log/lighttpd/access.log
lrwx------  1 root root 64 2006-03-01 10:12 4 -> socket:[2304788]
lrwx------  1 root root 64 2006-03-01 10:12 5 -> socket:[2304789]
l-wx------  1 root root 64 2006-03-01 10:12 6 -> /var/log/lighttpd/error.log
(Continue reading)

Jan Kneschke | 2 Mar 15:31 2006
Picon

SECURITY: source file retrival on windows


Dear users,

the researchers at Secunia have found a vulnerability on lighttpd on
windows. All versions running on windows up to 1.4.10 are affected.

http://secunia.com/advisories/18886/

Please upgrade to 1.4.10a provided by Kevin:

http://www.kevinworthington.com:8181/ 

Please note:

This is a windows specific problem, no other platforms are affected.

The fix is in svn for some time now and will be (in a modified form) be
part of 1.4.11.

    Jan

--

-- 
Jan Kneschke                                     http://jan.kneschke.de/
Perhaps you want to say 'thank you, jan':    http://jk.123.org/wishlist/

Jay | 2 Mar 19:51 2006
Picon

fastcgi authorizer howto

Is anyone familiar with fastcgi authorizer code?
Is there a good explanation of how it's used (with lighttpd) anywhere?

Thanks!

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Clay Loveless | 5 Mar 04:52 2006

storage-memcache

Hi,

I'm brand-new to lighttpd, and am in the process of setting up a test
environment. I'm building from source on a Mac OS X Intel-based machine, so
building from source is the only way to go.

Everything is going well enough, though for some reason I'm not able to get
lighttpd to declare storage-memcache as an enabled feature in configuration.

memcached 1.1.12 is installed on my system and working properly, but here's
the relevant snippet from my configure output:

checking for sqlite3... yes
checking SQLITE_CFLAGS... -I/usr/local/include
checking SQLITE_LIBS... -L/usr/local/lib -lsqlite3
checking for gdbm... no
checking for memcache... yes
checking for mc_new in -lmemcache... no
checking for lua... yes
checking for lua-config... no
checking for lua_open in -llua... no
checking for lua... yes
checking LUA_CFLAGS... -I/usr/local/include
checking LUA_LIBS... -L/usr/local/lib -llua -lm

I'm stumped on this -- I can't seem to find a libmemcache on my system,
which may indicate a memcache installation problem of some kind... ?

Thanks in advance for any assistance, would really like to be leveraging
memcache to the max.
(Continue reading)

Pat Maddox | 5 Mar 09:02 2006
Picon

26 requests/sec to a static file

I'm getting 26 req/s on a static file.  Not sure why it's so slow, I
could really use some help.  Running lighty 1.4.10 on FreeBSD 6.0.
Server is a basically unused AMD Barton 3000+ with a gig of RAM, hosted
at a data center.

-bash-2.05b$ ab -c 9 -n 500 http://72.21.52.134/hello.html

Benchmarking 72.21.52.134 (be patient)
...
Finished 500 requests

Server Software:        lighttpd
Server Hostname:        72.21.52.134
Server Port:            80

Document Path:          /hello.html
Document Length:        13 bytes

Concurrency Level:      9
Time taken for tests:   19.78523 seconds
Complete requests:      500
Failed requests:        0
Write errors:           0
Total transferred:      119500 bytes
HTML transferred:       6500 bytes
Requests per second:    26.21 [#/sec] (mean)
Time per request:       343.413 [ms] (mean)
Time per request:       38.157 [ms] (mean, across all concurrent
requests)
Transfer rate:          6.08 [Kbytes/sec] received
(Continue reading)

Bart Braem | 5 Mar 11:43 2006
Picon

Partly URL redirection/proxying to another port

Hello,

Is it possible to redirect requests on a certain url to a local server on a
different port? Something like www.somewhere.com/something to
localhost:8080 and www.somewhere.com/something/extended/version to
localhost:8080/extended/version.
I can't use virtual hosting there I guess, how about url rewriting?
I am trying to run multiple rails instances transparently for users this way
and I can't use subdomains...

Bart

Miki Tebeka | 5 Mar 12:58 2006

Re: isnstall lighttpd on Cygwin from sources

Hello Angel,

> Has anyone managed to compile and install lighttpd 1.4.10 on Cygwin from 
> source? If so, could you please tell me how you did it?
> Here's what I tried from command prompt:
> 
> perl configure --prefix=/usr
> make
> make install
> 
> Teh lighttpd.exe file is copied to /usr/sbin but the mod_*.dll files are 
> not and when I start the daemon I get this in the log file:
> 2006-03-01 11:29:47: (plugin.c.165) dlopen() failed for: 
> /usr/lib/mod_access.dll No such file or directory
> 
> 2006-03-01 11:29:47: (server.c.583) loading plugins finally failed
./configure --prefix=/usr --with-pcre --with-openssl
make
make install

worked for me. All the dll's are in /usr/lib.

Try `chmod +x /usr/lib/mod_*.dll`, also make sure you are mounted in binary
format.

Bye.
--
------------------------------------------------------------------------
Miki Tebeka <mtebeka <at> qualcomm.com>
http://tebeka.bizhat.com
(Continue reading)

Ryan Schmidt | 5 Mar 14:52 2006

Re: Partly URL redirection/proxying to another port

On Mar 5, 2006, at 11:43, Bart Braem wrote:

> Is it possible to redirect requests on a certain url to a local  
> server on a
> different port? Something like www.somewhere.com/something to
> localhost:8080 and www.somewhere.com/something/extended/version to
> localhost:8080/extended/version.

Sure.

$HTTP["host"] == "www.somewhere.com" {
	server.document-root = "/for/everything/except/something/"
	proxy.server = ( "/something" =>
		(
			(
				"host" => "127.0.0.1",
				"port" => 8080
			)
		)
	)
}

Pete Lavetsky | 6 Mar 00:25 2006

Re: 26 requests/sec to a static file

Pat Maddox wrote:

>I'm getting 26 req/s on a static file.  Not sure why it's so slow, I
>could really use some help.  Running lighty 1.4.10 on FreeBSD 6.0.
>Server is a basically unused AMD Barton 3000+ with a gig of RAM, hosted
>at a data center.
>
>-bash-2.05b$ ab -c 9 -n 500 http://72.21.52.134/hello.html
>
>  
>
This is probably just normal network traffic slowing down your numbers 
... if you have access to the machine, try replacing the real IP with 
127.0.0.1 and you'll probably see the numbers you're looking for.

Pete


Gmane