Florian Forster wrote: > I'm a bit surprised not to see a username in your log entries, I have to > admit, but this may actually be the expected behavior of Apache > (redirect ⇒ no authentication ⇒ no username).
No, the default config for apache in Debian is that mod_status allows connections only from localhost, but without any authentication needed. The only reason it redirects is because I have apache configured to redirect all unknown hostnames to kitenet.net -- which includes localhost. So, once I changed it to use http://kitenet.net/server-status, it worked ok. j...@wren:~>telnet localhost 80 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. GET /server-status?auto HTTP/1.1 Host: localhost HTTP/1.1 302 Found Date: Mon, 17 Aug 2009 16:19:39 GMT Server: Apache/2.2.12 (Debian) Location: http://kitenet.net/server-status?auto Content-Length: 296 Content-Type: text/html; charset=iso-8859-1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>302 Found</title> </head><body> <h1>Found</h1> <p>The document has moved <a href="http://kitenet.net/server-status?auto">here</a>.</p> <hr> <address>Apache/2.2.12 (Debian) Server at localhost Port 80</address> </body></html> j...@wren:~>curl 'http://localhost/server-status?auto' <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>302 Found</title> </head><body> <h1>Found</h1> <p>The document has moved <a href="http://kitenet.net/server-status?auto">here</a>.</p> <hr> <address>Apache/2.2.12 (Debian) Server at localhost Port 80</address> </body></html> -- see shy jo
signature.asc
Description: Digital signature

