1. If you enable "Admin Password" in Config, the 302 in http doesnt work, proof:
Code: Select all
lapek:~ grzegorz$ curl -v 172.28.10.31
* Rebuilt URL to: 172.28.10.31/
* Trying 172.28.10.31...
* Connected to 172.28.10.31 (172.28.10.31) port 80 (#0)
> GET / HTTP/1.1
> Host: 172.28.10.31
> User-Agent: curl/7.43.0
> Accept: */*
>
< HTTP/1.1 302
* Connection #0 to host 172.28.10.31 left intact
The same happens if we add a slash at the end:
Code: Select all
lapek:~ grzegorz$ curl -v 172.28.10.31/login/
* Trying 172.28.10.31...
* Connected to 172.28.10.31 (172.28.10.31) port 80 (#0)
> GET /login/ HTTP/1.1
> Host: 172.28.10.31
> User-Agent: curl/7.43.0
> Accept: */*
>
< HTTP/1.1 302
* Connection #0 to host 172.28.10.31 left intact