Forum Moderators: phranque

Message Too Old, No Replies

.htaccess help!

         

dankish

2:35 am on Feb 21, 2005 (gmt 0)

10+ Year Member



how come if i try to redirect a .wmv file to a php script like "tracker.php?id=2" it doesnt work?

Redirect /old/file.wmv [mysite.com...]

why wont this work?

jshpro2

2:52 am on Feb 21, 2005 (gmt 0)

10+ Year Member



If you go to the php file does it "work"? If so post your mod_rewrite code, if not then that's your problem

dankish

4:15 am on Feb 21, 2005 (gmt 0)

10+ Year Member



yes it does...whats a mod_rewrite code?

dankish

10:38 pm on Feb 21, 2005 (gmt 0)

10+ Year Member



anyone?

coopster

12:42 pm on Feb 22, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, dankish.

The Apache Forum Charter [webmasterworld.com] explains mod_rewrite and also has some other good links including the URL Rewriting Guide.