my cgi not wrok

my cgi not wrok

Post by help » Thu, 13 Jan 2000 04:00:00



i put xxx.pl in /home/httpd/cgi/ and chmod 755 xxx.pl
and i did scriptalias /cgi-bin/  /home/httpd/cgi-bin/
when i tried http://zzzz.com/cgi-bin/xxx.pl
it returned error

how is wrong?

 
 
 

my cgi not wrok

Post by Steven Hard » Thu, 13 Jan 2000 04:00:00



> i put xxx.pl in /home/httpd/cgi/ and chmod 755 xxx.pl
> and i did scriptalias /cgi-bin/  /home/httpd/cgi-bin/
> when i tried http://zzzz.com/cgi-bin/xxx.pl
> it returned error

> how is wrong?

If you got 'Server configuration error', than the problem most probably
is your cgi script. It HAS to output a header:

Content-type: text/html
<newline>
Data

Cheers,
    Steve

 
 
 

1. xfrnets does not wrok

Hi all,

I am using BIND 4.9.5 on BSDI and tried to prevent unauthorized zone
transfer.
So I put "xfrnets 10.0.0.0" in named.boot and restarted named.
As a test, I used named-xfer on other host whose address is not
10.0.0.xx specifying the DNS server which runs the named as a source.
However, the named did not reject the request and named-xfer obtained
zone information. So xfrnets statement does not seem to work.

Does anyone know why it does not work?
Have I done something wrong?

Many thanks in advance.

Terry

2. Mouse problems

3. Why Netscape pop3 not wrok

4. PATCH: ptrace support for fork/vfork/clone events [1/3]

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

6. netbios name resolution by TCP/IP

7. Use cgi in optional dir BUT not see cgi files in directory view?

8. Sfxload won't load?

9. How could let CGI run not only at cgi-bin?

10. apache: cgi script not in cgi-bin

11. Perl CGI not working although shell script CGI's do

12. non .cgi suffixed script does not run as a CGI-script (despite just being "cp test.cgi test.clhtml"

13. (?) CGI script not always returning data