how can I get the current url

Moshe Zadka moshez at zadka.site.co.il
Tue Jan 16 20:43:31 EST 2001


On Tue, 16 Jan 2001 17:08:19 GMT, rschlack at my-deja.com wrote:

> Please help.  I have 4 domains pointing to the
> same IP.  I want my index.html page to determine
> the current domain so that I can change the
> headers and footers accordingly.

I'm not sure how index.html would "determine" anything, but
the browser sends the hostname in the "Host:" header. How
to get at that depends on the technology you're using
to program index.html.

-- 
Moshe Zadka <sig at zadka.site.co.il>
This is a signature anti-virus. 
Please stop the spread of signature viruses!




More information about the Python-list mailing list