emerge --ask www-servers/lighttpd
$SERVER["socket"] == "127.0.0.1:8080" {
server.name = "www.genfic.com"
server.document-root = "/var/www/www.genfic.com/"
server.errorlog = "/var/log/lighttpd/http_error.log"
accesslog.filename = "/var/log/lighttpd/http_access.log"
}
rc-update add lighttpd default
/etc/init.d/lighttpd start
echo this is a test >> /var/www/www.genfic.com/index.html
curl "127.0.0.1:8080"
this is a test
email
root
flog archives
Disclaimer:
This page is by me for me, if you are not me then please be aware of the following
I am not responsible for anything that works or does not work including files and pages made available at www.jumpstation.co.uk
I am also not responsible for any information(or what you or others do with it) available at www.jumpstation.co.uk
In fact I'm not responsible for anything ever, so there!