You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Sabherwal, Balvinder (MBS)" <Ba...@mortgagefamily.com> on 2002/02/27 22:59:15 UTC

Forbidden

Guru's

I am getting error as below :

Forbidden
You don't have permission to access /cgi-bin/pm_metadata_push.cgi on this
server.


----------------------------------------------------------------------------
----

Apache/1.3.9 Server at njsundb25.mortgagesvcs.com Port 80

I have a script in my cgi-bin which I am trying to execute from the web
server. the actual script is in the different location and I have created a
soft link in the cgi-bin for the script as below

/var/apache/cgi-bin $ln -s
/export/home/metrics/perfmetrics/common/pm_metadata_push.ksh
pm_metadata_push.cgi
/var/apache/cgi-bin $ls -rlt
total 6
-rwxrwxrwx   1 root     bin          757 Jan  5  2000 test-cgi
-rwxrwxrwx   1 root     bin          120 Jan  5  2000 printenv
lrwxrwxrwx   1 metrics  dba           60 Feb 27 16:53 pm_metadata_push.cgi
-> /export/home/metrics/perfmetrics/common/pm_metadata_push.ksh
/var/apache/cgi-bin $ls -l
/export/home/metrics/perfmetrics/common/pm_metadata_push.ksh
-rwxr-xr-x   1 metrics  dba         6699 Feb 19 16:08
/export/home/metrics/perfmetrics/common/pm_metadata_push.ksh

all the permissions are granted on the script and the soft link. Anyone has
any ideas as why I am getting the Forbidden?

Thanks
Bal.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Forbidden

Posted by Andrew Hawkes <ah...@unicon.net>.
I assume your httpd is running as 'nobody'. Is /export/home/metrics r-x by
nobody? Check every level of /export/home/metrics/perfmetrics/common to
see that nobody can traverse it.

-Andy

On Wed, 27 Feb 2002 16:59:15 -0500
"Sabherwal, Balvinder (MBS)" <Ba...@mortgagefamily.com>
wrote:

> Guru's
> 
> I am getting error as below :
> 
> Forbidden
> You don't have permission to access /cgi-bin/pm_metadata_push.cgi on
> this server.
> 
> 
> -----------------------------------------------------------------------
> ---------
> 
> Apache/1.3.9 Server at njsundb25.mortgagesvcs.com Port 80
> 
> I have a script in my cgi-bin which I am trying to execute from the web
> server. the actual script is in the different location and I have
> created a soft link in the cgi-bin for the script as below
> 
> /var/apache/cgi-bin $ln -s
> /export/home/metrics/perfmetrics/common/pm_metadata_push.ksh
> pm_metadata_push.cgi
> /var/apache/cgi-bin $ls -rlt
> total 6
> -rwxrwxrwx   1 root     bin          757 Jan  5  2000 test-cgi
> -rwxrwxrwx   1 root     bin          120 Jan  5  2000 printenv
> lrwxrwxrwx   1 metrics  dba           60 Feb 27 16:53
> pm_metadata_push.cgi->
> /export/home/metrics/perfmetrics/common/pm_metadata_push.ksh/var/apache
> /cgi-bin $ls
> -l/export/home/metrics/perfmetrics/common/pm_metadata_push.ksh-rwxr-xr-x
>   1 metrics  dba         6699 Feb 19
>   16:08/export/home/metrics/perfmetrics/common/pm_metadata_push.ksh
> 
> all the permissions are granted on the script and the soft link. Anyone
> has any ideas as why I am getting the Forbidden?
> 
> Thanks
> Bal.
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project. See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org