Re: perl-cgi
From: Chris Devers (cdevers_at_pobox.com)
Date: 10/24/04
- Next message: Bob Showalter: "Re: What search string do I use on google or perldoc so that I know how to display a specified range of lines from a file (like sed -n 24, 48p filename)?"
- Previous message: Zeus Odin: "RE: How to store the out put in StringBuffer"
- In reply to: mk76_at_buffalo.edu: "perl-cgi"
- Next in thread: Gunnar Hjalmarsson: "Re: perl-cgi"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 23 Oct 2004 18:49:53 -0400 (EDT) To: mk76@buffalo.edu
THis is more a matter for the beginners-cgi list, but oh well.
On Sat, 23 Oct 2004 mk76@buffalo.edu wrote:
> In the options for the directory on my server I have included ExecCGI
> and also the script has read/execute access for anybody
Let's keeep this very simple for now. Try something like this:
#!/usr/bin/perl
print "Content-type: text/plain\n\n";
print "If you can read this, CGI works.";
If the web browser displays the source code, Apache isn't set up right.
If the web browser shows the message, you can move to the bigger script.
My hunch is that you're going to get the raw source code. If that's the
case, can you send the <directory ...> block from your httpd.conf file?
-- Chris Devers
- Next message: Bob Showalter: "Re: What search string do I use on google or perldoc so that I know how to display a specified range of lines from a file (like sed -n 24, 48p filename)?"
- Previous message: Zeus Odin: "RE: How to store the out put in StringBuffer"
- In reply to: mk76_at_buffalo.edu: "perl-cgi"
- Next in thread: Gunnar Hjalmarsson: "Re: perl-cgi"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|