Skip to content

Instantly share code, notes, and snippets.

@matthewfitz
Created June 30, 2010 13:37
Show Gist options
  • Save matthewfitz/458658 to your computer and use it in GitHub Desktop.
Save matthewfitz/458658 to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
ServerName theopenskyproject.dev
ServerAlias www.theopenskyproject.dev
ServerAdmin matthewfitz@gmail.com
LogLevel warn
ErrorLog /home/matt/apps/logs/apache2/error_log-www.theopenskyproject.dev
DocumentRoot /home/matt/apps/magento_simple
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/matt/apps/magento_simple>
Options Indexes FollowSymLinks -MultiViews +Includes
AllowOverride all
Order allow,deny
allow from all
#AddType text/html .shtml
#AddOutputFilter INCLUDES .shtml .html
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment