On 8/9/06, Bill Moseley <[EMAIL PROTECTED]> wrote:
I'm wonder how to *not* proxy some content.

mod_rewrite to the rescue!

(Actually, I could probably *not* proxy any request that has an
extension ([^/]\.\w+$) that doesn't end in .html?  I.e.:

    /foo            - proxy
    /foo/           - proxy
    /foo/bar        - proxy
    /foo/bar.html   - proxy
    /foo/bar.123    - don't proxy

This is probably the easiest approach.

RewriteEngine On
RewriteCond %{REQUEST_URI} !(jpe?g|gif|png)$
RewriteRule (.+) http://localhost:10080$1 [P]
ProxyPassReverse / http://localhost:10080/

--
noodl

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to