Skip to content

Instantly share code, notes, and snippets.

@kapowaz
Created October 7, 2009 14:36
Show Gist options
  • Save kapowaz/204096 to your computer and use it in GitHub Desktop.
Save kapowaz/204096 to your computer and use it in GitHub Desktop.
#
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.2/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
# Use name-based virtual hosting.
#
NameVirtualHost *:80
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
<VirtualHost *:80>
ServerAdmin bdarlow@panthro.org
ServerName panthro.org
ServerAlias panthro.local
ServerAlias panthro
ServerAlias localhost
DocumentRoot "/Library/WebServer/Documents"
<Directory />
Options ExecCGI FollowSymLinks Indexes MultiViews
AllowOverride all
Order allow,deny
Allow from all
</Directory>
LogLevel warn
ErrorLog /private/var/log/apache2/error_log
CustomLog /private/var/log/apache2/access_log combined
</VirtualHost>
<VirtualHost *:80>
ServerAdmin bdarlow@panthro.org
ServerName vj.panthro.org
DocumentRoot /Users/bdarlow/Sites/videojuicer/moko-www/www-videojuicer/web
#RewriteEngine On
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule ^(.*)$ /index.php?url=$1 [L,QSA]
<Directory /Sites/videojuicer/moko-www/www-videojuicer/web>
Options FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
LogLevel warn
ErrorLog /private/var/log/apache2/videojuicer.local-error_log
CustomLog /private/var/log/apache2/videojuicer.local-access_log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment