Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cgi programs running external programs

Status
Not open for further replies.

jamesjyu

IS-IT--Management
Jul 1, 2004
3
US
I am trying to run an external program using a cgi Perl script on Apache 2 windows. I have set the service to login as me (admin), and still, I am unable to run the simplest programs (notepad.exe).

Is there something that I need to be aware of in terms of what previlages Apache allows it's cgi programs to run in? What user account do the cgi scripts run under? I am able to use system commands like "dir", but unable to run anything more significant. Can anyone enlighten me?
 
Notepad is a GUI application. Running GUI applications from a CGI is a very bad idea, and may actually be actively prevented by Apache.





Want the best answers? Ask the best questions!

TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top