phaze9dezign - Solving problems.
Lighttpd: Log File Rotation

Lighttpd will drastically reduce the load on your web server compared to Apache. But unlike Apache it does not come preinstalled and preconfigured on your Linux server. After you get it up and running, you’ll probably notice the access.log file growing out of control. Here’s how to configure logrotate for lighty.

Store the configuration in a new file /etc/logrotate.d/lighttpd

More info on the configuration if needed.

Run the logrotate daemon manually to test: logrotate -vf /etc/logrotate.conf

If you install Lighttpd via the Debian package, log rotation is configured automatically. Migrating from Apache to lighty

Titanium Studio: Local Packaging

Appcelerator’s Titanium Studio is a great tool for developing cross-platform mobile and desktop applications efficiently using JavaScript. However the packaging servers are often overloaded when you are ready to ship your product to the masses.

If you get one of these (or similar) errors, try packaging locally instead.

Here’s the options offered by tibuild.py.

Putting it all together: How to build a Mac application including the necessary libraries.

Your packaged application should now be waiting for upload to the App Store in ~/tmp.

The -o win32 and -o linux options don’t work out of the box on Mac unfortunately. To create packages for other platforms you will need to export from the target operating system. This takes away a bit of the cross-platform development beauty, but any major application will need to be tested on each target platform anyway.