You are not authorized to view this page [Answered]RSS

4 replies

Last post Jul 26, 2008 10:39 AM by EMP

  • You are not authorized to view this page

    Jul 24, 2008 08:23 AM|EMP|LINK

    Hello

    I have windows server 2003 and iis 6.0 and i installed the php zip package successfully( i can list the php info in the command prompt) but when i try to browse a php file in localy in my server or via internet i got this error

    You are not authorized to view this page

    The URL you attempted to reach has an ISAPI or CGI application installed that verifies user credentials before proceeding. This application cannot verify your credentials

    HTTP Error 401.5 - Unauthorized: Authorization failed by an ISAPI/CGI application.
    Internet Information Services (IIS)

    i am enabling anonymouse users and i did every thing accordinally to php 5 installation steps.

    can anybody help me please

    Error IIS PHP Web Server Security IIS6 configuration IUSR

  • Rovastar Rovastar

    5469 Posts

    MVP

    Moderator

    Re: You are not authorized to view this page

    Jul 24, 2008 09:04 AM|Rovastar|LINK

    It  is a permissions thing

    Look here:

    http://www.adopenstatic.com/FAQ/IISRequestProcessing.aspx

    (that is a useful diagram of how error occur)

    Follow this guide

    http://www.iisadmin.co.uk/?p=5

    And in the comments this for 401.5 errors:

    "

    Check to see whether your IIS_WPG group and your anonymous user account (IUSR_MACHINENAME) have got Read permission over both your PHP and MySQL folders. You could also try using Filemon from Sysinternals to try and flush out any permissions issues :

    http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/Filemon.mspx"

     

    Troubleshoot IIS in style
    https://www.leansentry.com/
  • Re: You are not authorized to view this page

    Jul 25, 2008 04:21 AM|EMP|LINK

    THANK YOU VERY MUCH for your replay
    I had did all of the above steps but with no success , i give the website all the permissions but it didn't work however when i used filemon as your advise i fount that the php file have no iuser and iisgroup even that i added it to the parent folder and when i added it to one file it automaticaly have been added to the other.

    thank you this problem has solved but i got another one that i think it a php configuration issue, when i browse a php file i got

    No input file specified

    i will try to fix it up

    thank you again

  • Re: You are not authorized to view this page

    Jul 25, 2008 09:19 AM|tomkmvp|LINK

    The bets place for you PHP questions is the PHP forum ...
    http://forums.iis.net/1102.aspx

  • Re: You are not authorized to view this page

    Jul 26, 2008 10:39 AM|EMP|LINK

    Thank you all

    it was solved

    when i looked at http://forums.iis.net/t/1147311.aspx then i executed the mentioned command and i got that the "PATH" is inetpub/wwwroot and i am workng in a file system directory that it seems that every thing work with it except the php so i make a site inhe inetpub and its working

    thank you all