...
Set the server name (substituting $HOSTNAME from above) for Apache, enable mod-proxy and restart
Code Block | ||
---|---|---|
| ||
echo "ServerName $HOSTNAME" >> /etc/apache2/apache2.conf
a2enmod proxy_http
service apache2 restart |
Set the SUID for the nmap binary (so we can use the apache front end to run scripts which call nmap).
...