Re: CGI URLs in HREFs
Andrew Daviel (andrew@andrew.triumf.ca)
Mon, 14 Jul 1997 20:27:50 -0700 (PDT)
Date: Mon, 14 Jul 1997 20:27:50 -0700 (PDT)
From: Andrew Daviel <andrew@andrew.triumf.ca>
To: www-html@w3.org
Subject: Re: CGI URLs in HREFs
In-Reply-To: <9DNyz4uYOxOD089yn@htmlhelp.com>
Message-ID: <Pine.LNX.3.95.970714201238.26464M-100000@andrew.triumf.ca>
RFC1945 and RFC2068 (HTTP) say ...
relativeURI = net_path | abs_path | rel_path
rel_path = [ path ] [ ";" params ] [ "?" query ]
params = param *( ";" param )
param = *( pchar | "/" )
which would imply a valid URL like
http://some.org:80/script/path;p1=42;p2:a=4&b=5?q1=6&q2=7
but I don't recollect seeing any URLs using this ....
If I try it in Apache 1.2.0,
PATH_INFO is /path;p1=42;p2:a=4&b=5 and
QUERY_STRING is q1=6&q2=7
so one could quite easily parse the "params" from PATH_INFO
Andrew Daviel