-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathapache.conf
More file actions
130 lines (123 loc) · 3.75 KB
/
Copy pathapache.conf
File metadata and controls
130 lines (123 loc) · 3.75 KB
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
#Alias / /var/www/html/PHP-Login-System-master
<Directory /var/www/html/>
#Options SymLinksIfOwnerMatch
Options -Indexes
AllowOverride FileInfo
DirectoryIndex index.php index.html
DirectoryIndex index.json
ErrorDocument 500 /index.html
ErrorDocument 404 /error/error.php?code=404
#ErrorDocument 500 "Sorry, our script crashed. Oh dear"
#FallbackResource /index.html
#<FilesMatch \.php$>
# SetHandler application/x-httpd-php
#</FilesMatch>
<FilesMatch "\.(sql|conf)$">
Require all denied
</FilesMatch>
<If "%{HTTP:SEC-FETCH-DEST} == 'iframe'">
Require all denied
</If>
</Directory>
<Location /profile>
FallbackResource /profile/user.php
</Location>
#<Location /web_miner>
# Disallow web access to directories that don't need it
<Directory /usr/share/phpmyadmin/templates>
Require all denied
</Directory>
<Directory /usr/share/phpmyadmin/libraries>
Require all denied
</Directory>
#<DirectoryMatch "index[0-9]?\.php$">
# Order Allow,Deny
#Allow from all
# Require all denied
# </DirectoryMatch>
<Location /tests>
Require all denied
</Location>
<Location /assets/uploads/users>
#Options +Indexes
Header set Access-Control-Allow-Origin "*"
</Location>
<Location /profile/user>
Header set Access-Control-Allow-Origin "*"
</Location>
<Location /phpmyadmin>
Header set X-Robots-Tag "noindex"
</Location>
<Location /assets>
Header set X-Robots-Tag "noindex"
</Location>
<Location /api>
Header set X-Robots-Tag "noindex"
</Location>
<Location /login_test>
#Header set X-Robots-Tag "noindex"
</Location>
<Location "/assets/setup/*">
Require all denied
</Location>
<Location /hylia*>
Options +Indexes
RewriteEngine on
#RedirectMatch 302 /blog(.*) http://www.blog.new-website.com$1
#Redirect 302 /road-safety_y10.html "/road-safety_y10.php"
RedirectMatch 302 /hylia(.*) /akeno.php
Header set X-Robots-Tag "noindex"
</Location>
#Modem
Listen 127.0.0.255:8080 http
<VirtualHost 127.0.0.255:8080>
ServerName 127.0.0.255
ProxyPreserveHost Off
ProxyPass / http://10.0.0.138/
ProxyPassReverse / http://10.0.0.138/
<Location />
Header Set x-Custom "aaaaaaaa"
RequestHeader unset *
Header Set User-Agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36" env=replace_user_agent
RequestHeader set User-Agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
</Location>
# Set user agent
RequestHeader unset *
RequestHeader set User-Agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
</VirtualHost>
#Temp media server
Listen 127.0.0.2:8080 http
<VirtualHost 127.0.0.2:8080>
ServerName 127.0.0.2
<Directory /var/www/html/>
Options -Indexes
DirectoryIndex index.phpa index.htmla
ErrorDocument 404 /error/error.php?code=404
<FilesMatch "\.(sql|conf)$">
Require all denied
</FilesMatch>
</Directory>
<LocationMatch "\.(webp)">
FallbackResource /assets/uploads/server/4a9b0327-e5aa-b3dd-d4cd-5e1ff8430c2d.webp
Header set Cache-Control "no-cache"
</LocationMatch>
</VirtualHost>
#CAPTCHA Service
Listen *:81 http
<VirtualHost *:81>
ServerName CaptchaService
DocumentRoot "/var/www/html/captcha/"
<Directory /var/www/html/captcha/>
Options -Indexes
DirectoryIndex index.php inedx.html index.htm
ErrorDocument 404 /error/error.php?code=404
<FilesMatch "\.(sql|conf)$">
Require all denied
</FilesMatch>
</Directory>
<Location /gen>
DirectoryIndex file.php
FallbackResource /file.php
</Location>
</VirtualHost>
#waifu