Re: cgi and bash

2017-09-07 Thread Darac Marjal
On Thu, Sep 07, 2017 at 01:46:50PM +0200, Pol Hallen wrote: Hello all I try to formatting out put cat command cat /usr/lib/cgi-bin/test00.cgi #!/bin/bash echo "Content-type: text/html" cat /tmp/file results is: one two three four How format output like a bash script (with newline)? one two

Re: cgi and bash

2017-09-07 Thread Nicolas George
Le primidi 21 fructidor, an CCXXV, Max a écrit : > cat /tmp/file > > one > two > three > four This is not HTML, yet you pretend it is. Make it consistent. It has nothing to do with Bash nor CGI. Regards, -- Nicolas George signature.asc Description: Digital signature

Re: cgi and bash

2017-09-07 Thread Max
I need use html Pol On 09/07/2017 02:05 PM, Dominique Dumont wrote: On Thursday, 7 September 2017 13:46:50 CEST Pol Hallen wrote: How format output like a bash script (with newline)? You can try to set your cgi script to use text/plain content type instead of text/html HTH -- Max

Re: cgi and bash

2017-09-07 Thread Dominique Dumont
On Thursday, 7 September 2017 14:09:19 CEST Max wrote: > I need use html Then have your script output HTML with tags like ... HTH -- https://github.com/dod38fr/ -o- http://search.cpan.org/~ddumont/ http://ddumont.wordpress.com/ -o- irc: dod at irc.debian.org

Re: cgi and bash

2017-09-07 Thread Max
cat /tmp/file one two three four Pol cat /tmp/file Could we perhaps see the contents of this file? Regards, -- Max

Re: cgi and bash

2017-09-07 Thread Dominique Dumont
On Thursday, 7 September 2017 13:46:50 CEST Pol Hallen wrote: > How format output like a bash script (with newline)? You can try to set your cgi script to use text/plain content type instead of text/html HTH -- https://github.com/dod38fr/ -o- http://search.cpan.org/~ddumont/ http://ddumont.

Re: cgi and bash

2017-09-07 Thread Nicolas George
Le primidi 21 fructidor, an CCXXV, Pol Hallen a écrit : > cat /tmp/file Could we perhaps see the contents of this file? Regards, -- Nicolas George signature.asc Description: Digital signature

[OT] Re: CGI Scripts

2012-07-02 Thread Camaleón
On Sun, 01 Jul 2012 17:05:51 -0400, Ethan Rosenberg wrote: > 1] Where should I put the CGI scripts that I write Inside a directory with the right perms and accessable by your web server. > 2] Where should the Scriptalias be located and what should be its > structure. That's up to the web serv

Re: CGI Scripts

2012-07-01 Thread David Christensen
On 07/01/12 14:05, Ethan Rosenberg wrote: 1] Where should I put the CGI scripts that I write 2] Where should the Scriptalias be located and what should be its structure. 3] How should I run my CGI scripts. Assuming you have installed the "apache2" package, the configuration files are stored un

Re: CGI Scripts

2012-07-01 Thread Joe
On Sun, 01 Jul 2012 17:05:51 -0400 Ethan Rosenberg wrote: > Dear List - > > 1] Where should I put the CGI scripts that I write > 2] Where should the Scriptalias be located and what should be its > structure. 3] How should I run my CGI scripts. > > I have searched on Google and cannot find an [u

Re: cgi-bin works with IP but not domain name

2010-11-11 Thread Zachary Uram
Ah I see. Thanks Jesús I have it working now :) Zach <>< http://www.fidei.org ><>

Re: cgi-bin works with IP but not domain name

2010-11-11 Thread Zachary Uram
Thanks for the idea Camaleón. Zach <>< http://www.fidei.org ><>

Re: cgi-bin works with IP but not domain name

2010-11-08 Thread Jesús M. Navarro
Hi, Zachary: On Monday 08 November 2010 11:54:17 Zachary Uram wrote: > I have various name based virtual hosts setup. They all work fine. > However if I try to run a script in /usr/lib/cgi-bin it fails when I > specify the domain name, but works if I specify my IP name (this is a > VPS)! As a gen

Re: cgi-bin works with IP but not domain name

