Can anyone confirm if remaps works on form submission. We have a branch for managing forms, SecureForms/WORKAREA/docs/, which contains HTML forms (perl, cgi), which execute scripts in the cgi-bin sub-branch, SecureForms/cgi-bin/WORKAREA/formscgi/. Our HTML forms call the script, which all needs to write form data to an output CSV .txt file, and return a "thank you" HTML response page to the citizen. Both the text file and the 'thank you" response page files cannot be found once theform "submit" is executed. The HTML form can find the cgi-bin .pl file, however, it loses the ability to remap back to the SecureForms/WORKAREA/docs/ folders to server the response page and update the CSV .txt file. I have tried placing both the response HTML file and the .txt file under the formscgi workarea too and it can't be found anywhere within the branch.
Note the following changes made:
"1. Following changes made to /etc/iw.cfg to remap any request for scripts to formscgi workarea or staging:
[iwproxy_preconnect_remap]
_regex=(.*)/SecureForms/WORKAREA/(.*)/cgi-bin/(.*)=/iw-mount/default/main/SecureForms/cgi-bin/WORKAREA/formscgi/$3
_regex=(.*)/SecureForms/STAGING/cgi-bin/(.*)=/iw-mount/default/main/SecureForms/cgi-bin/STAGING/$2
The remapping only works for relative links on any file under SecureForms branch and will not remap absolute links from
https://meteor.sannet.gov/ from any other branch.'
**This doesn't appear to be completely relative between the SecureForms and the SecureForms/cgi-bin files.
Can someone offer any insight to this issue?
Thank you!