CGI & Apache

CGI & Apache

Post by Grzegorz Posynia » Fri, 26 Dec 1997 04:00:00



Sorry,
but I have a big problem, because I can't run some CGI scripts under
Linux RedHat and Apache. I don't know if I have right files and
directories permissions. I run Gbook script and it work as well as
mailing
me who was guest but no update HTML page. Maybe the HTML page have to
be not in /cgi-bin/ directory??? I always see the error: File not find.

I was wandering if you could help me with the problem.
I will be happy for everythink tips.
Marry Christmas
grzes

 
 
 

1. Absolute Newbie Question - CGI & Apache

Someone please help me with this CGI Apache issue:

--------> The Problem: I type in http://localhost/cgi-bin/test.cgi and get
the following message:

Not Found

The requested URL /cgi-bin/test.cgi was not found on this server.

Apache/1.3.12 Server at localhost Port 80

--------------- What I've tried to fix it:
In \conf\httpd.conf
    AddHandler cgi-script .cgi
       <Directory "C:/Apache/cgi-bin">
       AllowOverride None
       Options ExecCGI
</Directory>

--------------- This is a valid cgi script for sure - I have even tried it
on a remote server to make sure it wasn't the perl syntax. Here is the
simple test:

#!/usr/local/bin/perl

use CGI;

$query = new CGI;

print $query ->header;

print "<html><head><title>A test</title></head>\n";
print "<body>The test was successful.</body></html>";

---------------- Any help you all could provide would be much appreciated.
Thanks guys.
Justin

2. Linux client=>NT Server + MS Proxy server Question

3. CGI & Apache Help!!

4. Screen saver for hft (loggedout-mode)

5. CGI & Apache - Perturbed Newbie - Please help

6. Mkisofs troubles

7. CGI & Apache Help!!

8. Can I use a 486/50 for linux?

9. Apache && CGI && uid || back to cern?

10. Apache Win32 (Windows 2000) & Awk & CGI

11. PERL && mod_perl && FreeBSD && Apache

12. /cgi-bin/phf /cgi-bin/test-cgi /cgi-bin/handler

13. Apache/CGI: How to toggle an ErrorDocument from a CGI ?