Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]RE: tlug: apache and cgi-scripts
- To: tlug@example.com
- Subject: RE: tlug: apache and cgi-scripts
- From: Jim Schweizer <schweiz@example.com>
- Date: Tue, 24 Feb 1998 09:46:32 +0900 (JST)
- Content-Transfer-Encoding: 8bit
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: <199802232311.IAA00494@example.com>
- Organization: JPS Solutions
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
Hi all, On 23-Feb-98 Marcus Metzler wrote: >I am using the apache httpd server and am trying to enable >cgi-script execution. An easy way to test whether cgi is working is a simple script like this: #!/usr/local/bin/perl print "Content-Type: text/html\n\n"; print "<HTML><HEAD><TITLE>Help!</TITLE></HEAD>"; print "<BODY BGCOLOR=white>"; print "This is my first time!\n"; print "<P>"; print "<B>Please, be gentle...</B>\n"; print "</BODY></HTML>"; exit; Make sure that the #! line points to where perl is on your system. If this doesn't work then check the srm.conf for # To use CGI scripts: AddHandler cgi-script .cgi AddHandler cgi-script .pl Once the simple script is working then you can go on to debugging your more complicated scripts. HTH Jim S. --------------------------------------------------------------- Next TLUG Nomikai: 11 March Wed 1998 Tengu TokyoEkiMae 19:30 Chuo-ku, Kyobashi 1-1-6, EchiZenYa Bld. B1/B2 03-3275-3691 Next TLUG Meeting: 11 April 1998 Saturday, Tokyo Station Featuring Tague Griffith of Netscape i18l talking on source code --------------------------------------------------------------- a word from the sponsor: TWICS - Japan's First Public-Access Internet System www.twics.com info@example.com Tel:03-3351-5977 Fax:03-3353-6096
- References:
- tlug: apache and cgi-scripts
- From: Marcus Metzler <mocm@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: tlug: W95 and Linux
- Next by Date: Re: tlug: TLUG domain and server
- Prev by thread: tlug: apache and cgi-scripts
- Next by thread: Re: tlug: I18l?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links