Wrong redirection after submitting a form with HST or EasyForms

When you are redirected to a wrong port number, or wrong context path after submitting a form with HST or EasyForms, one of the following things might be the cause:

  • Missing write access to /formdata (hst:formdatacontainer) for the sitewriter user
  • Wrong hst:virtualhosts configuration

Missing write access to /formdata

Make sure the sitewriter user has write access to the correct nodes. See Setting HST siteuser permissions

Wrong hst:virtualhosts configuration

We need to distinguish between two use cases:

  • Requesting the application directly without proxy
  • Running behind httpd or some proxy

Requesting the application directly without proxy

Make sure the properties  hst:showport and hst:showcontextpath are both set to true

Running behind httpd or some proxy

Depending on your httpd settings, set hst:showport and/or hst:showcontextpath to true or false

Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?