2010-11-08 Thread Camaleón
On Mon, 08 Nov 2010 06:13:26 -0500, Zachary Uram wrote: > Some more info. I looked at my access.log for oggthebase.org. > > When I went to http://www.oggthebase.org/cgi-bin/awstats.pl it > generated: > > [Mon Nov 08 10:56:52 2010] [error] [client 72.0.209.165] File does not > exist: /var/www/ogg

Re: cgi-bin works with IP but not domain name

2010-11-08 Thread Camaleón
On Mon, 08 Nov 2010 05:54:17 -0500, Zachary Uram wrote: > I have various name based virtual hosts setup. They all work fine. > However if I try to run a script in /usr/lib/cgi-bin it fails when I > specify the domain name, but works if I specify my IP name (this is a > VPS)! (...) > Scri

Re: cgi-bin works with IP but not domain name

2010-11-08 Thread Zachary Uram
Some more info. I looked at my access.log for oggthebase.org. When I went to http://www.oggthebase.org/cgi-bin/awstats.pl it generated: [Mon Nov 08 10:56:52 2010] [error] [client 72.0.209.165] File does not exist: /var/www/oggthebase.org/cgi-bin So it is going to /var/www/oggthebase.org/cgi-bin

Re: [EMAIL PROTECTED] Re: cgi-bin stopped working in apache ?! please help SOLVED

2008-09-12 Thread Zach Uram
On Thu, Sep 11, 2008 at 5:19 AM, André Warnier <[EMAIL PROTECTED]> wrote: [...] > > I just felt like telling you the above because I have the impression that a > misunderstanding of the above is the source of 90% of the problems > encountered by people unfamiliar with Virtual Hosting in general. I

Re: [EMAIL PROTECTED] Re: cgi-bin stopped working in apache ?! please help SOLVED

2008-09-11 Thread Rob Starling
On Thu, Sep 11, 2008 at 11:19:34AM +0200, André Warnier wrote: > Apart from the related tip from Kris about the various virtual server > config files in /etc/apache2/sites-available and > /etc/apache2/sites-enabled, here is what I do to insure that virtual > servers are "included" in the corr

Re: [EMAIL PROTECTED] Re: cgi-bin stopped working in apache ?! please help SOLVED

2008-09-11 Thread André Warnier
Zach Uram wrote: On Tue, Sep 9, 2008 at 3:54 PM, André Warnier <[EMAIL PROTECTED]> wrote: Just a guess : 1) the new entry you have added to /etc/apache2/sites-available (and sites-enabled) is called e.g. "darcs", which for some reason precedes "default" in the directory. 2) in the apache.conf,

Re: cgi-bin stopped working in apache ?! please help SOLVED

2008-09-09 Thread Zach Uram
On Tue, Sep 9, 2008 at 3:54 PM, André Warnier <[EMAIL PROTECTED]> wrote: > > Just a guess : > > 1) the new entry you have added to /etc/apache2/sites-available (and > sites-enabled) is called e.g. "darcs", which for some reason precedes > "default" in the directory. > 2) in the apache.conf, there i

Re: cgi-bin stopped working in apache ?! please help

2008-09-09 Thread gary turner
Zach Uram wrote: This is really baffling because CGI was working last week and now when I try it again and it is not working. I reread your post and my reply, and want to say it was was not clear that your url was complete. If I merely duplicated what you've been doing, I apologize. cheers

Re: cgi-bin stopped working in apache ?! please help

2008-09-09 Thread gary turner
Zach Uram wrote: This is really baffling because CGI was working last week and now when I try it again and it is not working. All I did was add a name based virtual host in /etc/apache2/sites-enabled/ and /etc/apache2/sites-available/ I am running apache2-mpm-prefork version 2.2.9-7 on Debian

Re: CGI scripts and Busybox

2008-06-14 Thread Nyizsnyik Ferenc
On Sat, 14 Jun 2008 14:32:19 + Tzafrir Cohen <[EMAIL PROTECTED]> wrote: > On Fri, Jun 13, 2008 at 09:28:02PM +0200, Nyizsnyik Ferenc wrote: > > On Fri, 13 Jun 2008 22:03:58 +0300 > > ccostin <[EMAIL PROTECTED]> wrote: > > > > > Hello > > > > > > What is the minimal configuration for httpd.co

