Gregory Trubetskoy
grisha at modpython.org
Fri Jan 5 23:42:42 EST 2001
> > One question, should I use req.hostname or > > req.connection.server.server_hostname? (it may be diferent) req.hostname is a better choice, since this is what the client supplied. server.server_hostname is the name configured for this virtual server. I think when you'tr using a default server feature, they may be different. grisha
|