I read the last 2 hours a big part of the Mailing List according to:
"Following 301 & 302 Requests" and couldn't really figure out if there
exists a version of ht://Dig which supports e.g.:
A PHP script which uses the Header -> Location in combination with relative
Although this is not the correct syntax for declaring the Location-Header,
of the relative URL, I would be very intersted in a workaround.
On Wednesday 23 October 2002 10:42, WASSILIOS.ALEXOPOULOS@... w=
> Hi All,
> I read the last 2 hours a big part of the Mailing List according to:
> "Following 301 & 302 Requests" and couldn't really figure out if there
> exists a version of ht://Dig which supports e.g.:
> A PHP script which uses the Header -> Location in combination with rela=
AFAIK, 301/302 requests explicitly require an absolute URL.
If you use PHP for generating the redirect header information, you should=
build the absolute URL with the server variables $SERVER_NAME and=20
There is no problem processing *absolute* redirections in ht://Dig.
Most browsers, however, try to be "smart" and tolerate the violation of t=
header format, i.e. accept it and build the absolute URL themselves.
A few (like Lynx) can process it, but give notice that this is not standa=
InWise - Wirtschaftlich-Wissenschaftlicher Internet Service GmbH
Waldhofstra=DFe 14 Tel: +49-4101-403605
D-25474 Ellerbek Fax: +49-4101-403606
E-Mail: info@... Internet: http://www.inwise.de