Koozali.org: home of the SME Server

Obsolete Releases => SME 6.x Contribs => Topic started by: steve288 on November 10, 2006, 09:55:01 PM

Title: how to run CGI scripts ??
Post by: steve288 on November 10, 2006, 09:55:01 PM
I want to run cachemgr.cgi that is with squid.

I dont know how to run a cgi. Can anyone give me information on this??

Thanks.
Title: Re: how to run CGI scripts ??
Post by: holck on November 30, 2006, 08:23:58 PM
Quote from: "steve288"
I want to run cachemgr.cgi that is with squid.

I dont know how to run a cgi. Can anyone give me information on this??

Thanks.


Probably it is easiest to do something like
Code: [Select]
# cp cachemgr.cgi /home/e-smith/files/ibays/Primary/cgi-bin/
# chmod 755 /home/e-smith/files/ibays/Primary/cgi-bin/cachemgr.cgi


Then you can point your web browser to http://server.name/cgi-bin/cachemgr.cgi

It is probably a good idea to delete the copy of cachemgr.cgi afterwards, so no outsiders get a chance to run the file also.