-
Notifications
You must be signed in to change notification settings - Fork 1
/
apache2.site.example
45 lines (37 loc) · 1.4 KB
/
apache2.site.example
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
<VirtualHost 172.27.65.94:80>
ServerAdmin admin@example.com
ServerName cosa.example.com
ServerAlias www.cosa.example.com
DocumentRoot /storage/hd2/cosa/www
<Directory /storage/hd2/cosa/www>
Options FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /storage/hd2/cosa/www/cgi-bin/
<Directory "/storage/hd2/cosa/www/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
Alias /configs /storage/hd2/cosa/configs
<Directory /storage/hd2/cosa/configs>
Options FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
<FilesMatch "\.cfg\.SN\-">
ForceType application/octet-stream
Header set Content-Disposition attachment
</FilesMatch>
<FilesMatch "\.cfg">
ForceType application/octet-stream
Header set Content-Disposition attachment
</FilesMatch>
ErrorLog ${APACHE_LOG_DIR}/cosa-error.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/cosa-access.log combined
</VirtualHost>