Update from a long time

This commit is contained in:
root
2024-09-19 23:45:46 +02:00
parent 5a9fdeff2d
commit f4dbaa225c
14 changed files with 51 additions and 29 deletions

21
.htaccess Normal file
View File

@ -0,0 +1,21 @@
Options -Indexes
<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteCond %{HTTP_USER_AGENT} "android|blackberry|googlebot-mobile|iemobile|ipad|iphone|ipod|opera mobile|palmos|webos" [NC]
RewriteCond %{HTTP_USER_AGENT} "android" [NC]
#RewriteRule "^/(.*)" "$1/php/download_apk.php" [L,R=302]
RewriteRule ^$ %{REQUEST_URI}/php/download_apk.php [L,R=302]
#Header set Content-Description "File Transfer"
#Header set Content-Type "application/octet-stream"
</IfModule>
#<IfModule mod_rewrite.c>
# RewriteEngine On
# #RewriteCond %{HTTP_USER_AGENT} "android|blackberry|googlebot-mobile|iemobile|ipad|iphone|ipod|opera mobile|palmos|webos" [NC]
# RewriteCond %{HTTP_USER_AGENT} "android" [NC]
# RewriteRule ^$ localTransfer-app.apk [L,E=stream1:1,E=stream2:1]
#
# Header set Content-Description "File Transfer" env=stream2
# Header set Content-Type "application/octet-stream" env=stream2
#</IfModule>