- Posts: 1
COMMUNITY FORUM
Allvideos blocked by .htaccess
- bfmusic
-
Topic Author
- Offline
- New Member
Less
More
17 years 2 months ago #10881
by bfmusic
Allvideos blocked by .htaccess was created by bfmusic
Hello,
I have a big problem using the great Allvideos Plugin with turned ON SEF.
Everything works fine with disabled SEF and without using .htaccess.
If I turned ON the SEF and rename htaccess.txt to .htaccess than noting happens in the frontend. I try to play mp3 files from an external website.
There must be something inside the htaccess file that blocks streaming media from external websites. Unfortunately I have no ideas about the rules and commands inside this file... :(
Here is the code of htaccess file:
Hopefully someone can help me...
best regards
Bastian
I have a big problem using the great Allvideos Plugin with turned ON SEF.
Everything works fine with disabled SEF and without using .htaccess.
If I turned ON the SEF and rename htaccess.txt to .htaccess than noting happens in the frontend. I try to play mp3 files from an external website.
There must be something inside the htaccess file that blocks streaming media from external websites. Unfortunately I have no ideas about the rules and commands inside this file... :(
Here is the code of htaccess file:
#
# mod_rewrite in use
#
RewriteEngine On
# Uncomment following line if you get 403 Forbidden Error
#Options +FollowSymLinks
# Uncomment following line if your webserver's URL
# is not directly related to physival file paths.
# Update YourMamboDirectory (just / for root)
#RewriteBase /YourMamboDirectory
#
# Rules
#
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]
RewriteCond %{REQUEST_FILENAME} !\.(jpg|jpeg|gif|png|css|js|pl|txt)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php
########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to execute an extern script in the URL
RewriteCond %{QUERY_STRING} http [OR]
RewriteCond %{QUERY_STRING} ftp
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits
php_flag register_globals off
Hopefully someone can help me...
best regards
Bastian
Please Log in or Create an account to join the conversation.
- ron
-
- Offline
- New Member
Less
More
- Posts: 2
17 years 1 month ago #10882
by ron
Replied by ron on topic Re: Allvideos blocked by .htaccess
Hi,
I experienced the same problems and found I needed to Rem out the following line by adding a # to the front of it.
RewriteCond %{QUERY_STRING} http [OR]
Once I did that my All Videos streaming worked again.
Ron
I experienced the same problems and found I needed to Rem out the following line by adding a # to the front of it.
RewriteCond %{QUERY_STRING} http [OR]
Once I did that my All Videos streaming worked again.
Ron
Please Log in or Create an account to join the conversation.