Re: CGI scripts and Busybox

2008-06-14 Thread Tzafrir Cohen
On Fri, Jun 13, 2008 at 09:28:02PM +0200, Nyizsnyik Ferenc wrote: > On Fri, 13 Jun 2008 22:03:58 +0300 > ccostin <[EMAIL PROTECTED]> wrote: > > > Hello > > > > What is the minimal configuration for httpd.conf required by busybox > > httpd to run simple CGI scripts ? I believe that busybox in Etc

Re: CGI scripts and Busybox

2008-06-13 Thread Nyizsnyik Ferenc
On Fri, 13 Jun 2008 22:03:58 +0300 ccostin <[EMAIL PROTECTED]> wrote: > Hello > > What is the minimal configuration for httpd.conf required by busybox > httpd to run simple CGI scripts ? > For this are necessary any special environment exported variables ? > > When I try to load simple bourne sh

Re: CGI Scripts, Apache 2.2.3, and Debian 4.0 R1

2007-12-17 Thread Freddy Freeloader
rting working. Jon - Original Message From: Freddy Freeloader <[EMAIL PROTECTED]> To: Debian User Sent: Sunday, December 16, 2007 10:22:09 PM Subject: Re: CGI Scripts, Apache 2.2.3, and Debian 4.0 R1 Jon D. Irish wrote: I have a clean install of Debian 4.0 R1 with Apache 2.2.3-

Re: CGI Scripts, Apache 2.2.3, and Debian 4.0 R1

2007-12-17 Thread Jon D. Irish
Jon - Original Message From: Freddy Freeloader <[EMAIL PROTECTED]> To: Debian User Sent: Sunday, December 16, 2007 10:22:09 PM Subject: Re: CGI Scripts, Apache 2.2.3, and Debian 4.0 R1 Jon D. Irish wrote: > I have a clean install of Debian 4.0 R1 with Apache 2.2.3-4 installed. I can

Re: CGI Scripts, Apache 2.2.3, and Debian 4.0 R1

2007-12-17 Thread Bogart Salzberg
- Original Message From: Mark Grieveson <[EMAIL PROTECTED]> To: debian-user@lists.debian.org Sent: Sunday, December 16, 2007 9:37:41 AM Subject: Re: CGI Scripts, Apache 2.2.3, and Debian 4.0 R1 On Sun, 16 Dec 2007 08:05:04 + (UTC) [EMAIL PROTECTED] wrote: Allo

Re: CGI Scripts, Apache 2.2.3, and Debian 4.0 R1

2007-12-16 Thread Freddy Freeloader
Jon D. Irish wrote: I have a clean install of Debian 4.0 R1 with Apache 2.2.3-4 installed. I can not get cgi scripts to execute from the website. I have researched the Apache site and tried both of the following: 1) Under apache2.conf, I added Options +ExecCGI AddHandler cgi

Re: CGI Scripts, Apache 2.2.3, and Debian 4.0 R1

2007-12-16 Thread Mark Grieveson
On Sun, 16 Dec 2007 11:29:26 -0800 (PST) "Jon D. Irish" <[EMAIL PROTECTED]> wrote: > Hi Mark, > Still no luck. I keep getting "The webpage cannot be found" errors. > Is it possible that I am missing an Apache package? Here are my > index,html and config files (if it would help). > > Thanks, > Jo

Re: CGI Scripts, Apache 2.2.3, and Debian 4.0 R1

2007-12-16 Thread Jon D. Irish
To: debian-user@lists.debian.org Sent: Sunday, December 16, 2007 9:37:41 AM Subject: Re: CGI Scripts, Apache 2.2.3, and Debian 4.0 R1 On Sun, 16 Dec 2007 08:05:04 + (UTC) [EMAIL PROTECTED] wrote: > >AllowOverride None >Options Indexes Includes FollowSymLinks >Or

Re: CGI Scripts, Apache 2.2.3, and Debian 4.0 R1

2007-12-16 Thread Mark Grieveson
On Sun, 16 Dec 2007 08:05:04 + (UTC) [EMAIL PROTECTED] wrote: > > AllowOverride None > Options Indexes Includes FollowSymLinks > Order deny,allow > Deny from all > Allow from 192.168.1 > > > Neither of these has allowed my cgi scripts to run. Can som

