ap_sub_req_lookup_file() should work, it's what mod_include uses when you have <!--#include file="/foo/bar"--> on your page. You might want to take a look at its source.
- ap_sub_req_lookup_file vs ap_sub_req_lookup_uri Peter Janovsky
- Re: ap_sub_req_lookup_file vs ap_sub_req_lookup_uri Ben Noordhuis
- Re: ap_sub_req_lookup_file vs ap_sub_req_lookup_ur... Peter Janovsky
- Re: ap_sub_req_lookup_file vs ap_sub_req_looku... Peter Janovsky
- Re: ap_sub_req_lookup_file vs ap_sub_req_l... Ben Noordhuis
- Re: ap_sub_req_lookup_file vs ap_sub_... Peter Janovsky