You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Kavuri <ka...@rediff.com> on 2001/10/07 09:32:35 UTC

mod_cgi/8481: How to get result using system( ) from Apache Server

>Number:         8481
>Category:       mod_cgi
>Synopsis:       How to get result using system( ) from Apache Server
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun Oct 07 00:40:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     kavuri_p@rediff.com
>Release:        1.3
>Organization:
apache
>Environment:
We are working on Linux machine(Red Hat7.0). We are using "cc" compiler.
>Description:
We are working on Linux machine, we tried to connect to Apache server through programatically. We are using "cc" compiler. We tried to execute
 system("ls>filename");  When we tried to run this system("ls>filename") on console we got it. But when we tried this on Apache Server, We are getting a message in error_log file like "sh: /var/www/cgi-bin/filename : Permission Denied". Kindly support us.

with Tahnks,
Kavuri.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]