|Setting up a CGI-bin and Perl on NT|
getting a HTTP Error 403
Im trying to set up a CGI-BIN on my NT server for a client. Its called cgi-bin in his directory called burlish. But he is getting the following error!
HTTP Error 403
403.1 Forbidden: Execute Access Forbidden
This error can be caused if you try to execute a CGI, ISAPI, or other
executable program from a directory that does not allow programs to be
(is this to do with permissions?) if so what should it be set to, at the moment it is on full control for all permissions..
Also I have Perl installed on our server, and he is asking for the path to perl eg /perl.. I have never had to use perl, but it is on our server. so how does the client see this. ie is there a pre-set path for him to know...
any help would be grateful thanks
The script must be set to execute, 'chmod a+x filename'
To find the path to perl, 'which perl'; put it on the shebang, the first line of the script:
And maybe the directory where the script is installed doesn't allow execute; then do 'chmod a+x directory'
(edited by: Duckula at 5:29 pm (utc) on Mar. 28, 2002)
(edited by: Duckula at 5:31 pm (utc) on Mar. 28, 2002)
Sorry, how do you do that on Windows NT using IIS4, This is a new area for me
hmmm... I think I wasn't fully awake... I was thinking on a 'nix server...
If the problem is with permissions, check the permission of the directory where the script is; and set it to execute.
About the shebang, just delete it from the script.
This page [supportnet.merit.edu] has a pretty good explanation of NT's file and directory permissions. If memory serves, simply right click on an object (file, directory, disk, etc), select Properties, then use the Security tab to set the desired permissions on the selected object. Welcome to WebmasterWorld BTW!