homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

Setting up a CGI-bin and Perl on NT
getting a HTTP Error 403

 5:14 pm on Mar 28, 2002 (gmt 0)

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



 5:26 pm on Mar 28, 2002 (gmt 0)

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)


 5:29 pm on Mar 28, 2002 (gmt 0)

Sorry, how do you do that on Windows NT using IIS4, This is a new area for me


 5:34 pm on Mar 28, 2002 (gmt 0)

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.


 5:46 pm on Mar 28, 2002 (gmt 0)

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!

Global Options:
 top home search open messages active posts  

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved