[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-security] Restricting access to certain file types HELP!



HI Gareth,

I checked the access.conf & srm.conf files, this is what I have for all the
sites

<Directory /home/sites/site#>
AllowOverride All
Options All
</Directory>

Options All, doesn't this mean the redirect should work?

TIA
Ervin

-----Original Message-----
From: cobalt-security-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-security-admin@xxxxxxxxxxxxxxx]On Behalf Of Gareth Glaccum
Sent: Monday, October 29, 2001 5:05 AM
To: cobalt-security@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-security] Restricting access to certain file types
HELP!

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" <ervin@xxxxxxxxxx>
> To: <cobalt-security@xxxxxxxxxxxxxxx>
> Date: Fri, 26 Oct 2001 20:23:22 -0700
> Subject: [cobalt-security] Restricting access to certain file types HELP!
> Reply-To: cobalt-security@xxxxxxxxxxxxxxx
>
> 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
cobalt-security@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-security