.htaccess without - "Options +FollowSymlinks"

  • europez
  • Novice
  • Novice
  • User avatar
  • Posts: 24

Post 3+ Months Ago

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:

Code: [ Select ]
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

  1. ErrorDocument 404 /index.php
  2.  
  3. RewriteEngine on
  4. RewriteBase /demo/tube
  5. #Options +FollowSymlinks
  6.  
  7. RewriteRule ^(.*)/(.*).html$ show_video.php?video_id=$1 [L]
  8.  
  9. RewriteRule ^most-viewed/nr-(.*)$ /mv-md-tr.php?what=mv&nr=$1 [L]
  10. RewriteRule ^most-discussed/nr-(.*)$ /mv-md-tr.php?what=md&nr=$1 [L]
  11. RewriteRule ^top-rated/nr-(.*)$ /mv-md-tr.php?what=tr&nr=$1 [L]
  12.  
  13. RewriteRule ^most-viewed$ /mv-md-tr.php?what=mv [L]
  14. RewriteRule ^most-discussed$ /mv-md-tr.php?what=md [L]
  15. RewriteRule ^top-rated$ /mv-md-tr.php?what=tr [L]
  16.  
  17. RewriteRule ^show-videos/(.*)/page-(.*)/$ index.php?tag=$1&page=$2 [L]
  18. RewriteRule ^show-videos/(.*)/page-(.*)$ index.php?tag=$1&page=$2 [L]
  19. RewriteRule ^show-videos/(.*)?$ /index.php?tag=$1


I don't know how to rewright the text in red....

Thanks
Moderator Remark: Added code tags

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 123 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.