Created
August 11, 2016 13:14
-
-
Save scspijker/6a1c23c3a7033c9c383ecbd66a424174 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat /etc/httpd.conf | |
server "wurst.nl" { | |
alias "*.wurst.nl" | |
alias 192.168.10.2 | |
alias 81.204.205.185 | |
listen on * port 80 | |
root "/var/www/www.wurst.nl" | |
} | |
$ ls -al /var/www/www.wurst.nl/ | |
total 68 | |
drwxrwxr-x 2 www wheel 512 Aug 11 01:23 . | |
drwxrwxr-x 6 www wheel 512 Aug 11 01:34 .. | |
-rwxrwxr-x 1 www wheel 1151 Aug 11 01:23 index.html | |
-rwxrwxr-x 1 www wheel 28208 Aug 11 01:23 worst.jpg | |
$ tail /var/www/logs/access.log | |
wurst.nl 192.168.2.254 - - [11/Aug/2016:15:13:29 +0200] "GET / HTTP/1.1" 404 0 | |
wurst.nl 192.168.2.254 - - [11/Aug/2016:15:13:29 +0200] "GET / HTTP/1.1" 404 0 | |
wurst.nl 192.168.2.254 - - [11/Aug/2016:15:13:29 +0200] "GET / HTTP/1.1" 404 0 | |
wurst.nl 192.168.2.254 - - [11/Aug/2016:15:13:29 +0200] "GET / HTTP/1.1" 404 0 | |
wurst.nl 192.168.2.254 - - [11/Aug/2016:15:13:29 +0200] "GET / HTTP/1.1" 404 0 | |
wurst.nl 192.168.2.254 - - [11/Aug/2016:15:13:30 +0200] "GET / HTTP/1.1" 404 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment