[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Restrict access by by file type on RAQ4?
- Subject: [cobalt-users] Restrict access by by file type on RAQ4?
- From: "Ervin Tarkhanian" <ervin@xxxxxxxxxx>
- Date: Thu Oct 25 12:02:02 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hi all,
I need to restrict access to all Real media files & Windows Media on a site.
When someone clicks on a link that goes to a media file, I need to redirect
them to temporary "not available" page. I tried a redirect in the
.htaccess, but that didn't work, I got "Internal server error"
My .htaccess file:
RedirectMatch .*.ram http://www.domain.com/novideo.html
RedirectMatch .*.rm http://www.domain.com/novideo.html
RedirectMatch .*.asx http://www.domain.com/novideo.html
RedirectMatch .*.asf http://www.domain.com/novideo.html
Any way of doing this from .htaccess files on a RAQ4?
I know I could put a <Files> directive in the access.conf, but I'd rather
not mess with that file.
Any ideas, suggestions?
TIA
Ervin