Name

PostURL — specify URL for POST requests

SYNOPSIS

URL

DESCRIPTION

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.

DIRECTIVE TYPE AND DEFAULT VALUE

Catalog directive

EXAMPLES

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

NOTES

PostURL value can also be a relative path, with or without the protocol and hostname specification.

AVAILABILITY

PostURL is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 574

['PostURL',          'url',              ''],

Source: lib/Vend/Config.pm
Line 3983 (context shows lines 3983-3987)

sub parse_url {
my($var, $value) = @_;
$value =~ s,/+$,,;
$value;
}

AUTHORS

Mike Heins

SEE ALSO

SecurePostURL(7ic), VendURL(7ic), SecureURL(7ic)

DocBook! Interchange!