Re: cgi-bin SOLVED

2006-08-21 Thread Mark Grieveson
Okay, first off, thanks for your suggestions. I did finally figure it out. I had set up a virtual host, just in case I wanted to serve other sites from here. However, I had not properly added support for cgi-bin files to this host. I noticed this when checking the /etc/apache2/sites-enabled

Re: cgi-bin

2006-08-21 Thread Mark Grieveson
Just a small addendum to my last message on this thread: the cgi-bin search engine does work when I try it on the local host via either the terminal, or the browser (ie, http://localhost/cgi-bin/htsearch), but not via the site I'm serving to the wide world. I think there must be a flaw, or ov

Re: cgi-bin

2006-08-21 Thread Mark Grieveson
Robert Harris wrote: Mark Grieveson wrote: Robert Harris wrote: Mark Grieveson wrote: Hello. cgi-bin files are not working on my webserver. I use apache2, on Etch. Specifically, I'm trying to get htsearch, of the search program htdig, to work on my site that I serve. It wo

Re: cgi ?

2005-06-06 Thread Alban Browaeys
Le Mon, 06 Jun 2005 06:44:45 +0200, Brent Clark a écrit : You should try dspam alioth mailing list ... have you used their package also ? Also i wonder if AUthPAM plays well with Auth digest ... and you may be interested in adding a ScripAlias rules to have the script executed when authetication

Re: cgi

2004-05-24 Thread Juan Nin
[EMAIL PROTECTED] wrote: I'm working on CGI, one of my script (python or perl) launch a command (using sudo). I would like this command to keep running when the cgi stops. I tried system(), exec() and even fork() in perl and python but nothing. you can run the command with an ampersand at the end s

Re: cgi

2002-11-30 Thread Gary Turner
Willem-Jan Meijer wrote: >There was indeed a cgi-bin in /usr/lib/ but if I put a script in it, it >doesn't work. > >Can someone help me to setup cgi so that it works. A remote-login is >also possible. [For mail-lists, will you please turn off the HTML?] Check /etc/apache/httpd.conf for the foll

Re: cgi

2002-11-30 Thread pierre
On Saturday 30 November 2002 13:28, Willem-Jan Meijer wrote: Hello 2 way i can see it done 1.chown user[.group] file Change the user and group ownership of files. To make the file index.html owned by the user web $ chown web index.html To make the file index.html owned by the user web and owned b

Re: CGI script using perl

2001-08-12 Thread John Toon
On 12 Aug 2001 15:27:37 +0530, [EMAIL PROTECTED] wrote: > Suppose I am having an HTML form that calls a CGI script wriiten in Perl (hosted by a > Linux Server) : > 1. Does the fresh program I have written and labelled as , say, action.pl > ... Yes, it's generally a good idea to append the

Re: CGI isn't working too well

2001-07-27 Thread Pietro Cagnoni
> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ > #ScriptAlias /~news/ /home/news/public_html/cgi-bin/ ok, maybe it's too easy, but did you try to uncomment the ScriptAlias /~news/ ... line? whith this setting, the url http://your.host/~news/script.cgi will execute /home/news/public_html/cgi-bin/script

Re: cgi-bin security

2000-10-26 Thread Olaf Meeuwissen
"Thomas R. Shemanske" <[EMAIL PROTECTED]> writes: > I administer a couple of linux machines (potato based), and have a user > which want to run cgi-bin scripts, and I would like to know if there are > security concerns. Yes there are. Have a look at cgiwrap, it should take care of many if not mo

Re: cgi-bin security

2000-10-22 Thread will trillich
On Sun, Oct 22, 2000 at 09:06:48AM -0400, Thomas R. Shemanske wrote: > I administer a couple of linux machines (potato based), and have a user > which want to run cgi-bin scripts, and I would like to know if there are > security concerns. > > Currently all cgi-bin scripts which run are in /usr/lib

Re: CGI Help

1999-08-20 Thread Stephen Pitts
On Fri, Aug 20, 1999 at 09:49:06AM -0500, Keith G. Murphy wrote: > Stephen Pitts wrote: > > > [cut] > > My next project..developing an admin system using Python and wxWindows. > > I can develop under Linux and deliver it to my client running > > Windows without changing the code..do that with any

Re: CGI Help

1999-08-20 Thread Keith G. Murphy
Stephen Pitts wrote: > [cut] > My next project..developing an admin system using Python and wxWindows. > I can develop under Linux and deliver it to my client running > Windows without changing the code..do that with any other language > (including the much-acclaimed JDK/Swing combo!) Hmmm. Coul

Re: CGI Help

1999-08-19 Thread Stephen Pitts
Another cheer for Python! I ported a C++ daemon that wouldn't compile cleanly on Pair Networks' FreeBSD systems (old version of GCC and the STL) to Python in two days (my first Python program!) and: * code was 200 lines of code vs 500 of C++ and all in one file instead of 5 files of C++ * code ra

Re: CGI Help

1999-08-19 Thread Sean 'Shaleh' Perry
On 19-Aug-99 Tom wrote: > > Why C/C++? Because I'm too lazy to learn Perl :) > So look into Python. All the glory of C++ w/o the mess. Honest, it is worth the week of effort. class Foo: def __init__(self): self.i = 1 self.string = 'hi' f = Foo() prin

Re: CGI Help

1999-08-19 Thread Tom
Why C/C++? Because I'm too lazy to learn Perl :) On Thu, 19 Aug 1999, Brian Barrett wrote: > On Thu, Aug 19, 1999 at 04:16:05PM -0400, Tom wrote: > > I could use some assistance with tracking down an easy to use cgi lib for > > C/C++. I've downloaded the cgic stuff but it is a bit too complica

Re: CGI Help

1999-08-19 Thread Brian Barrett
On Thu, Aug 19, 1999 at 04:16:05PM -0400, Tom wrote: > I could use some assistance with tracking down an easy to use cgi lib for > C/C++. I've downloaded the cgic stuff but it is a bit too complicated and > involved in my opinion for parsing information from html forms (if you > know what I mean).

RE: CGI Help

1999-08-19 Thread Sean 'Shaleh' Perry
On 19-Aug-99 Tom wrote: > > Hi all (soory if this comes twice), > > I could use some assistance with tracking down an easy to use cgi lib for > C/C++. I've downloaded the cgic stuff but it is a bit too complicated and > involved in my opinion for parsing information from html forms (if you > kn

Re: cgi-lib.pl

1998-10-04 Thread Martin Bialasinski
>> "RW" == Ralph Winslow <[EMAIL PROTECTED]> writes: RW> I need the cgi-lib.pl package, and having downloaded libwww-perl5.21-1, RW> and libcgi-perl2.76-6, still can't find it. Could someone remind me RW> how to find out which package supplies this file. TIA AFAIK, this thing is from perl4. In

Re: cgi script for dos2unix and unix2dos

1998-08-16 Thread Brian Schau
Tried it and got: Forbidden You don't have permission to access /~nicholas/convert.cgi on this server Nicholas J. Leon wrote: > > On Sun, 16 Aug 1998, Paul Miller wrote: > > # On Sat, 15 Aug 1998, John wrote: > # > # > If nobody else wants to do this, I will. Except users will have

Re: cgi script for dos2unix and unix2dos

1998-08-16 Thread Nicholas J. Leon
On Sun, 16 Aug 1998, Paul Miller wrote: # On Sat, 15 Aug 1998, John wrote: # # > If nobody else wants to do this, I will. Except users will have to upload # > the text (i have a lame java applet that lets you upload from your # > browser) then it would Have the switches and a Okay button. I

Re: cgi script for dos2unix and unix2dos

1998-08-16 Thread Paul Miller
On Sat, 15 Aug 1998, John wrote: > If nobody else wants to do this, I will. Except users will have to upload > the text (i have a lame java applet that lets you upload from your > browser) then it would Have the switches and a Okay button. I see no need > for password though. If you want it pass

Re: cgi script for dos2unix and unix2dos

1998-08-16 Thread John
If nobody else wants to do this, I will. Except users will have to upload the text (i have a lame java applet that lets you upload from your browser) then it would Have the switches and a Okay button. I see no need for password though. If you want it password protected just stick a .htaccess file

Re: CGI on apache Revisited (wierd problems)

1998-07-22 Thread Maarten Boekhold
On Wed, 22 Jul 1998 [EMAIL PROTECTED] wrote: > wierd problems, at least from my standpoint. > I was having problems getting my CGI to run on apache > and to a certain point still am. > When I goto the browser and type for instance > > http://www.gbasin.net/~kent/counter.cgi > > it counts as it

Re: cgi-bin scripts for ppp dial-up

1998-06-05 Thread Martin Bialasinski
>> "EB" == Edward Betts <[EMAIL PROTECTED]> writes: EB> bo, halve hamm) to dial-up the internet. yes it works, but only by running EB> pon as root. i want to have a cgi-script so that all my users on win95 EB> boxes EB> can dial-up (this box does ip masq). how? Maybe masqdialer will work for yo

Re: cgi-bin scripts for ppp dial-up

1998-06-05 Thread Kenneth . Scharf
On Fri, Jun 05, 1998 at 10:37:09AM +0100, Edward Betts wrote: > hi, I wonder whether any body can help. i am trying to get my system (halve > bo, halve hamm) to dial-up the internet. yes it works, but only by running > pon as root. i want to have a cgi-script so that all my users on win95 boxes > c

Re: cgi-bin scripts for ppp dial-up

1998-06-05 Thread servis
On 5 Jun, Edward Betts wrote: > hi, I wonder whether any body can help. i am trying to get my system (halve > bo, halve hamm) to dial-up the internet. yes it works, but only by running > pon as root. i want to have a cgi-script so that all my users on win95 boxes > can dial-up (this box does ip ma

Re: cgi-bin scripts for ppp dial-up

1998-06-05 Thread Stephen Carpenter
On Fri, Jun 05, 1998 at 10:37:09AM +0100, Edward Betts wrote: > hi, I wonder whether any body can help. i am trying to get my system (halve > bo, halve hamm) to dial-up the internet. yes it works, but only by running > pon as root. i want to have a cgi-script so that all my users on win95 boxes > c

Re: CGI --> Debian/apache ---> Not working Why? Why. WHY!!!!

1998-03-25 Thread Hamish Moffatt
On Tue, Mar 24, 1998 at 05:34:52PM -0700, Kent Andersen wrote: > Got this problem, really bad actually, > Heres the rundown, what has to be done with permissions on the Debian Dist > to make the CGI scripting work? It must be permissions or something, I dont > know what I have to do to get them to

Re: Cgi? how to make it work? anyone?, anyone?

1998-03-09 Thread Hamish Moffatt
On Sun, Mar 08, 1998 at 04:28:01PM -0700, Kent Andersen wrote: > Everything looks good, other than the cgi craps out. > have cgi supported in apache and have pearl installed. > its like an out of the box install, > it acts like a permissions problem but Im not to shure, > I put the cgi scripts at

Re: CGI scripts to send and recieve email eg. MUA

1998-02-07 Thread Martin Bialasinski
"R. Chris Ross" <[EMAIL PROTECTED]> writes: > based mail would be a good temporary solution. cgiemail may work for > sending but receiving and managing an account is a different thing. How about www.emumail.com ? Waht are the exact problems with receiving mails? Any MTA you get with debian does

Re: CGI script for telnet or shell access

1998-01-25 Thread David Goodwin
On Thu, 22 Jan 1998, R. Chris Ross wrote: > > I am looking for a means of running a CGI script that would be > able to do a function similar to telnet. The idea would be that I could > access a Linux machine by means of any web browser and do standard shell > operations. Currently I work

Re: CGI script for telnet or shell access

1998-01-25 Thread W Paul Mills
On Thu, 22 Jan 1998, R. Chris Ross wrote: > > I am looking for a means of running a CGI script that would be > able to do a function similar to telnet. The idea would be that I could > access a Linux machine by means of any web browser and do standard shell > operations. Currently I work

Re: CGI script for telnet or shell access

1998-01-25 Thread W Paul Mills
On Thu, 22 Jan 1998, R. Chris Ross wrote: > > I am looking for a means of running a CGI script that would be > able to do a function similar to telnet. The idea would be that I could > access a Linux machine by means of any web browser and do standard shell > operations. Currently I work

Re: CGI script for telnet or shell access

1998-01-23 Thread Dave Thayer
On Thu, 22 Jan 1998, R. Chris Ross wrote: > > I am looking for a means of running a CGI script that would be > able to do a function similar to telnet. The idea would be that I could > access a Linux machine by means of any web browser and do standard shell > operations. Currently I work a

Re: CGI script for telnet or shell access

1998-01-23 Thread Ian Keith Setford
Chris- I have heard recently from 2 colleagues of mine that there are a few Java scripts/applets that allow you to telnet from a web-browser. I'll ask tomorrow at work and see about a url. Might try searching. -Ian On Thu, 22 Jan 1998, R. Chris Ross wrote: > > I am looking for a means

Re: CGI Error

1997-12-09 Thread Martin Bialasinski
On Mon, 8 Dec 1997, Paul Miller wrote: > Alright, this is really weird. After adding those lines it ran fine and > now it runs w/o those lines.. maybe my permissions were wrong, but I'm > sure they were 755 root/root. hmm.. Anyhow, now it only runs in the > /cgi-bin and not the user's director

Re: CGI Error

1997-12-09 Thread Paul Miller
Perl's "idiot's guide to solving cgi problems" didn't have any helpful hints for my problem. Although it did say something about running the server as a user which could write in all the cgi directories, which didn't seem right. Currently Apache runs as www-data/www-data which is enough access to

Re: CGI Error

1997-12-08 Thread Martin Bialasinski
On Mon, 8 Dec 1997, Paul Miller wrote: > I can run other cgi scripts, so that can't be the problem... > You didn't tell us, if you have accepted our advice to take a look at perl's "idiot's guide to solving cgi problems". Anyway, change the script like this: #!/usr/bin/perl open (OUT, ">/tmp/

Re: CGI Error

1997-12-08 Thread Paul Miller
On Mon, 8 Dec 1997, Hamish Moffatt wrote: > On Sun, Dec 07, 1997 at 11:29:08PM -0500, Paul Miller wrote: > > Unfortunately that is the first thing... it runs on other systems, so I'm > > clueless.. It wasn't able to run from the server cgi-bin, so I don't > > think it is suEXEC's problem, but Apa

Re: CGI Error

1997-12-08 Thread Hamish Moffatt
On Sun, Dec 07, 1997 at 11:29:08PM -0500, Paul Miller wrote: > Unfortunately that is the first thing... it runs on other systems, so I'm > clueless.. It wasn't able to run from the server cgi-bin, so I don't > think it is suEXEC's problem, but Apache's. Hmmm, ok, I apologise for getting a bit car

Re: CGI Error

1997-12-08 Thread Nathan E Norman
On Sun, 7 Dec 1997, Paul Miller wrote: : Unfortunately that is the first thing... it runs on other systems, so I'm : clueless.. It wasn't able to run from the server cgi-bin, so I don't : think it is suEXEC's problem, but Apache's. : : Thanks Are you sure that you have a directive set up for y

Re: CGI Error

1997-12-08 Thread Paul Miller
Unfortunately that is the first thing... it runs on other systems, so I'm clueless.. It wasn't able to run from the server cgi-bin, so I don't think it is suEXEC's problem, but Apache's. Thanks On Mon, 8 Dec 1997, Hamish Moffatt wrote: > On Sun, Dec 07, 1997 at 05:19:01PM -0500, Paul Miller wro

Re: CGI Error

1997-12-08 Thread Troy
I took his script, just as it was posted earlier, and installed it on my machine here. It ran flawlessly as a CGI program and gave me the thankyou notice (the script was posted a couple of days ago). I sent him the same script I made, and it doesn't work on his system, I am using perl5.003, and

Re: CGI Error

1997-12-08 Thread Hamish Moffatt
On Sun, Dec 07, 1997 at 05:19:01PM -0500, Paul Miller wrote: > hmmm... that means something is wrong with Apache, suEXEC, or Perl 5.004. > Do I need any special perl libs/files for cgi? > > I've been able to run files which use sh (bash) and awk fine.. so I think > there is something wrong w/ perl

Re: CGI Error

1997-12-08 Thread Ralph Winslow
On 07-Dec-97 Paul Miller wrote: >hmmm... that means something is wrong with Apache, suEXEC, or Perl 5.004. >Do I need any special perl libs/files for cgi? The code you showed doesn't need anything but perl. If the command "whence perl" shows /usr/bin/perl, and dselect is working for you (or anyot

Re: CGI Error

1997-12-07 Thread Paul Miller
hmmm... that means something is wrong with Apache, suEXEC, or Perl 5.004. Do I need any special perl libs/files for cgi? I've been able to run files which use sh (bash) and awk fine.. so I think there is something wrong w/ perl. Thanks Paul On Sun, 7 Dec 1997, Troy wrote: > It works (as is) on

Re: CGI Error

1997-12-07 Thread Martin Bialasinski
On Sun, 7 Dec 1997, Paul Miller wrote: > I didn't write this script and don't know perl, so I don;t know what is > wrong... > As someone pointed out: the Idiot's Guide To Solving CGI Problems at www.perl.com is great. If you want to use CGI's scripts written in perl, I strongly advice you to rea

Re: CGI Error

1997-12-07 Thread Paul Miller
On Sun, 7 Dec 1997, Hamish Moffatt wrote: > You probably forgot to output the content type & the following blank line. > Something like > > print "Content-type: text/html\n\n" > > would usually do it. I didn't write this script and don't know perl, so I don;t know what is wrong... --- #!/usr/

Re: CGI Error

1997-12-07 Thread Carey Evans
I wrote: > Have a look at the Don't-be-offended-by-the-name Idiot's Guide to > Solving Perl CGI Problems. Although it's aimed at > comp.lang.perl.misc, it's still got a lot of good advice. It must be too late at night... That's at http://www.perl.com/CPAN/doc/FAQs/cgi/idiots-guide.html> --

Re: CGI Error

1997-12-07 Thread Carey Evans
Paul Miller <[EMAIL PROTECTED]> writes: > How can I fix this problem? > > *** > Internal Server Error > > The server encountered an internal error or misconfiguration and was > unable to complete your request. [snip] Have a look at the Don't-be-offended-by-the-name Idiot's Guide to Solving Per

Re: CGI Error

1997-12-07 Thread Hamish Moffatt
On Sat, Dec 06, 1997 at 11:57:22PM -0500, Paul Miller wrote: > On Sat, 6 Dec 1997, Alex Yukhimets wrote: > > > How can I fix this problem? > > Run "perl -c" on your script and see what happens. > > Plus check if it is mode 755. > > syntax OK > > perl is mode 755.. should the script be? I tried t

Re: CGI Error

1997-12-07 Thread Brandon Mitchell
On Sat, 6 Dec 1997, Paul Miller wrote: > How can I fix this problem? > > *** > Internal Server Error > > The server encountered an internal error or misconfiguration and was > unable to complete your request. My favorite trick, make a script in the same directory: #!/bin/sh /path-to-cgi/scrip

Re: CGI Error

1997-12-07 Thread Paul Miller
On Sat, 6 Dec 1997, Alex Yukhimets wrote: > > How can I fix this problem? > > Run "perl -c" on your script and see what happens. > Plus check if it is mode 755. syntax OK perl is mode 755.. should the script be? I tried the script at 755 is it still didn't work... -Paul -- TO UNSUBSCRIBE FR

Re: CGI Error

1997-12-07 Thread Alex Yukhimets
> How can I fix this problem? Run "perl -c" on your script and see what happens. Plus check if it is mode 755. Alex Y. -- _ _( )_ ( (o___ +---+ | _ 7 |Alexander Yukhimets| \(")|

RE: CGI SCRIPT

1997-11-02 Thread Valerio VALDEZ Paolini
> > I mean to be able to control the URL listed in the location window. > I do JavaScript and I am learning CGI/Perl but I don't know much in it yet. > If you mean "to be able to change something stored by Netscape", I'm quite sure that you can't, because this would be a privacy break: if

RE: CGI SCRIPT

1997-11-01 Thread Collin Rose
I mean to be able to control the URL listed in the location window. I do JavaScript and I am learning CGI/Perl but I don't know much in it yet. Collin -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .

RE: CGI Script

1997-11-01 Thread Ralph Winslow
On 01-Nov-97 Collin Rose wrote: > >Can anyone tell me how to create or where I can get a CGI script that will >allow me >to specify the ADDRESS that appears in the URL window? Is this possible? Sure it's possible. It's easy if you know perl and a little HTML. Do you, when you refer to "address"