Domain Users vs executing cgi

  • Thread starter Thread starter Derf
  • Start date Start date
D

Derf

I have a cgi-bin subfolder set to only allow Domain Users (Internet Guest
Account & IIS Process Account are not allowed). I only need to identify
each user as they access the script inside the folder via the browser and
allowing only Domain Users seems to work since it forces the browser to
authenticate. The user activates a Perl script in the subfolder and the
Perl script displays a form that submits to itself. Any Domain User can
access the script initially without a problem, but when the Domain User
submits the script (action="this_script.pl"), the subfolder permissions
seem to block the form submission. An example of what happens is this:

lets say the script path is

/wwwroot/cgi-bin/subfolder/this_script.pl

and the script displays a form with this action:

form action="this_script.pl"

but when the Domain User submits the form, the url ends up as:

/wwwroot/cgi-bin/.pl

and a 404 error occurs.

Isn't the Perl script supposed to run as the Domain User that accesses
it? My first guess is the URL path is truncated due to the folder
permissions - would this be because the Perl script is submitting its
information as Internet Guest Account and not as the Domain User that
executed the script to begin with?

Thanks for any help

Derf
 
Back
Top