On Tue, 29 Nov 2005, Nicolas Lehuen wrote:

If I understand you correctly, req.hostname is not reliable in case where
virtual hosting is not used. What about server.server_hostname, which seems
to be used by the code from mod_rewrite you posted below ? Can it be used
reliably ?

I don't think so.

if I do this:

telnet some.host.com 80

GET /index.html

How would apache know what the hostname is?

Grisha

Reply via email to