-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhttpd-custom.conf
305 lines (276 loc) · 8.38 KB
/
httpd-custom.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
# apachectl -t is your friend, use it :)
DocumentRoot /Users/zacharytirrell/www/localhost
ServerName localhost
ServerAdmin zach@tirrell.com
# setup PHP
LoadModule php_module /usr/local/opt/php/lib/httpd/modules/libphp.so
<IfModule php_module>
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
</IfModule>
# php is loaded by installed version from http://php-osx.liip.ch/
# see: /etc/apache/other
# OSX Native format
#LoadModule rewrite_module libexec/apache2/mod_rewrite.so
# Brew format
#LoadModule rewrite_module lib/httpd/modules/mod_rewrite.so
#LoadModule deflate_module libexec/apache2/mod_deflate.so
LoadModule deflate_module lib/httpd/modules/mod_deflate.so
Listen 443
#LoadModule ssl_module libexec/apache2/mod_ssl.so
LoadModule ssl_module lib/httpd/modules/mod_ssl.so
SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
SSLPassPhraseDialog builtin
# Localhost
#
<Directory "/Users/zacharytirrell/www/localhost">
Options All
AllowOverride All
Require all granted
</Directory>
<VirtualHost *:80>
DocumentRoot "/Users/zacharytirrell/www/localhost"
ServerName localhost
ServerAlias gwen
</VirtualHost>
<VirtualHost *:443>
ServerName localhost
ServerAlias gwen
DocumentRoot "/Users/zacharytirrell/www/localhost"
SSLEngine on
SSLCertificateFile /Users/zacharytirrell/www/ssl/apache.crt
SSLCertificateKeyFile /Users/zacharytirrell/www/ssl/apache.key
</VirtualHost>
# orderable.com
#
<Directory "/Users/zacharytirrell/www/orderable.com">
Options All
AllowOverride All
Require all granted
</Directory>
<VirtualHost *:80>
DocumentRoot "/Users/zacharytirrell/www/orderable.com"
ServerName orderable.com
</VirtualHost>
<VirtualHost *:443>
ServerName orderable.com
DocumentRoot "/Users/zacharytirrell/www/orderable.com"
SSLEngine on
SSLCertificateFile /Users/zacharytirrell/www/ssl/apache.crt
SSLCertificateKeyFile /Users/zacharytirrell/www/ssl/apache.key
</VirtualHost>
#
# Theme Test
#
<Directory "/Users/zacharytirrell/www/theme-test">
Options All
AllowOverride All
Require all granted
</Directory>
<VirtualHost *:80>
DocumentRoot "/Users/zacharytirrell/www/theme-test"
ServerName theme-test.local
</VirtualHost>
<VirtualHost *:443>
ServerName theme-test.local
DocumentRoot "/Users/zacharytirrell/www/theme-test"
SSLEngine on
SSLCertificateFile /Users/zacharytirrell/www/ssl/apache.crt
SSLCertificateKeyFile /Users/zacharytirrell/www/ssl/apache.key
</VirtualHost>
#
# dev.tec.local
#
<Directory "/Users/zacharytirrell/www/dev.tec/current">
Options All
AllowOverride All
Require all granted
</Directory>
<VirtualHost *:80>
DocumentRoot "/Users/zacharytirrell/www/dev.tec/current"
ServerName dev.tec.local
</VirtualHost>
<VirtualHost *:443>
ServerName dev.tec.local
DocumentRoot "/Users/zacharytirrell/www/dev.tec/current"
SSLEngine on
SSLCertificateFile /Users/zacharytirrell/www/ssl/apache.crt
SSLCertificateKeyFile /Users/zacharytirrell/www/ssl/apache.key
</VirtualHost>
#
# multisite
#
<Directory "/Users/zacharytirrell/www/multisite">
Options All
AllowOverride All
Require all granted
</Directory>
<VirtualHost *:80>
DocumentRoot "/Users/zacharytirrell/www/multisite"
ServerName multisite
ServerAlias another.multisite anothermultisite
</VirtualHost>
<VirtualHost *:443>
ServerName multisite
ServerAlias another.multisite anothermultisite
DocumentRoot "/Users/zacharytirrell/www/multisite"
SSLEngine on
SSLCertificateFile /Users/zacharytirrell/www/ssl/apache.crt
SSLCertificateKeyFile /Users/zacharytirrell/www/ssl/apache.key
</VirtualHost>
#
# glotpress
#
<Directory "/Users/zacharytirrell/www/glotpress">
Options All
AllowOverride All
Require all granted
</Directory>
<VirtualHost *:80>
DocumentRoot "/Users/zacharytirrell/www/glotpress"
ServerName glotpress
</VirtualHost>
<VirtualHost *:443>
ServerName glotpress
DocumentRoot "/Users/zacharytirrell/www/glotpress"
SSLEngine on
SSLCertificateFile /Users/zacharytirrell/www/ssl/apache.crt
SSLCertificateKeyFile /Users/zacharytirrell/www/ssl/apache.key
</VirtualHost>
#
# zbt
#
<Directory "/Users/zacharytirrell/www/zbt">
Options All
AllowOverride All
Require all granted
</Directory>
<VirtualHost *:80>
DocumentRoot "/Users/zacharytirrell/www/zbt"
ServerName zbt
</VirtualHost>
<VirtualHost *:443>
ServerName zbt
DocumentRoot "/Users/zacharytirrell/www/zbt"
SSLEngine on
SSLCertificateFile /Users/zacharytirrell/www/ssl/apache.crt
SSLCertificateKeyFile /Users/zacharytirrell/www/ssl/apache.key
</VirtualHost>
<Directory "/Users/zacharytirrell/www/gigpress.com">
Options All
AllowOverride All
Require all granted
</Directory>
<VirtualHost *:80>
DocumentRoot "/Users/zacharytirrell/www/gigpress.com"
ServerName gigpress.com
</VirtualHost>
<VirtualHost *:443>
ServerName gigpress.com
DocumentRoot "/Users/zacharytirrell/www/gigpress.com"
SSLEngine on
SSLCertificateFile /Users/zacharytirrell/www/ssl/apache.crt
SSLCertificateKeyFile /Users/zacharytirrell/www/ssl/apache.key
</VirtualHost>
<Directory "/Users/zacharytirrell/www/event-aggregator-site">
Options All
AllowOverride All
Require all granted
</Directory>
<VirtualHost *:80>
DocumentRoot "/Users/zacharytirrell/www/event-aggregator-site"
ServerName ea.local
</VirtualHost>
<VirtualHost *:443>
ServerName ea.local
DocumentRoot "/Users/zacharytirrell/www/event-aggregator-site"
SSLEngine on
SSLCertificateFile /Users/zacharytirrell/www/ssl/apache.crt
SSLCertificateKeyFile /Users/zacharytirrell/www/ssl/apache.key
</VirtualHost>
# Cachet
<VirtualHost *:80>
ServerName cachet.dev
# Or whatever you want to use
ServerAlias cachet.dev
# Make this the same as ServerName
DocumentRoot "/Users/zacharytirrell/www/localhost/Cachet/public"
<Directory "/Users/zacharytirrell/www/localhost/Cachet/public">
Require all granted
# Used by Apache 2.4
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<Directory "/Users/zacharytirrell/www/translations">
Options All
AllowOverride All
Require all granted
</Directory>
<VirtualHost *:80>
DocumentRoot "/Users/zacharytirrell/www/translations"
ServerName translations.tribe
</VirtualHost>
<VirtualHost *:443>
ServerName translations.tribe
DocumentRoot "/Users/zacharytirrell/www/translations"
SSLEngine on
SSLCertificateFile /Users/zacharytirrell/www/ssl/apache.crt
SSLCertificateKeyFile /Users/zacharytirrell/www/ssl/apache.key
</VirtualHost>
<Directory "/Users/zacharytirrell/www/customer-dashboard/la1/public">
Options All
AllowOverride All
Require all granted
</Directory>
<VirtualHost *:80>
DocumentRoot "/Users/zacharytirrell/www/customer-dashboard/la1/public"
ServerName customer-dashboard.tribe
</VirtualHost>
<VirtualHost *:443>
ServerName customer-dashboard.tribe
DocumentRoot "/Users/zacharytirrell/www/customer-dashboard/la1/public"
SSLEngine on
SSLCertificateFile /Users/zacharytirrell/www/ssl/apache.crt
SSLCertificateKeyFile /Users/zacharytirrell/www/ssl/apache.key
</VirtualHost>
<Directory "/Users/zacharytirrell/www/botman/public">
Options All
AllowOverride All
Require all granted
</Directory>
<VirtualHost *:80>
DocumentRoot "/Users/zacharytirrell/www/botman/public"
ServerName botman.tri.be
</VirtualHost>
<VirtualHost *:443>
ServerName botman.tri.be
DocumentRoot "/Users/zacharytirrell/www/botman/public"
SSLEngine on
SSLCertificateFile /Users/zacharytirrell/www/ssl/apache.crt
SSLCertificateKeyFile /Users/zacharytirrell/www/ssl/apache.key
</VirtualHost>
<Directory "/Users/zacharytirrell/www/whodat/public">
Options All
AllowOverride All
Require all granted
</Directory>
<VirtualHost *:80>
DocumentRoot "/Users/zacharytirrell/www/whodat/public"
ServerName whodat.theeventscalendar.com
</VirtualHost>
<VirtualHost *:443>
ServerName whodat.theeventscalendar.com
DocumentRoot "/Users/zacharytirrell/www/whodat/public"
SSLEngine on
SSLCertificateFile /Users/zacharytirrell/www/ssl/apache.crt
SSLCertificateKeyFile /Users/zacharytirrell/www/ssl/apache.key
</VirtualHost>