Skip to content

Instantly share code, notes, and snippets.

@niczak
Created March 6, 2011 01:59
Show Gist options
  • Save niczak/856945 to your computer and use it in GitHub Desktop.
Save niczak/856945 to your computer and use it in GitHub Desktop.
Apache Virtual Host Config w/ MAMP
#
# Ports to listen on
#
Listen 8888
#
# Use name-based virtual hosting.
#
NameVirtualHost *:8888
<VirtualHost *:8888>
ServerName ci.here
ServerAdmin [email protected]
DocumentRoot /Develop/CI
ErrorLog /Develop/CI/logs/error_log
CustomLog /Develop/CI/access_log combined
<Directory /Develop/CI>
AllowOverride AuthConfig FileInfo Limit
php_flag engine on
php_flag magic_quotes_gpc off
php_flag track_vars on
php_flag display_errors off
php_value upload_tmp_dir /Develop/CI/tmp
php_value include_path .:/Develop/CI:/usr/lib/php
php_value memory_limit 128M
php_value upload_max_filesize 10M
php_admin_value post_max_size 10M
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment