HREF to same server, different port

Steve Holden sholden at holdenweb.com
Thu Jun 14 07:46:05 EDT 2001


I was afraid someone would say that. Dammit, this is supposed to be pure
HTML, so I was hoping to rely only on browser behavior. Thanks for the
information, anyway. Javascript here I come...

regards
 Steve
--

http://www.holdenweb.com/

"Greg Jorgensen" <gregj at pobox.com> wrote in message
news:4vZV6.166230$p33.3509665 at news1.sttls1.wa.home.com...
> Relative HTTP URLs are relative to the host header portion of the URL, so
a
> relative URL can't specify a different scheme, host, or port. You'll have
to
> take the URL apart, change the port number (or add it), and use the
> resulting absolute URL.
>
>
> --
> Greg Jorgensen
> PDXperts LLC
> Portland, Oregon, USA
> gregj at pobox.com
>
>
>
> "Steve Holden" <sholden at holdenweb.com> wrote in message
> news:OWi6PtJ9AHA.281 at cpmsnbbsa07...
> > Sorry this is off-topic, but I'm trying to create a relative url to a
> > different port on the same server (inheriting the server name or address
> > from the current URL). I've tried //:8081/ and :8081/ and neither works.
> >
> > ANyone tell me how?
> >
> > regards
> >  Steve
> > --
> >
> > http://www.holdenweb.com/
> >
>
>




More information about the Python-list mailing list