X Nations - View Single Post - .htaccess question
View Single Post
Old 04-25-2003, 09:30 PM   #6
Pidgin
Pidgin should edit this
Senior Member
 
Pidgin's Avatar
 
Join Date: Dec 2002
Location: Far out in the uncharted backwaters of the unfashionable end of the Western Spiral arm of the Galaxy
Posts: 450
xBucks: 17,076
Default

RewriteRule .\.(wav|mp3|mp2|rm|ra|ram|au|aiff|wma|mov|zip|mpg| mpe
g|avi|jpg|gif)$ - [F,L]

and not

RewriteRule .\. (wav|mp3|mp2|rm|ra|ram|au|aiff|wma|mov|zip|mpg|mpe
g|avi|jpg|gif)$ - [F,L]

You had a space between the .\. and the (wav...

If you delete that space you should be ok

You should upload it to where the index page of your site is located.
Also - its not a text file or an html file.
The file MUST be called ".htaccess"
That is a file with NO name and of an extention of "htaccess".
ok?

(to be geekly accurate - this is a hidden [that is that a dot in the beginning of the filename means] file named htaccess
If you have problems uploading it, just upload it with a name of htaccess.txt and rename it to ".htaccess" or remane it to "htaccess" and make it hidden.
Pidgin is offline   Reply With Quote