Absolute URI in non-proxy request requests to Apache

Absolute URI in non-proxy request requests to Apache

Post by nob.. » Tue, 25 Jan 2000 04:00:00



Can I persude Apache to accept absolute URI?

I'm not talking about proxying here - but requesting a document from
the origin server using the full URI.

The reason for this is that I want to have a single instance of Apache
acting as a Proxy and as an origin server without having to make sure
that all my local browsers know not to use the proxy for local
documents.

Without the proxy module loaded I see:

| GET http://www.wcl.bham.ac.uk/ HTTP/1.1
| Host: www.wcl.bham.ac.uk
|
| HTTP/1.0 403 Forbidden
| Date: Mon, 24 Jan 2000 16:56:02 GMT
| Server: Apache/1.3.6 (Unix)  (SuSE/Linux) mod_perl/1.19 mod_ssl/2.3.5 OpenSSL/0.9.3
| Connection: close
| Content-Type: text/html

With the proxy module loaded I see:

| GET http://www.wcl.bham.ac.uk/ HTTP/1.1
| Host: www.wcl.bham.ac.uk
|
| HTTP/1.0 404 Not Found
| Date: Mon, 24 Jan 2000 17:00:54 GMT
| Server: Apache/1.3.6 (Unix)  (SuSE/Linux) mod_perl/1.19 PHP/3.0.11 mod_ssl/2.3.5 OpenSSL/0.9.3
| Connection: close
| Content-Type: text/html

--
     \\   ( )
  .  _\\__[oo

 .  l___\\  
  # ll  l\\  
 ###LL  LL\\

 
 
 

Absolute URI in non-proxy request requests to Apache

Post by nob.. » Wed, 26 Jan 2000 04:00:00



> Can I persude Apache to accept absolute URI?

> I'm not talking about proxying here - but requesting a document from
> the origin server using the full URI.

Apparenly that's not actually allowed.  It just sounds from the HTTP
standard as if it is.  Hoever if the origin server is configured as a
proxy it should still work as the proxy should, in effect, forward the
request to itself.

Quote:> The reason for this is that I want to have a single instance of Apache
> acting as a Proxy and as an origin server without having to make sure
> that all my local browsers know not to use the proxy for local
> documents.

I've now found Apache problem reports 4488, 5290 decribe this same
bug.  Apparently it is an interaction with mod_perl.  This is however
not listed in the "known bugs" page.

--
     \\   ( )
  .  _\\__[oo

 .  l___\\  
  # ll  l\\  
 ###LL  LL\\

 
 
 

1. Apache Proxy server that will transform an HTTP request in a HTTPS request

Hello,

I'm looking for a software solution that can receive an HTTP request
and forwarding or proxying it in HTTPS.

For example : An application that makes https request but that can't
make https, will go through an Apache proxy that will encrypt the HTTP
request for the application and forward the request to the secure site
that will reply the same way.

 _____________              __________              ________
|             |            |          |            |        |
| Application | - HTTP --> | Apache   | - HTTPS -->| Secure |
|             |            | Proxy (?)|            | Site   |  
|_____________|            |__________|            |________|

IT's a bit like a SSL accelerator but working on the opposite way.

Is it possible with Apache ? How is it possible ? mod_ssl + mod_proxy
?

Thank you for your help.

Gilles.

2. Get "date '+%y%m%d'" for yesterday?

3. Request-URI Too Large on Apache/Linux

4. Firewalls

5. apache: how can I map all uri requests on domain to one cgi script?

6. Netscape v4.5 bugs

7. Can't process http/1.0 requests or proxy requests

8. mrtg error

9. How apache identify all requests coming from a request from one web page

10. Apache Proxy: Filtering *request* headers

11. Apache and redirecting requests to non-existent files

12. Apache question: redirecting proxy requests