Skip to content

Instantly share code, notes, and snippets.

@jrockway
Created December 24, 2009 18:53
Show Gist options
  • Select an option

  • Save jrockway/263304 to your computer and use it in GitHub Desktop.

Select an option

Save jrockway/263304 to your computer and use it in GitHub Desktop.
FastCgiServer /var/www/blog/app/angerwhale/script/angerwhale_fastcgi.pl -processes 1
NameVirtualHost *
<VirtualHost *>
ServerAdmin jon-www@jrock.us
ServerName blog.jrock.us
DocumentRoot /var/www/blog/app/angerwhale/
Alias /static /var/www/blog/app/angerwhale/root/static
Alias / /var/www/blog/app/angerwhale/script/angerwhale_fastcgi.pl/
<Location />
Options ExecCGI
Order allow,deny
Allow from all
AddHandler fcgid-script .pl
</Location>
<Location /static>
SetHandler default-handler
</Location>
<Directory /var/www/blog/app/angerwhale>
Deny from all
Allow from none
</Directory>
<Directory /var/www/blog/app/angerwhale/root>
Deny from all
Allow from none
</Directory>
<Directory /var/www/blog/app/angerwhale/root/static>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/blog.jrock.us-error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment