PostURL — specify URL for POST requests
The directive specifies a catalog URL for POST form submissions.
This allows an automatically different path for GET and POST
requests, presuming you use the [process]
tag as
form action target.
Example: Setting PostURL
Put the following lines in catalog.cfg
:
VendURL http://myhost.mydomain.local/ SecureURL https://myhost.mydomain.local/ PostURL http://myhost.mydomain.local/cgi-bin/standard SecurePostURL https://myhost.mydomain.local/cgi-bin/standard
PostURL
value can also be a relative path, with or without the
protocol and hostname specification.
Interchange 5.9.0:
Source: lib/Vend/Config.pm
Line 4002 (context shows lines 4002-4006)
sub parse_url { my($var, $value) = @_; $value =~ s,/+$,,; $value; }