Restarte apache 2: -- Putty 192.168.2.193 root h3l53n0rd Høyre musetast = kopierer !!!!!!!!!!!!!!!!!!!!! systemctl status -a apache2 systemctl restart apache2 systemctl start apache2 systemctl stop apache2 -- "Invalid Host Header" feilmelding: fra command linjen i putty kjør kommandoen: "host 0.0.0.0" https://medium.com/@AvinashBlaze/what-is-this-invalid-host-header-error-9cd760ae6d16 -- WINSCP: /etc/apache2/sites-available 000-default.conf: legg inn DocumentRoot /data/web/htdocs default-ssl.conf: legg inn DocumentRoot /data/web/htdocs /etc/apache2/sites-enabled 000-fv-http.conf : her editeres virtual hosts // Sjekk M:\doc\apache_kopier\sites-enabled og de tre filene, legg det inn -- Apper: Putty WINSCP http Logs Viewer -- Passord> h3l53n0rd// Ram: cat /proc/meminfo -- Google Home: sett portadministrering fra port 80 til port 80 på 192.168.2.192 -- DDR3 800 (SODIMM only); DDR2 667/800 4 GB DDR3-10600 SODIMM F2-6400CL6S-4GBSQ) CT25664BC1339 2 GB DDR3 SDRAM SO DIMM 208 -- winscp: 0644 for alle filer 0755 for alle directories Properties på rotkatalogen for eksempelvis pwstig: Sett Permissions til 0644 Kryss av for Add X to directories Kryss av for 'Set Group, owner and permissions recursively Trykk OK -- disabling mod_security i .htaccess add on local config $conf['random_index_redirect'] = array('./index.php?/categories' => ''); DirectoryIndex index.html index.htm index.php default.html default.htm -- SecFilterEngine Off SecFilterScanPOST Off -- 192.168.2.193/web/htdocs/pwstig identification.php -- http://stig.fondevik.no/identification.php?redirect=%252Fadmin.php%253Fpage%253Dplugin-AdminTools http://stig.fondevik.no/identification.php?redirect=%252Fadmin.php%253FpageDplugin-AdminTools fondevik