Script started on Sun 11 Feb 2018 19:35:38 GMT tj@hephaestion:~/public_html$ wfpwd /home/tj/public_html tj@hephaestion:~/public_html$ ls -al total 5200 drwxrwxr-x 2 tj tj 4096 Feb 11 18:46 . drwx--x--x+ 95 tj tj 49152 Feb 11 18:32 .. -rw-rw-r-- 1 tj tj 5233609 Feb 11 18:28 Calum Scott - Dancing on my own - BGT 2015 audition.mp3 lrwxrwxrwx 1 tj tj 8 Feb 11 15:58 Music -> ../Music lrwxrwxrwx 1 tj tj 11 Feb 11 15:58 Pictures -> ../Pictures -rw-rw-r-- 1 tj tj 15 Feb 11 18:46 text.txt tj@hephaestion:~/public_html$ cat text.txt this is a test tj@hephaestion:~/public_html$ apache2ctl configtrest AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using hephaestion.lan.iam.tj. Set the 'ServerName' directive globally to suppress this message Syntax OK tj@hephaestion:~/public_html$ wget -S -O /dev/null http://localhost:/~tj/text.txt --2018-02-11 19:36:12-- http://localhost/~tj/text.txt Resolving localhost (localhost)... ::1, 127.0.0.1 Connecting to localhost (localhost)|::1|:80... connected. HTTP request sent, awaiting response... HTTP/1.1 200 OK Date: Sun, 11 Feb 2018 19:36:12 GMT Server: Apache/2.4.18 (Ubuntu) Content-Length: 0 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/plain Length: 0 [text/plain] Saving to: â/dev/nullâ /dev/null [<=> ] 0 --.-KB/s /dev/null [ <=> ] 0 --.-KB/s in 0s 2018-02-11 19:36:12 (0.00 B/s) - â/dev/nullâ saved [0/0] tj@hephaestion:~/public_html$ sudo ss -tnlp sport = :http State Recv-Q Send-Q Local Address:Port Peer Address:Port LISTEN 0 128 :::80 :::* users:(("apache2",pid=1177,fd=4),("apache2",pid=1176,fd=4),("apache2",pid=1170,fd=4)) tj@hephaestion:~/public_html$ apache2ctl -M Loaded Modules: core_module (static) so_module (static) watchdog_module (static) http_module (static) log_config_module (static) logio_module (static) version_module (static) unixd_module (static) access_compat_module (shared) alias_module (shared) auth_basic_module (shared) authn_core_module (shared) authn_file_module (shared) authz_core_module (shared) authz_host_module (shared) authz_user_module (shared) autoindex_module (shared) deflate_module (shared) dir_module (shared) env_module (shared) filter_module (shared) include_module (shared) mime_module (shared) mpm_event_module (shared) negotiation_module (shared) setenvif_module (shared) shellstream_module (shared) status_module (shared) suexec_module (shared) userdir_module (shared) tj@hephaestion:~/public_html$ tail -n 3 /var/log/apache2/access.log ::1 - - [11/Feb/2018:19:21:37 +0000] "GET /~tj/text.txt HTTP/1.1" 200 189 "-" "Wget/1.17.1 (linux-gnu)" ::1 - - [11/Feb/2018:19:22:48 +0000] "GET /~tj/text.txt HTTP/1.1" 200 189 "-" "Wget/1.17.1 (linux-gnu)" ::1 - - [11/Feb/2018:19:36:12 +0000] "GET /~tj/text.txt HTTP/1.1" 200 189 "-" "Wget/1.17.1 (linux-gnu)" tj@hephaestion:~/public_html$ exit exit Script done on Sun 11 Feb 2018 19:36:15 GMT