1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
Daniel Neto 2024-02-02 22:45:40 -03:00
parent 6f652cb658
commit 69681d89d6

View file

@ -419,7 +419,7 @@ Options All -Indexes
<IfModule mod_xsendfile.c> <IfModule mod_xsendfile.c>
# Allow direct access to files in the convertedMP4 directory # Allow direct access to files in the convertedMP4 directory
RewriteRule ^videos/convertedMP4/([^!#$&'()*+,\/:;=?@[\]]+(\.(mp4|webm|m3u8|mp3|ogg|jpg)))$ /videos/convertedMP4/$1 [L,END] RewriteRule ^videos/convertedMP4/([0-9]+(\.(mp4|webm|m3u8|mp3|ogg|jpg)))$ /videos/convertedMP4/$1 [L,END]
# Rewrite other URLs to xsendfile.php # Rewrite other URLs to xsendfile.php
RewriteRule ^videos/([_A-Za-z0-9.-]+/)?([^!#$&'()*+,\/:;=?@[\]]+(\.(mp4|webm|m3u8|mp3|ogg)))$ view/xsendfile.php?file=$2&folder=$1 [QSA,END] RewriteRule ^videos/([_A-Za-z0-9.-]+/)?([^!#$&'()*+,\/:;=?@[\]]+(\.(mp4|webm|m3u8|mp3|ogg)))$ view/xsendfile.php?file=$2&folder=$1 [QSA,END]