Hi there,

I'm an Apache newbie, and currently writing a filter that uses
subrequests and runs them (in order to get a response)

When the subrequests are sent for content located on my server,
there's no problem. I get the response back to the right place and
everything works fine.
When I'm trying to send a subrequest to the web, I get back a 403
forbidden status. The main request in this case is sent to the web and
return with a response. (I got mod_proxy and mod_proxy_http running)

I added some logs and it seems like all relative path subrequests are
relative to the local root directory, even though the original request
was to a remote host. (and the request_rec delivered to
ap_sub_req_lookup_uri contains that remote host)
Another thing I saw is that the absolute url web subrequests fail at
apr_filepath_merge called from ap_core_translate.

Is there something I'm missing here? Is it a well-known fact that
apache's subrequest mechanism is intended only for local content, or
am I just not using it well?

Thanks in advance,
Yoav

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