Re: trans-sid and Location: Header
| From: | Markus Fischer | Date: | Mon, 08 Oct 2001 02:03:40 +0000 |
| Subject: | Re: trans-sid and Location: Header | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-67514@lists.php.net to get a copy of this message | ||
On Wed, Jul 04, 2001 at 04:19:25PM +0200, Sascha Schumann wrote :
> On Wed, 4 Jul 2001, Björn Schotte wrote:
>
> > * Alexander Wagner wrote:
> > > Trans-sid doesn't work with complete URL beginning with
> > > "http://", does
> > > it? Aren't these regarded as external links?
> >
> > http://$HTTP_HOST/foo isn't a "relative"
> > link because
> > it's a "link" on the same web site.
>
> If you supply the AI to figure out whether we should regard
> an absolute URI as local and therefore append the SID to it,
> I'm sure we can find a way to implement it.
Don't flame me if this sounds dull, but at least the apache
webserver provide the hostname where its running. Wouldn't a
match be sufficient?
Treat it as local if no http is prepended and also treat it as
local if starts with http and matches the webservers host name
(includung things like port number, etc).
- Markus
--
Markus Fischer, http://guru.josefine.at/~mfischer/
EMail: mfischer@guru.josefine.at
PGP Public Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0
-All your scripts are belong to Zend-