Hi
I have installed a tube script, but my host don't allow "Options +FollowSymlinks" in the .htaccess file.
When I delete the "Options +FollowSymlinks" the script works, but not the links on the site.
Anyone know how to change rewrightrule in the .htaccess file so it work without the "Options +FollowSymlinks" command?
Here are my .htaccess file:
ErrorDocument 404 /index.php
RewriteEngine on
RewriteBase /demo/tube
#Options +FollowSymlinks
RewriteRule ^(.*)/(.*).html$ show_video.php?video_id=$1 [L]
RewriteRule ^most-viewed/nr-(.*)$ /mv-md-tr.php?what=mv&nr=$1 [L]
RewriteRule ^most-discussed/nr-(.*)$ /mv-md-tr.php?what=md&nr=$1 [L]
RewriteRule ^top-rated/nr-(.*)$ /mv-md-tr.php?what=tr&nr=$1 [L]
RewriteRule ^most-viewed$ /mv-md-tr.php?what=mv [L]
RewriteRule ^most-discussed$ /mv-md-tr.php?what=md [L]
RewriteRule ^top-rated$ /mv-md-tr.php?what=tr [L]
RewriteRule ^show-videos/(.*)/page-(.*)/$ index.php?tag=$1&page=$2 [L]
RewriteRule ^show-videos/(.*)/page-(.*)$ index.php?tag=$1&page=$2 [L]
RewriteRule ^show-videos/(.*)?$ /index.php?tag=$1
- ErrorDocument 404 /index.php
-
- RewriteEngine on
- RewriteBase /demo/tube
- #Options +FollowSymlinks
-
- RewriteRule ^(.*)/(.*).html$ show_video.php?video_id=$1 [L]
-
- RewriteRule ^most-viewed/nr-(.*)$ /mv-md-tr.php?what=mv&nr=$1 [L]
- RewriteRule ^most-discussed/nr-(.*)$ /mv-md-tr.php?what=md&nr=$1 [L]
- RewriteRule ^top-rated/nr-(.*)$ /mv-md-tr.php?what=tr&nr=$1 [L]
-
- RewriteRule ^most-viewed$ /mv-md-tr.php?what=mv [L]
- RewriteRule ^most-discussed$ /mv-md-tr.php?what=md [L]
- RewriteRule ^top-rated$ /mv-md-tr.php?what=tr [L]
-
- RewriteRule ^show-videos/(.*)/page-(.*)/$ index.php?tag=$1&page=$2 [L]
- RewriteRule ^show-videos/(.*)/page-(.*)$ index.php?tag=$1&page=$2 [L]
- RewriteRule ^show-videos/(.*)?$ /index.php?tag=$1
I don't know how to rewright the text in red....
Thanks
Moderator Remark: Added code tags