niczak
3/6/2011 - 1:59 AM

Apache Virtual Host Config w/ MAMP

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 user@email.com
    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>