Article View: be.comp.programming
Article #15776Re: Newbie met cgi-perl probleem onder linux
From: Tim Van Wassenhove
Date: Tue, 15 Aug 2000 00:00
Date: Tue, 15 Aug 2000 00:00
38 lines
2025 bytes
2025 bytes
het script zelf werkt.
heb het opgeslagen als script.pl in mijn /apache/cg-bin als script.pl
dan http://127.0.0.1/cgi-bin/script.pl en de output
was testing! this is a test.
dus waarschijnlijk zit de fout in je http-server configuratie.
als je apache gebruikt moet je eens een kijkje nemen in je httpd.conf
daar zal wel iets staan als :
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the
client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
# Alias.
#
ScriptAlias /cgi-bin/ "C:/Apache/cgi-bin/"
#
# "C:/Apache/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "C:/Apache/cgi-bin">
AllowOverride None
Options None
</Directory>
# If you want to use server side includes, or CGI outside
# ScriptAliased directories, uncomment the following lines.
#
# To use CGI scripts:
#
AddHandler cgi-script .cgi
Technical Details
Message-ID:
<966358144.608003@marvin>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<MPG.140372c85cf9fbaa989683@news.hogent.be>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcea4,1becf34ee0e2ff9a X-Google-Attributes: gidfcea4,public From: "Tim Van Wassenhove" <tim.vanwassenhove@student.kuleuven.ac.be> Subject: Re: Newbie met cgi-perl probleem onder linux Date: 2000/08/15 Message-ID: <966358144.608003@marvin> X-Deja-AN: 658582795 Cache-Post-Path: marvin!unknown@kn-10-0-51-001.kotnet.kuleuven.ac.be References: <MPG.140372c85cf9fbaa989683@news.hogent.be> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Complaints-To: abuse@belnet.be X-Trace: naxos.belnet.be 966358144 2811 134.58.127.3 (15 Aug 2000 16:49:04 GMT) Organization: KULeuvenNet X-MSMail-Priority: Normal X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) NNTP-Posting-Date: Tue, 15 Aug 2000 16:49:04 +0000 (UTC) Newsgroups: be.comp.programming