Search results

  1. Z

    [lighttpd] Automatic Vhosts

    Here is a nice little trick in lighttpd that can be used to make automatic vhosts for subdomains. Firstly enable mod_evhost in server.modules. Then add this to lighttpd.conf, modifying as required, and restart lighttpd. var.basedir = "/data/www/" var.baselog = "/var/log/lighttpd/"...
  2. Z

    Generating Passwords

    A common requirement for any sysadmin is creating passwords for users, websites or even VPN pre-shared keys. People are notorious for selecting bad logins so wouldn't it be nice if we could use the handy Linux device file /dev/random as a source. Unfortunately this outputs in raw binary but for...
  3. Z

    How to proxy your internet.

    So you're abroad and want to catch up on your favourite <insert country restricted TV stream>. Alternatively you're at a customer site or University that has some nazi firewall rules and you want to abuse their bandwidth, or you just don't want your ISP to monitor your downloads - then assuming...
Top Bottom