LoginSignup
4
3

More than 5 years have passed since last update.

apache

Last updated at Posted at 2014-09-06

HTTP

show supported methods

➜ nc 192.168.0.12 81
OPTIONS / HTTP/1.1
Host: 192.168.0.12

HTTP/1.1 200 OK
Date: Sun, 02 Apr 2017 12:34:34 GMT
Server: Apache
X-Content-Type-Options: nosniff
X-Frame-Options: sameorigin
X-XSS-Protection: 1; mode=block
Allow: GET,HEAD,POST,OPTIONS
Content-Length: 0
Content-Type: httpd/unix-directory

directive

ProxyVia

Information provided in the Via HTTP response header for proxied requests
http://httpd.apache.org/docs/2.2/en/mod/mod_proxy.html#proxyvia

[1:06:15 - 14-09-07] /Users/toripiyo/tmp % grep -i via /usr/local/etc/apache2/2.2/extra/httpd-proxy.conf
ProxyVia On
[1:05:58 - 14-09-07] /Users/toripiyo/tmp % curl -I www.rakuten.co.jp 2>/dev/null| grep -i via
Via: 1.1 localhost:8080
[1:11:08 - 14-09-07] /Users/toripiyo/tmp % grep -i via /usr/local/etc/apache2/2.2/extra/httpd-proxy.conf
ProxyVia Block
[1:12:09 - 14-09-07] /Users/toripiyo/tmp % curl -I www.rakuten.co.jp 2>/dev/null| grep -i via
[1:12:12 - 14-09-07]
[1:15:19 - 14-09-07] /Users/toripiyo/tmp % grep -i via /usr/local/etc/apache2/2.2/extra/httpd-proxy.conf
ProxyVia Off
[1:15:37 - 14-09-07] /Users/toripiyo/tmp % curl -I gree.co.jp 2>/dev/null| grep -i via
[1:15:48 - 14-09-07] /Users/toripiyo/tmp
4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3