Subject: | |
From: | |
Reply To: | |
Date: | Fri, 22 Sep 2000 12:21:24 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
What about the permissions on the cgi-bin directory? Maybe you have permission
to access the file, but not the directory in which it's located.
Wayne
"Born, Ken" <[log in to unmask]> on 09/22/2000 11:50:31 AM
Please respond to "Born, Ken" <[log in to unmask]>
To: [log in to unmask]
cc: (bcc: Wayne Brown/Corporate/Altec)
Subject: [HP3000-L] Apache "Forbidden" Message in Browser with CGI's
Greetings,
I have created PASCAL CGI program (getenv) and a htm document (getenvh) that
calls it. The PASCAL CGI will use the getenv function call to extract the
SERVER_NAME. Everything works except when I use the browser (Internet
Explorer, Netscape), I receive the error message.
Forbidden
You don't have permission to access /getenv.cgi on this server.
The UNIX security stuff is as follows:
shell/iX> cd
shell/iX> cd htdocs
shell/iX> ls -l
total 24
-rw-rw---- 1 MGR.APACHE APACHE 0 Sep 22 06:38 New
-rw-r--r-- 1 MGR.APACHE APACHE 2326 May 15 06:19 apache_pb.gif
-rwxr-xr-x 1 MGR.APACHE APACHE 1440 Sep 22 07:23 getenvh
-rwxr-xr-x 1 MGR.APACHE APACHE 1560 Jun 26 06:26 hi
-rw-r--r-- 1 MGR.APACHE APACHE 1622 May 15 06:19 index.html
drwxr-xr-x 6 MGR.APACHE APACHE 3872 May 15 06:19 manual
shell/iX> cd
shell/iX> cd cgi-bin
shell/iX> ls -l
total 611
-rwxr-xr-x 1 MGR.APACHE APACHE 210432 Sep 22 05:49 alweb.cgi
-rwxrwxrwx 1 MGR.APACHE APACHE 37120 Sep 22 06:07 getenv.cgi
-rwxr-xr-x 1 MGR.APACHE APACHE 26112 May 31 12:10 hi.cgi
-rw-r--r-- 1 MGR.APACHE APACHE 126 May 15 06:19 printenv
-rwxr-xr-x 1 MGR.APACHE APACHE 37120 May 31 07:10 test
-rw-r--r-- 1 MGR.APACHE APACHE 757 May 15 06:19 test-cgi
I even changed getenv.cgi to allow for read, write, execute, for the
owner,group,and user and I still get this error message.
Is there something in httpd.conf that disallows the execution of cgi's?
Thanks....
|
|
|