# if the extension .cfm or .cfc is found, followed by a slash and optional extra
if ($uri ~ "^(.+?\.cf[mc])(/.*)") {
# remember the filepath without path_info
set $script $1;
# set the custom path_info header
proxy_set_header XAJP-PATH-INFO $2;
# rewrite the url to match the filepath wthout path_info
rewrite ^.+$ $script break;
}Igal Sapir
Lucee Core Developer
Lucee.org
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/617F0C46-4141-4118-8B32-E9315F13B1A9%40ongevraagdadvies.nl.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/C392BEF7-7A1F-49E4-887E-24C970B401E4%40ongevraagdadvies.nl.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/C392BEF7-7A1F-49E4-887E-24C970B401E4%40ongevraagdadvies.nl.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/etPan.55ca2302.5904f4fd.1114%40jonclausen-mbp.local.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/55CA2403.6050601%40lucee.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/55CA1DBC.8000309%40lucee.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/D04E3635-87DD-45B2-8836-04C291B09B01%40ongevraagdadvies.nl.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/0662863E-2A70-40E2-A053-1AF4A623D5B5%40ongevraagdadvies.nl.