Skip to content

Instantly share code, notes, and snippets.

@chris-x86-64
Created December 22, 2014 05:58
Show Gist options
  • Save chris-x86-64/2e3ac9846fa5cea374f4 to your computer and use it in GitHub Desktop.
Save chris-x86-64/2e3ac9846fa5cea374f4 to your computer and use it in GitHub Desktop.
Example Perl-CGI Apache2 config
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName aho.baka.com
DocumentRoot /home/aho/public_html
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/aho/app/>
Options -Indexes
Options Indexes MultiViews +ExecCGI +SymLinksIfOwnerMatch
AllowOverride None
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment