[Downloading] using mod_rewrite instead of 404's
Status: Beta
Brought to you by:
frozen4time
Streamline is 'misusing' ErrorDocument 404 for the url-masking system.
This will 'flood' your error_log with 404's of all downloads/streams.
The right way of doing this is using mod_rewrite
I will give a HOWTO for downloading, streaming would be almost the same thing
open src/download/.htaccess
Replace:
ErrorDocument 404 /streamline/download/index.php
With:
RewriteEngine On
RewriteRule ^(?!index.php).*$ index.php
Note: This requires mod_rewrite to be enabled in the apache-config!
Logged In: YES
user_id=1895263
Originator: YES
This could be done for:
download/.htaccess:ErrorDocument
browse/.htaccess:ErrorDocument
info/.htaccess:ErrorDocument
m3u/.htaccess:ErrorDocument
stream/.htaccess:ErrorDocument