Moin,
seit iOS 8 kann ich kein HTACCESS mehr nutzen, scheint wohl irgendeine Safari-Sache zu sein. Jemand schon eine Lösung dafür?
Server: Apache2 unter MacOS.
.htaccess:
Apache Configuration
# additonal security
# for windows uncomment the 4 lines below (by removing #) and change the path to your .htpasswd file
#AuthName "Restricted Area"
#AuthType Basic
#AuthUserFile "C:/development/wamp/www/streaming/.htpasswd"
#require valid-user
# for linux / apple remove the comment sign '#' to enable
AuthName "Restricted Area"
AuthType Basic
AuthUserFile /Library/WebServer/Documents/.htpasswd
require valid-user
# current username = 'streaming' password = 'test'
# to generate a new account call 'htpasswd -nb username password' in a dos window or shell (without quotes)
# e.g. 'htpasswd -nb streaming test'
# and copy and paste the result in the .htpasswd file and save
# htpasswd is normally located in your apache/bin directory (windows)
<IfModule mod_expires.c>
### EXPIRES
# month A2592000, week A604800, day A86400, hour A3600,15 min A900
ExpiresActive On
ExpiresDefault "access plus 4 hours"
ExpiresByType application/javascript A86400
ExpiresByType application/x-javascript A900
ExpiresByType text/javascript A900
ExpiresByType text/html A90
ExpiresByType text/xml A90
ExpiresByType text/css A900
ExpiresByType text/plain A62
ExpiresByType image/gif A86400
ExpiresByType image/jpg A86400
ExpiresByType image/jpeg A86400
ExpiresByType image/png A86400
ExpiresByType image/bmp A86400
ExpiresByType application/x-shockwave-flash A3600
</IfModule>
<IfModule mod_rewrite.c>
# otherwise forward it to index.php
RewriteRule . index.php
</IfModule>
<IfModule mod_deflate.c>
<FilesMatch "\.(php|js|css)$">
SetOutputFilter DEFLATE
</FilesMatch>
</IfModule>
Alles anzeigen
Er hängt dann beim Play-Button vom Videoplayer (m3u8-Datei)