Re: Problem getting cgi script to work with apache?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/19/06, Knute Johnson <knute@xxxxxxxxxxx> wrote:
I was trying to test a simple cgi script with my Apache server this
morning and I'm getting an error that I can't run down.  System is
FC5 with latest updates.  Script, httpd error log, selinux bools, and
directory listing follow:

[knute@rabbitbrush cgi-bin]$ cat test.pl
print "Content-Type: text/html\n\n";

Not sure, but should this be \r\n ?

print "<html><head><title>test.pl</title></head><body>\n";
print "<h1>test.pl</h1>\n";
print "</body></html>\n";

Curious, do you have to have the following?:
use CGI;

Any ideas on where to start would be greatly appreciated.

Seems like something is wrong in the script, guessing it isn't a
config problem (httpd, selinux, etc.)

-Mauriat

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux