Archive for July, 2009

how to use nginx to create static files from dynamic content

Serving static files is much faster than that of dynamic content – even if some parts of it are stored by memcached or assembled by the help of means such as varnish.

Here is how to utilize nginx proxy module to cache outputs as static files. For example for your old (read-only) wiki pages, trac documentation or even old wordpress blog posts. An example for the latter: Read more »

webservers soo 2001 – and what’s in today

To admit it, I was inclined to title this post “from Europe/Russia with love”, but technology should not be seen national and nginx, Varnish and MonetDB are few of many products I am going to mention.

Here’s “nginx” pronounced like you would say “Jeanny”: “Jeannix”.

Let me turn tendencies into trends and provide me you with what I call the weather forecast of technology: Read more »

Windows 7 RC ate my MP3s

Just a quick post about Windows 7 RC (build 7100, with latest patches, from the MSDNAA) having destroyed some  MP3:

I’ve copied by remote desktop a few MP3s from my desktop computer to my notebook into the “music library”. The first files were uncorrupted, but after I have transferred the third one it had the right name but wrong content – namely those of an already present track!

Then, I have transferred it sucessfully again by copying it into the C:\users\me\music folder (i.e., not into the library by selecting it in explorer and pasting the files in its right pane). The fourth file took long to copy and – not even appeared in that folder. Very annoying.

APR on OpenSuSE and symbol lookup errors

OpenSuSE, Apache start: apr_ldap_ssl_init unresolved symbol for no apparent reason

Just a week ago I’ve switched a webserver installation from using files for authentication (.htpasswd and such) to polling user accounts from MySQL tables. This has the advantage of re-using existing user administration (such as in forums), implementing finer policies due to SQL commands or using features such as automatic account expiry (SQL: WHERE ... AND expiry IS NULL OR expriy <= UNIX_TIMESTAMP()).

With Apache 1.3 and even 2.0 I’ve used mod_auth_mysql for this, but since Apache httpd 2.2 mod authn_dbd became usable. Unfortunately the version shipped with OpenSuSE 11.1 was linked against an old MySQL version, therefore I’ve had to compile apr and apr-util for libapr-util1-dbd-mysql again.

Obviously there are more like me (see here for other troubleshooting), as this error seems to occur frequently at starting Apache:

/usr/sbin/httpd2-worker: symbol lookup error: /usr/sbin/httpd2-worker: undefined symbol: apr_ldap_ssl_init

Read more »

Next Page »