CGI problem
"Christians, Stefan Mr." <[email protected]>
| Newsgroups | gmane.network.tux |
|---|---|
| Organization | K.K. Alice |
| Message-ID | <[email protected]> |
My tux CGI server is running smoothly, and I have not made any changes
to the configuration since posting it in August.
And sorry, I can not help you with verbose debugging information. I
never could get that done myself, but since it is running now, I did not
bother any further.
Are you sure that you have the scripts in var/www/html/cgi-bin __and__ a
file of the same name, ownership and permissions in /var/www/html?
My files are owned by user and group root and have permissions 0755.
And does your CGI script generate correctly formatted output, i.e. first
line must be content type and second line must be empty?
for example:
#!/usr/bin/perl
my $ipHostNumber="$ENV{'REMOTE_ADDR'}";
print "Content-type: text/plain\n\n";
print "Your IP-Address is $ipHostNumber\n";
Stefan