rewrite rule with proxy, http headers

rewrite rule with proxy, http headers

Post by Maureen Fishe » Sat, 25 Aug 2001 01:32:28

is is possible to have a rewrite rule that proxies to a url on another
machine and still have the http_headers passed over? For example, we
need the remote_user and right now, it is not getting passed.
Is this something done with apache as a proxy server, instead?

Maureen Fisher, CIT/ASDT, Cornell University
Ithaca, NY 14850
Ad astra per aspera


1. rewrite rule for http URL -> https URL on specified directory

We have some directories which should only be accessed via https.  The
mod_ssl example in the "how to" section describes:

#   Force clients from the Internet to use HTTPS
      RewriteEngine        on
      RewriteCond          %{HTTPS} !=on
      RewriteRule          .* - [F]

That prevents http access, but does not redirect to an https URL.  So which
RewriteRule(s) does one use to tell the rewrite engine to do:

   http://machine/somepath/* -> https://machine/somepath/*



David Mathog

Manager, sequence analysis facility, biology division, Caltech

2. problem with lurkftp

3. IBM HTTP Server / Apache v Rewrite rules based on user authentification

4. oki 4w set up??

5. Rewrite rules do not work under HTTPS

6. porting openGL functions to Xlib

7. Howto rewrite HTTP response headers with Apache?

8. NFS Does not work

9. rewrite rules for apache proxy server

10. proxy and rewrite rule for illegal characters in URLs

11. Proxy Error rewrite rule....

12. apache http proxy - http/1.0 vs http/1.1

13. ftp client proxy ms proxy firewall http proxy unix