-
Notifications
You must be signed in to change notification settings - Fork 0
/
catchall
26 lines (26 loc) · 798 Bytes
/
catchall
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
<VirtualHost *:80>
ServerAlias localhost www.*.* #wildcard catch all
VirtualDocumentRoot /var/www/%2/web
UseCanonicalName Off
ErrorLog /var/log/apache2/error.log
CustomLog /var/log/apache2/access.log "%h %l %u %t \"%r\" %>s %b"
<Directory "/var/www">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerAlias localhost *.* #wildcard catch all
VirtualDocumentRoot /var/www/%1/web
UseCanonicalName Off
ErrorLog /var/log/apache2/error.log
CustomLog /var/log/apache2/access.log "%h %l %u %t \"%r\" %>s %b"
<Directory "/var/www">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>