[users@httpd] Subrequests to the web

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux