RE: Protected WEB pages in Perl

2002-08-13 Thread Steven Vargas
Hey Alex, I would be great if you could helps us out a little more. What kind of server are you using? IIS? Check the help section of the IIS Management Console: Start > Run > mmc on how to restrict access to directories. If you want to do the restriction based on cookies then you can use JavaScr

RE: Protected WEB pages in Perl

2002-08-13 Thread Alex Agerholm
I mean WEB pages that are protected using some sort of session variables or cookies. The pages are going to run on a platform that does not support .htaccess. Regards Alex -Original Message- From: drieux [mailto:[EMAIL PROTECTED]] Sent: 13. august 2002 15:44 To: cgi cgi-list Subject: Re:

Re: server_a and server_b permission update

2002-08-13 Thread Jimmy George
Hello Wiggins and World As a check I did put the cgi-bin folder onto 755. That allowed me to read the contents of the folder and did allow me to run the errant environ1.cgi file. the error log is available and errors can look like this = 203.220.157.51 - - [07/Aug/2002:18:21:08 +1000] "POST /cgi

Re: server_a and server_b description

2002-08-13 Thread Wiggins d'Anconia
Jimmy George wrote: > An earlier email of mine did say that this cgi-bin folder in my home > site is a 711 protection and does contain a file test1.cgi also at 711 > protection that does work. > 711 should work as you say since you (the web server's user) are simply executing the script. >

Re: Cache problem in IE

2002-08-13 Thread Wiggins d'Anconia
Might be other ways to thwart this, but we would need more info about how you are doing things, aka POST or GET, setting cookies, etc. If you want to rid yourself of both the back button problem and session only cookies, you could always have your return page use a little javascript and call

server_a and server_b description

2002-08-13 Thread Jimmy George
Thank you all and here is a better description. When I logon to the web I am going through an ISP that (obviously) allows logons. So I enter the web with a user name through that ISP. My home site - the cabonnecreations - is on another server that does not have login capability. So my work with

new lines and stupidity

2002-08-13 Thread Jimmy George
Hello World David pointed out that the \n is not applicable in the context I was in and that the html was. Of course! Only silly tired people like me do dumb things like that after having been using them in text definitions for the previous hour or more. Sorry about that. cheers Jimmy George

Re: 7xx's et al

2002-08-13 Thread Jimmy George
Hi David and thanks True 755 is required for both read and execute by the group and world. But all the directories and html code in my home site are all 744. I have the cgi-bin folder on 711 as that I thought (under Apache anyway) was supposedly only accessible by the owner but the world also re

Cache problem in IE

2002-08-13 Thread Niko Gunadi
Hi, I developed an online polling system where ppl can vote online. This voting is done in a computer room where people come down and vote. The problem is the caching problem that happen in IE. For example, I vote in a certain computer then i log off. The next person who uses the computer can st

Re: REMOVE ME from your mailing list!

2002-08-13 Thread David T-G
Troy, et al -- ...and then Troy May said... % % LOL This cracked me up! :) Happy to be of service :-) Thanks & HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECT

RE: REMOVE ME from your mailing list!

