.htaccess - Server error

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
KENT
Forum Newbie
Posts: 8
Joined: Sat Mar 11, 2006 1:02 am

.htaccess - Server error

Post by KENT »

I have these code got errors

Code: Select all

<IfModule mod_rewrite.c>
  RewriteEngine on
  ^/(.*)\.SM([a-fA-F0-9]{32})\.swf$ /securemedia.php?file=$1&key=$2
</IfModule>
I think this to redirect all access to .swf file to /securemedia.php. Can someone check this for me .. :( I dont have any knowledge about .htaccess usage
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

You're missing "RewriteRule" directive
Post Reply