Archive for Category: unix
Some notes on how to use rewrite rules to create developer sandboxes in a single-server dev environment.
BASH script to colorize the output of SVN and CVS.
An interesting problem with Apache's mod_cache - even production in the 2.2.X branch - is that it does not cache mod_dir DirectoryIndex files. Here's the quick on how to forcefully redirect the user to a mod_cacheable page.
Notes on how to do flash remoting to a clustered Coldfusion flash gateway as served via Apache.
Some insight into the dreaded error: Connection reset by peer: proxy: prefetch request body failed.
Notes on problems when flash remoting to a clustered Coldfusion flash gateway as served via Apache.
Took a nice Canon network controlled camera, hacked around its control protocol a bit and here are my notes on how to control it via simple PHP socket code.
Here's a writeup on how to convert an MJPEG stream, specifically from a canon network controlled webcam, to FLV on the fly using FFMPEG and FFSERVER. This also duplicates the stream from the source and serves multiple streams to hungry clients, aka relay proxy.
This is a BASH script to aggregate clustered Apache log files (even compressed rotated log files) and process them via webalizer.