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:[EMAIL PROTECTED] 
Sent: Tuesday, December 06, 2005 8:09 PM
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] 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:[EMAIL PROTECTED]
Sent: 06 December 2005 16:02
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] 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:[EMAIL PROTECTED]
Sent: Tuesday, December 06, 2005 4:52 PM
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
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]



---------------------------------------------------------------------
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