How are requested URIs translated into local resource names? (where is the "ap_run_translate_name" function?)

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

 



Hi, all,

Happy new year!!!

I'm trying to understand how are the requested URIs translated into local resource names in Apache. For example, how does Apache know which resource name the "http"//XXX/image/test.png" points to. What if we use "Alias" or "Redirect" directives?

I looked at the request.c file. It seems such job is done by the function "ap_run_translate_name()" and "ap_run_map_to_storage()". However, I cannot find the definition or implementation of these functions at all. It only appears in exports.c and httpd.exp. Both of them are not the definition/implementation of these functions.

Could anyone tell me how can I find the implementation of the function "ap_run_translate_name" and "ap_run_map_to_storage"?

Thanks a lot for your help!!

Best regards,
Tianyin

 
-- 
Tianyin XU,
http://cseweb.ucsd.edu/~tixu/


[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