It seems as though lighttpd is more flexible with required libs than some other applications are, so that might be possible. Haven't tested yet, but I do know that some external libs are not required simply to start the server with a minimum of modules loaded. I had a build that included xml support, and it started in DSL without a hitch. Then realized that DSL apparently doesn't even have libxml. I never thought about the possibility of making modules of additional libs.
In any case, it seems that libssl in DSL is the same version that I have on my dev system, so that should not add much at all to the file size (i assume). The dev system has both libgdbm.so.2 and 3, and DSL has so.2, so I should be able to get that supported without including an extra lib. Neither ldap or fam is in DSL, although they're not very large files. I just hope they do not have additional dependencies themselves.
Maybe I'll try a build with everything but mysql supported, and see if it will run without including the libs themselves....
This is kinda fun, even though I'm only testing localhost. I haven't had a personal webserver running in years. After this I might need to test a couple of other light servers to compare (yeah...already compared monkey...hated it immediately due to extreme lack of documentation )
One of these days I'm going to build myself a complete DSL development system so i won't need to be concerned about incompatible lib versions...
Quote (mikshaw @ Sep. 30 2006,04:34)
(yeah...already compared monkey...hated it immediately due to extreme lack of documentation )
Only documentation it has is in /opt/monkey/conf/* -files.
I like monkey because it's very simple. And with PHP support it's kinda neat. But it has some really irritating bugs. In example: You can't browse pages on monkey server if you clicked a link from another server and you browser sends referer information.Speaking of web servers: http://www-128.ibm.com/developerworks/eserver/library/es-nweb.html Simple enough? ;)