Check your logs, access.conf and srm.conf, you probably haven't allowed such a command to be used in your .htaccess file It will be in the Options directive. Gareth
> Message: 2 > From: "Ervin Tarkhanian" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Date: Fri, 26 Oct 2001 20:23:22 -0700 > Subject: [cobalt-security] Restricting access to certain file types HELP! > Reply-To: [EMAIL PROTECTED] > > 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 _______________________________________________ cobalt-security mailing list [EMAIL PROTECTED] http://list.cobalt.com/mailman/listinfo/cobalt-security
