kapowaz (owner)

Revisions

gist: 204110 Download_button fork
public
Public Clone URL: git://gist.github.com/204110.git
Embed All Files: show embed
httpd-vhosts.conf #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#
# 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.
#
<Directory />
Options ExecCGI FollowSymLinks Indexes MultiViews
AllowOverride all
Order allow,deny
Allow from all
</Directory>
 
<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]
 
LogLevel warn
ErrorLog /private/var/log/apache2/videojuicer.local-error_log
CustomLog /private/var/log/apache2/videojuicer.local-access_log combined
</VirtualHost>