werc-1.5.0-tweaks

Tweaks for the werc website builder created by the mad architect Uriel
Log | Files | Refs | README

authorize (134B)


      1 #!/bin/rc
      2 if(~ $REMOTE_USER ''){
      3 	extra_headers=($extra_headers 'WWW-Authenticate: Basic realm="'$"SERVER_NAME'"')
      4 	error 401
      5 	exit
      6 }