Perl/IIS Permission Problem

Ask a Question related to PERL Miscellaneous, Design and Development.

  1. #1

    Default Perl/IIS Permission Problem

    I am having a horrible time getting the permissions set correctly
    using ActivePerl and IIS 5.0. Any help would be greatly appreciated!

    I currently have a site set up that has a test.cgi and a test.pl file
    in the root directly. Both of them work just fine. This root
    directory is accessible by anonymous internet acccount.

    Inside of the root directory I have a CMS folder that contains the
    same test.cgi and test.pl files. I have removed the anonymous user
    account from having permission to the CMS and all sub-folders and
    added another user that requires a login. When I browse to either of
    these two files it prompts me for a userID and password (working
    correctly). When I try and run test.pl it work correctly. When I try
    to run test.cgi I receive the following error.
    ---
    CGI Error
    The specified CGI application misbehaved by not returning a complete
    set of HTTP headers. The headers it did return are:


    Can't open perl script "c:\websites\www.mysite.com\cms\test.cgi":
    Permission denied
    ---
    Can anybody shed any light on this problem?

    Thanks in advance,
    Shane
    Shane Freeman Guest

  2. Similar Questions and Discussions

    1. permission problem
      hi there I have a problem with director file . Basically i have a director file name "menu", the menu consist of three option which can go to...
    2. Permission Problem
      I'm sorry i don't remember if i resolved the issue somehow or if it cleared up by itself. I do remember making some changes to the settings for the...
    3. Permission Problem
      I too am receiving the same problem, I was hoping that a Macromedia team member is able to resolve this issue. It is driving me crazy. Have you...
    4. RDS permission problem
      Hi everyone, I am trying to create a RDS in Dreamweaver to connect to CFMX on Linux. The RDS was created and I was able to view the directory and...
    5. IIS 5 XML Permission Problem
      Hi, Has anybody had a problem with IIS permissions where it successfully uses a third-party DLL (developed in VB6) called from ASP, successfully...
  3. #2

    Default Re: Perl/IIS Permission Problem

    On 9 Sep 2003 14:46:29 -0700, [email]freemans@intellicominc.com[/email] (Shane
    Freeman) wrote:
    >I am having a horrible time getting the permissions set correctly
    >using ActivePerl and IIS 5.0. Any help would be greatly appreciated!
    Your Question is Frequently Asked. Answers to Freqently
    Asked Questions are to be found in the perlFAQ documentation
    that comes bundled with every distribution of Perl. It can
    be browsed and searched using the perldoc program that
    also comes with every distribution of Perl. The command
    perldoc perldoc for more info. The Activeperl distro also
    comes with the docs in HTML format in C:\Perl\html\index.html

    perldoc -q 500
    "My CGI script runs from the command line but not the browser.
    (500 Server Error)
    >Can't open perl script "c:\websites\www.mysite.com\cms\test.cgi":
    >Permission denied
    >Can anybody shed any light on this problem?
    The most likely reason is that the IIS webserver runs
    as an anonymous user with less rights than a normal
    user such as yourself. This is good. You have to
    explicitly permit this user (used to be called IUSR_servername)
    to read and execute the CGI program.

    Further, this question is off-topic in this newsgroup
    and should be addressed to a group about web server
    configuration or CGI such as:

    comp.infosystems.[url]www.servers.ms-windows[/url]
    comp.infosystems.[url]www.authoring.cgi[/url]
    Helgi Briem Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139