chricke/php5rp_ng — pull request #2 by drkibitz (2013-07-27 07:48:23+00:00)
Title: $base_uri argument, and cleanup

I added a the `$base_uri` argument for this example:

- **url**: `http://external.example.org/handler-base/path/to/resource`
- **proxy_url**: `http://internal.example.org/proxy-base`
- **translated_url**: `http://internal.example.org/proxy-base/reverse/path/to/resource`

`base/of/proxy` is where the `.htaccess` and `index.php` lives.

Without stripping the **base_uri**, the **translated_url** looks like:

http://internal.example.org/proxy-base/handler-base/path/to/resource

The whitespace cleanup just came with saving from my IDE.

---

I'm not sure how you feel about pull requests or if you are interested in doing a little more with this project, please let me know, and thanks!