Web Programming

Testing HTTPS with openssl

` $ openssl s_client -connect localhost:443 CONNECTED(00000003) …lots of certificate-related stuff here… GET / HTTP/1.0 HTTP/1.1 200 OK Date: Mon, 04 Feb 2008 09:19:01 GMT Server: Apache/2.2.7 (Unix) mod_ssl/2.2.7 OpenSSL/0.9.7l DAV/2 mod_python/3.3.1 Python/2.5.1 Last-Modified: Sat, 20 Nov 2004 20:16:24 GMT Accept-Ranges: bytes Content-Length: 44 Connection: close Content-Type: text/html It works! Connection closed by foreign host. ` Thanks to http://blog.yimingliu.com/ for posting this… http://blog.yimingliu.com/2008/02/04/testing-https-with-openssl/

Django for Python websites

I’ve just taken a look at Django for the first time, and am seriously impressed. For a while now, I’ve been trying to find a way of using Python in websites, and haven’t found anything that works well enough - Zope, Cheetah, mod_python - all seem very difficult to get the simplest thing working… But Django looks like the answer. The guys behind Django have produced a very useful tutorial to help you get going with it, and the users mailing list seems very responsive…