Skip to content

Instantly share code, notes, and snippets.

@MihailoJoksimovic
Created September 22, 2012 17:07
Show Gist options
  • Save MihailoJoksimovic/3766798 to your computer and use it in GitHub Desktop.
Save MihailoJoksimovic/3766798 to your computer and use it in GitHub Desktop.
mixa@mixa-blackbox:~$ cat /etc/apache2/sites-available/c.com
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName c.com
ServerAlias www.c.com
ServerAlias live.c.com
DocumentRoot /home/mixa/projects/chess/htdocs
php_flag display_errors on
php_flag short_open_tag on
php_flag register_globals off
php_flag magic_quotes off
php_value include_path ".:/home/mixa/projects/chess/includes"
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .html
AddType audio/x-ms-wma .wma
AddType application/octet-stream .jar .class
DefaultType application/x-httpd-php
AddDefaultCharset UTF-8
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/mixa/projects/chess/htdocs>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
php_value error_log /home/mixa/projects/chess/web_writeable/errors/php_errors.log
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment