how can I get the current url

Sandipan Gangopadhyay sandipan at vsnl.com
Tue Jan 16 14:22:11 EST 2001


Which webserver are you using ?

Apache, eg, allows virtualhosts. Multiple domains. Depending on the
domain-name, index.html pages from different areas are served.

Sandipan
----- Original Message -----
From: <rschlack at my-deja.com>
Newsgroups: comp.lang.python
To: <python-list at python.org>
Sent: Tuesday, January 16, 2001 10:38 PM
Subject: how can I get the current url


> 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 am new to python and have no idea how to do
> this.  I am trying to change the headers and
> footers on our Ultraseek software.
>
> thanks,
> Rob
>
>
> Sent via Deja.com
> http://www.deja.com/
> --
> http://mail.python.org/mailman/listinfo/python-list
>





More information about the Python-list mailing list