-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathetc.apache2.default.template
61 lines (50 loc) · 1.25 KB
/
etc.apache2.default.template
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
#
# ShadowNET's Seedbox
# By TheSyndicate ---> https://github.com/The-Syndicate/
#
#
#
<VirtualHost *:8080>
ServerAdmin webmaster@localhost
ServerName <servername>
DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride All
AuthType Digest
AuthName "documentroot"
AuthDigestProvider file
AuthUserFile /etc/apache2/htpasswd
Require user <username>
</Directory>
<Directory /var/www/>
Options -Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
<Directory /var/www/share/>
Order Deny,Allow
Allow from all
Satisfy any
</Directory>
<Directory /var/www/stream/>
Order Deny,Allow
Allow from all
Satisfy any
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
<Directory /var/www/rutorrent>
AuthType Digest
AuthName "rutorrent"
AuthDigestDomain /var/www/rutorrent/ http://<servername>:8080/rutorrent
AuthDigestProvider file
AuthUserFile /etc/apache2/htpasswd
Require valid-user
SetEnv R_ENV "/var/www/rutorrent"
</Directory>
</VirtualHost>