Skip to content

Instantly share code, notes, and snippets.

@sebastian-hsu
sebastian-hsu / gist:2dad13438909ec6564ef392b10c96a36
Last active March 14, 2017 09:46
/etc/apache2/sites-enabled/000-default.conf
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com
[ip, ip2, user, username, timestamp, request=*POST*xmlrpc.php*,...]