codegooglecom / php5rp

Automatically exported from code.google.com/p/php5rp
0 stars 0 forks source link

And here's an example .htaccess file:

RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f [NC] RewriteCond %{REQUEST_FILENAME} !-d [NC] RewriteCond %{REQUEST_URI} !^/index.php RewriteRule ^(.+)$ index.php/$1 [QSA]

And an example usage: $proxy = new ProxyHandler('http://publicsite.example.com','http://privatesite.example.com'); $proxy->execute();