On Wed, 28 Jun 2006 Kenneth Gonsalves wrote :
On 28-Jun-06, at 11:03 AM, ryan coelho wrote:
I have been wanting to configure cgi-bin with apache. I have done it before and now I am having no luck. I want to do this on Red Hat 9.
afaik it is configured out of the box - what are you trying to do?
-- regards
Kenneth Gonsalves
Hi Kenneth / All,
Thanks for your instant support. What I am trying to do is
simply run the Linux O.S. commands using CGI + Apache.
This is so I can run simple scripts and show output through HTML.
So far I have done the following.
a) In httpd.conf
ScriptAlias /cgi-bin/ /usr/local/apache2/cgi-bin/
b) Started Perl
/usr/bin/perl -w &
Now I am not exactly Knowing What to do . If someone can give me
in simple steps a simple configuration and sample CGI script + I will
be reading the links sent by you guys
Regards
Ryan Coelho
Associate, NRC-FOSS lawgon@au-kbc.org
On 29-Jun-06, at 9:46 AM, ryan coelho wrote:
a) In httpd.conf
ScriptAlias /cgi-bin/ /usr/local/apache2/cgi-bin/ b) Started Perl /usr/bin/perl -w & Now I am not exactly Knowing What to do . If someone can give me
in simple steps a simple configuration and sample CGI script + I will
be reading the links sent by you guy
Sometime Today, rc cobbled together some glyphs to say:
Thanks for your instant support. What I am trying to do is simply run the Linux O.S. commands using CGI + Apache.
Not sure what linux OS commands are, and reserving my comments on what a bad idea this is, but anyway...
a) In httpd.conf ScriptAlias /cgi-bin/ /usr/local/apache2/cgi-bin/
Ok, this is fine.
b) Started Perl /usr/bin/perl -w &
And what is this supposed to do? It's basically a no-op. perl will sleep forever, never doing anything. Ever. You do not need this.
Now I am not exactly Knowing What to do . If someone can give me in simple steps a simple configuration and sample CGI script + I will be reading the links sent by you guys
Put your executable files in /usr/local/apache2/cgi-bin/ Make sure they are executable Run them from the browser using http://yourserver/cgi-bin/filename
Philip
On Wed, 28 Jun 2006 Kenneth Gonsalves wrote :
a) In httpd.conf
ScriptAlias /cgi-bin/ /usr/local/apache2/cgi-bin/
Hey where is the "ExecCGI" option??
This is a sample httpd.conf for CGI on Redhat based distro.
<Directory "/var/www/cgi-bin"> AllowOverride None Options ExecCGI Order allow,deny Allow from all </Directory>
Now copy your cgi script in "/var/www/cg-bin"
In browser: http://yourdomain/cgi-bin/myscript.cgi
Try this password changing cgi program:
http://sarg.sourceforge.net/chetcpasswd.php
You will have to:
chmod 4755 chetcpasswd.cgi
Regards.
Sometime Today, SB cobbled together some glyphs to say:
Try this password changing cgi program:
http://sarg.sourceforge.net/chetcpasswd.php
You will have to:
chmod 4755 chetcpasswd.cgi
yes, please do this and tell us the url where we can test it out.
On Fri, 2006-06-30 at 18:05 +0530, Philip Tellis wrote:
Sometime Today, SB cobbled together some glyphs to say:
Try this password changing cgi program:
http://sarg.sourceforge.net/chetcpasswd.php
You will have to:
chmod 4755 chetcpasswd.cgi
yes, please do this and tell us the url where we can test it out.
rotflmao
On Friday 30 June 2006 18:09, Amol Hatwar wrote:
On Fri, 2006-06-30 at 18:05 +0530, Philip Tellis wrote:
Sometime Today, SB cobbled together some glyphs to say:
Try this password changing cgi program:
http://sarg.sourceforge.net/chetcpasswd.php
You will have to:
chmod 4755 chetcpasswd.cgi
yes, please do this and tell us the url where we can test it out.
rotflmao
this discussion isnt going anywhere... ;)
Sometime Today, SB cobbled together some glyphs to say:
Try this password changing cgi program:
http://sarg.sourceforge.net/chetcpasswd.php
You will have to:
chmod 4755 chetcpasswd.cgi
yes, please do this and tell us the url where we can test it out.
Yes and with the current root password hehe...
Regards.