Time for another enhancement for the Apache web server. If you followed my other 2 Apache postings, you will have a secure web server configuration which has SSL enabled and is monitored by the mod_security application level firewall. Now it is time to setup the WebDAV module so that you can use your web server as an external file storage.
Monthly Archives: October 2007
Coupon for german Amazon store
This might be interesting for all of you, who want to order Leopard in Germany. If you use the following coupon code during the ordering process, you will get a 10 Euro discount on Leopard at amazon.de:
AMZNLPRDAPPL
This offer is valid until November 1st.
Leopard is coming
Today Apple officially announced that OSX 10.5 alias Leopard will hit the stores on October 26th. Leopard has more than 300 new features compared to 10.4. Take a look at the link for a nice summary of the new features. I do especially like the new Xcode features.
Layout PDF documents in Java with iText
iText is a free Java library for generating PDF documents inside your own applications. The library is easy to use and can produce great results with only little programming. The basic usage is pretty simple. Let’s take a look at a small “Hello World” application:
Document document = new Document(); try { PdfWriter.getInstance(document, new FileOutputStream("output.pdf")); document.open(); document.add(new Paragraph("Hello World")); } catch (Exception e) { } document.close();
Creating a new document object will initialize a new PDF document with A4 dimensions. The PdfWriter will be used to write the resulting document to an OutputStream, which is in the above example a file. After opening the document you can just add new paragraphs to the document.
Back from vacation
Just a quick note to let you know, that this blog is not dead
. I have been on vacation the last 3 weeks and just got back. As soon as things settle down a bit, you can expect regular postings again.