2002-08-13 Thread Troy May
LOL This cracked me up! :) -Original Message- From: David T-G [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 13, 2002 3:51 PM To: perl beginners cgi Cc: Buskirk, Richard Mr USAREC Subject: Re: REMOVE ME from your mailing list! Mr. Buskirk -- and then Buskirk, Richard Mr USAREC

Re: REMOVE ME from your mailing list!

2002-08-13 Thread David T-G
Mr. Buskirk -- ...and then Buskirk, Richard Mr USAREC said... % % i have done everything but beg and i dont want to recieve this again! I am sorry to hear of your difficulties unsubscribing. Subscribing to and unsubscribing from mailing lists are extremely delicate technical procedures and sho

Re: Protected WEB pages in Perl

2002-08-13 Thread md
--- Alex Agerholm <[EMAIL PROTECTED]> wrote: > Hi everyone > > I am new to writing CGI code in Perl and I am going > to make some protected > WEB pages using Perl. > Can anyone direct me to some sample code for making > a simple login system > and some protected WEB pages ? You can use Apache

Re: real beginners stuff

2002-08-13 Thread perl-dvd
Jimmy, Sorry I had not read this post before I replied to the other. You need the permissions on a folder to be readable and executable in order for people to read what is in that folder period (not just execute scripts). So your folder needs to be permissions 755. Your script must be read

Re: new lines

2002-08-13 Thread perl-dvd
Jimmy, Do you know html? In html you use "" (without the quotes) to display a line break. Personally, because of some reasoning's people have presented to me, I wont tell you to not use - print $q->header("text/html"); - But I would HI

Re: How does ZOMBIE/defunct affect the system?

2002-08-13 Thread drieux
On Tuesday, August 13, 2002, at 05:47 , Kipp, James wrote: [..] > sub start_d { > umask 0; > open (STDIN, "/dev/null") or die "Can't read /dev/null: $!"; > open (STDOUT, ">/dev/null") or die "Can't write to /dev/null: $!" > ; > open (STDERR, ">&STDOUT") or die "C

RE: real beginners stuff

2002-08-13 Thread Bob Showalter
> -Original Message- > From: Jimmy George [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 13, 2002 3:03 AM > To: cgi > Subject: real beginners stuff > > > Hello World > > If I logon to the web via (say) server_a and then start this > script in server_b > which has the code in its

Re: Protected WEB pages in Perl

2002-08-13 Thread drieux
On Tuesday, August 13, 2002, at 12:32 , Alex Agerholm wrote: > Hi everyone > > I am new to writing CGI code in Perl and I am going to make some protected > WEB pages using Perl. > Can anyone direct me to some sample code for making a simple login system > and some protected WEB pages ? do you m

RE: real beginners stuff

2002-08-13 Thread Scot Robnett
Try printing the content type before your HERE doc, not within it. Scot R. inSite -Original Message- From: Jimmy George [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 13, 2002 2:03 AM To: cgi Subject: real beginners stuff Hello World If I logon to the web via (say) server_a and the

Re: REMOVE ME from your mailing list!

2002-08-13 Thread John Pitchko
Did you read where it says, "To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]"??? Or try mailing the admin? John Pitchko Data Services Saskatchewan Government Insurance >>> "Buskirk, Richard Mr USAREC" <[EMAIL PROTECTED]> 08/13/02 07:14am >>> i have

REMOVE ME from your mailing list!

2002-08-13 Thread Buskirk, Richard Mr USAREC
i have done everything but beg and i dont want to recieve this again! Alternate Email account [EMAIL PROTECTED] [EMAIL PROTECTED] Richard L. Buskirk Software Developer/Web Developer -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Creating a shopping cart

2002-08-13 Thread zentara
On Mon, 12 Aug 2002 21:25:18 +0300, [EMAIL PROTECTED] (Octavian Rasnita) wrote: > >Thank you but I want to learn that. >I want to learn how to work with a commerce partner, how should I write the >shopping cart to be able to communicate with them, etc. > Most of these online verification systems

Re: real beginners stuff

2002-08-13 Thread Connie Chan
Don't have exact idea, but see inline comments : > > #! /usr/bin/perl -w Try #!/usr ... you've added a space there. use CGI::Carp qw(fatalsToBrowser); # try add this line [...] > > should I get to see the %ENV details of server_a? Not, but you might check your error.log so you'll get a bette

Re: new lines

2002-08-13 Thread Felix Geerinckx
on Tue, 13 Aug 2002 08:19:39 GMT, [EMAIL PROTECTED] (Jimmy George) wrote: > This script is from a text book [code snipped] > but how do we put \n's into it for a better display on the screen?? All "\n" are ignored by you webbrowser (unless they are between a pair of tags). If you want to s

new lines

2002-08-13 Thread Jimmy George
Hello World This script is from a text book #! /usr/bin/perl -w # use CGI; use strict; # my $q = new CGI; # print $q->header("text/html"), $q->start_html("Environment check"), $q->server_name, $q->ser

Protected WEB pages in Perl

2002-08-13 Thread Alex Agerholm
Hi everyone I am new to writing CGI code in Perl and I am going to make some protected WEB pages using Perl. Can anyone direct me to some sample code for making a simple login system and some protected WEB pages ? Thanks in advance Regards Alex -- To unsubscribe, e-mail: [EMAIL PROTECTED] F