News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Brian Nelson's Blog:
Reverse Proxy in PHP5, Rev2
July 24, 2007 @ 08:46:00

Brian Nelson has posted a follow-up to his previous article on creating a reverse proxy with PHP5, this time expanding on the functionality of it and reworking some to increase performance.

It's gotten a bit more complex; The proxy handler didn't pass all the client headers to the proxy server. This caused problems with having the wrong client type, no Etag caching, cookie passing, etc. Here's the current rev, which solves a lot of these issues.

The complete code for the proxy class included in the post and a note was added that there's now a Google Code project that's been created for it (svn repository).

6 comments voice your opinion now!
reverse proxy class php5 handler client cookie reverse proxy class php5 handler client cookie


blog comments powered by Disqus

Similar Posts

Adam Trachtenberg's Blog: PHP 5 + COM + Skype Help Wanted

Phil Sturgeon's Blog: CodeIgniter Base Classes: Keeping it DRY

DevShed: Working with the Tidy Library in PHP 5

Arnold Daniels' Blog: Wrong PHP prediction: you donít need to patch PHP to run multiple versions

FCHouse.com: Debugging PHP5 with Eclipse PDT under OSX: a piece of cake!


Community Events











Don't see your event here?
Let us know!


unittest component security application example symfony2 package introduction release hack hhvm language overview code podcast facebook opinion composer install framework

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework