deb/lighttpd-register-tips.bash
changeset 2 240cb9b244aa
child 3 8648def6d54b
equal deleted inserted replaced
1:f497bf96ddc3 2:240cb9b244aa
       
     1 #!/bin/bash
       
     2 
       
     3 mkdir -p /srv/www/tips
       
     4 chown user:user /srv/www/tips
       
     5 
       
     6 cat <<'EOF' >/etc/lighttpd/conf-available/92-tips.conf
       
     7 $HTTP["host"] == "tips.defun.work" {
       
     8   server.document-root = "/srv/www/tips/"
       
     9 }
       
    10 EOF
       
    11 
       
    12 lighttpd-enable-mod tips
       
    13