[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-security] Restricting access to certain file types HELP!
- Subject: [cobalt-security] Restricting access to certain file types HELP!
- From: "Ervin Tarkhanian" <ervin@xxxxxxxxxx>
- Date: Fri, 26 Oct 2001 20:23:22 -0700
- List-id: Mailing list for users to address network security on Cobalt products. <cobalt-security.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 and use .htaccess.
Any ideas, suggestions?
TIA
Ervin