Reverse-Proxying Mod_proxy_core
$HTTP["url"] =~ "^/proxyme(/|$)" { proxy-core.balancer = "round-robin" proxy-core.protocol = "http" proxy-core.backends = ( "en.wikipedia.org" ) proxy-core.rewrite-response = ( "Location" => ( "^http://en.wikipedia.org/(.*)" => "http://127.0.0.1:1025/proxyme/$1" ), ) proxy-core.rewrite-request = ( "_uri" => ( "^/proxyme/?(.*)" => "/$1" ), "Host" => ( ".*" => "en.wikipedia.org" ), ) }
Mod_proxy_core Commited to Svn
server.modules = ( ..., "mod_proxy_core", .. ) ## works $HTTP["url"] =~ "^/proxyme/" { proxy-core.balancer = "round-robin" proxy-core.protocol = "http" proxy-core.backends = ( "wikipedia.org" ) ## to be done proxy-core.rewrite-response = ( "Location" => ( "^http://en.wikipedia.org/(.*)" => "http://127.0.0.1:1025/$1" ) ) proxy-core.rewrite-request = ( "URI" => ( "^/proxyme(/.*)" => "$1" ) ) }
The New Mod_proxy_core
X-Sendfile
What I Learned at the Railsconf
Lighty on Win32
Lighty at the Railsconf
A Interactive PHP-Shell
I was always jealous of iruby and ipython, the interactive shells for Ruby and Python. Instead of writing a script and running it through the interpreters you just execute the script line-by-line while you write it.
For debugging this is great. Compare a shell-script against the normal shell usage. It is more a ‘What if I …’ pattern instead of ‘I can write 100 lines of code without testing it’.
PHP was missing a powerful shell for a long time now. I needed one for my team at work and ‘php -a’, the interactive shell of PHP 5.0.x, is still not able to handle basic FATAL errors like ‘Function foo() not found’. So I wrote a php based interactive php-shell
One More Opcache for Php (Preview)
I’m sure you use lighttpd because of performance and scalability, and many of you run php too. I’m please to introduce you another opcode cache for php.
Yes, another.
The preview version is deprecated. please check //trac.lighttpd.net/xcache/wiki/GettingSource to get newer source.
and report problems at //trac.lighttpd.net/xcache/newticket