Unexpected 404 Error when file is existRSS

4 replies

Last post Aug 10, 2006 05:01 PM by tomkmvp

  • Unexpected 404 Error when file is exist

    Aug 09, 2006 01:14 PM|fishlab|LINK

    Hello All

    My configuration is IIS 6 under Windows 2003 server

    Here is my problem:

    Lets say I have windows user 'user1' that have own folder 'c:\users\home_user1'. He have ALL rights for this folder. Now I need to get him access to this folder via web. To do it I create virtual directory 'home_user1' in my IIS admin console and point it to 'c:\users\home_user1'. I allow directory browsing and read this dir. I disallow anonymous access but allow 'Basic Authentication' on this virtual dir.

    Now Im able to access http://myserver.com/home_user1/ after authorization and see files in it. But once I click at any file in the dir in browser I get error 404 - file not found. Actually files are 100% exists in folder.

    So, please, any ideas how to resolve it? Probably this is security and permissions problem. maybe somebody cen tell me ideas how rights must be seting up correctly?

    Many thanks for any help. Serge

     

  • Re: Unexpected 404 Error when file is exist

    Aug 09, 2006 01:30 PM|tomkmvp|LINK

    A 404 would not indicate a security problem.

    What kinds of files?
    http://support.microsoft.com/default.aspx?scid=kb;en-us;326965

    Tom Kaminski (former IIS MVP 2002-2010)
    http://mvp.support.microsoft.com/
  • Re: Unexpected 404 Error when file is exist

    Aug 09, 2006 11:11 PM|qbernard|LINK

    Yupe. take a look at the substatus code in the log file for more clues.
    Cheers,
    Bernard Cheah
  • Re: Unexpected 404 Error when file is exist

    Aug 10, 2006 04:19 AM|fishlab|LINK

    Yes, this was that problem. Many thanks for help!!!!
  • Re: Unexpected 404 Error when file is exist

    Aug 10, 2006 05:01 PM|tomkmvp|LINK

    You're welcome!
    Tom Kaminski (former IIS MVP 2002-2010)
    http://mvp.support.microsoft.com/