httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Axel-St├ęphane SMORGRAV <Axel-Stephane.SMORG...@europe.adp.com>
Subject RE: [users@httpd] reverse proxy with Apache 2.0
Date Wed, 07 Dec 2005 07:39:03 GMT
Yes, but the thing is that since no proxy rule tells the reverse proxy to forward the request
to the back end, i.e. https://myserver/doc-literal, the reverse proxy will look for a file
beneath it's document root that matches the URL path.

If you now replace "RewriteRule ^/services/doc-literal https://myserver/doc-literal [P]" with
"RewriteRule ^/doc-literal(.*) https://myserver/doc-literal$1 [P]", you may get the desired
behaviour...

-ascs

-----Original Message-----
From: Suzy Fynes [mailto:suzanne.fynes@sentenial.ie] 
Sent: Tuesday, December 06, 2005 8:09 PM
To: users@httpd.apache.org
Subject: RE: [users@httpd] reverse proxy with Apache 2.0

I'm trying to access a service though not a file or webpage so there would be a file to access.


-----Original Message-----
From: Axel-St├ęphane SMORGRAV
[mailto:Axel-Stephane.SMORGRAV@europe.adp.com]
Sent: 06 December 2005 16:02
To: users@httpd.apache.org
Subject: RE: [users@httpd] reverse proxy with Apache 2.0

That says it all, doesn't it?

There are no rules to proxy /doc-literal to the back end... so the request ends up with a
HTTP 404 response: file not found. So either the URL is wrong, or another rule must be added.


-ascs

-----Original Message-----
From: Suzy Fynes [mailto:suzanne.fynes@sentenial.ie]
Sent: Tuesday, December 06, 2005 4:52 PM
To: users@httpd.apache.org
Subject: RE: [users@httpd] reverse proxy with Apache 2.0

Hi,

Thanks a million for your help!! Got some logging working now but only when I try to access
through a internet explorer. Its another service that I'm reverse proxying to so it will inaccessible
through explorer.
Getting the following in my logs when connecting via web page


- - [06/Dec/2005:15:30:04 +0000]
[beta.testing.ie/sid#a0e6980][rid#a270478/initial] (2) init rewrite engine with requested
uri /doc-literal
- - [06/Dec/2005:15:30:04 +0000]
[beta.testing.ie/sid#a0e6980][rid#a270478/initial] (3) applying pattern '^/service/doc-literal'
to uri '/doc-literal'
- - [06/Dec/2005:15:30:04 +0000]
[beta.testing.ie/sid#a0e6980][rid#a270478/initial] (1) pass through /doc-literal
- - [06/Dec/2005:15:30:04 +0000]
[beta.testing.ie/sid#a0e6980][rid#a286c78/initial/redir#1] (2) init rewrite engine with requested
uri /404.htm

---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org





---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message