views:

56

answers:

1

I can upload a video to my drupal instance, but when I try to view the video I don't have rights to do so. I discovered that the IIS_IUSR doesn't have Read & Execute rights on the video even though the IIS_IUSR does on the containing directory.

IIS_IUSR has Read & Execute, List folder contents, and Read rights to the directory where files are uploaded to. However when I look at the rights of the uploaded video file (something.mp4), IIS_IUSR only has List folder/read data rights and Windows says these are inherited from the parent object. Include inheritable permissions from the object's parent option is checked.

Here's some more information that may be helpful.
If I try to access a video directly via a url I get this error:
HTTP Error 500.50 - URL Rewrite Module Error.
The page cannot be displayed because an internal server error has occurred.

Module RewriteModule
Notification BeginRequest
Handler StaticFile
Error Code 0x80070005

This seems like a configuration issue someplace, i.e. Drupal, IIS, or Windows.

Any thoughts.

My environment:

  • Windows 2008 R2
  • IIS 7.5
  • Drupal 6.19
  • MySQL 5.1.49
  • PHP 5.2.14

Someone requested that I post my .htaccess. There are several for the site, but here is the one for the files directory where the videos are uploaded to.

SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
Options None
Options +FollowSymLinks

But isn't .htaccess only used with Apache? I'm using IIS, so is the .htaccess even used?

related questions