Skip to content

Instantly share code, notes, and snippets.

@cdwilson
Created May 8, 2011 22:33
Show Gist options
  • Save cdwilson/961761 to your computer and use it in GitHub Desktop.
Save cdwilson/961761 to your computer and use it in GitHub Desktop.
ubuntu apache config for ups virtual host - /etc/apache2/conf.d/ups
<VirtualHost *:80>
ServerName ups.cdwilson.us
ServerAdmin [email protected]
DocumentRoot /usr/lib/cgi-bin/apcupsd/
<Directory /usr/lib/cgi-bin/apcupsd/>
Options FollowSymLinks ExecCGI
AddHandler cgi-script cgi
DirectoryIndex multimon.cgi
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment