Scripts and passwd

2002-05-19 Thread john . buwa
I have written scripts to add a user to the passwd and shadow files as well as sendmail user files. When I run this script from the command line for testing all runs and completes fine. But when I run the script from apache via the web interface I designed it for, I get file permission errors

Re: Scripts and passwd

2002-05-19 Thread john . buwa
Hello Thanks for the reply. Yes this server is running mod perl :) As for risky. Well the whole point of the script system is to add a pop mail box for a user. But in order to do this i have to do the following: add user to the passwd/shadow file add user to the virtusertable and

Ip Address On Outbound

2002-01-08 Thread John Buwa
Hello, I havea question on outbound ips. I am writing a program that a user can enter an address and a spider will go and retrieve only the information that was request and then display the results to the enquiring user. My question is though, i have grabed the users ip address as the initiator

Re: Again, Modperl running scripts slower than non-modperl!?

2001-08-05 Thread John Buwa
Not having read anything before this, but it seems that your machine is going into swap because there is not enough RAM available. That kills your performance always. Could you run your test on a different machine or temporarily switch off the regular server? Trying to run close to 200

Re: More stuff not working with conversion to modperl?

2001-08-01 Thread John Buwa
the web transaction is complete. ryan - Original Message - From: John Buwa [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 31, 2001 5:26 AM Subject: More stuff not working with conversion to modperl? Hello, I am trying to finish up my scripts conversion to mod perl

Fw: Size

2001-07-31 Thread John Buwa
- Original Message - From: John Buwa [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 31, 2001 5:12 AM Subject: Re: Size Thanks, I went ahead and did this and it seems this did the job, my httpd is much smaller! Now i will just have to watch and see if it stays like

More stuff not working with conversion to modperl?

2001-07-31 Thread John Buwa
Hello, I am trying to finish up my scripts conversion to mod perl and here is a routine i truely do not undestand why it is not working. This is the same code that is running on both the modperl i am useing to port scripts and test and the live non-modperl apache, which works fine: This is

Size

2001-07-30 Thread John Buwa
Hello, I was wondering is this an unusual size? I know the man says size will grow etc... but i am looking for others opinions based on there setups and real life vs. text book comparison. 4669 nobody 20 0 215M 91M 204 R 29.6 55.9 1:00 httpd It seems my modperl apache runs slower than my

Re: Santitizing errors with mod_perl

2001-07-28 Thread John Buwa
Hello Everyone, Thanks all for the terrific answers and help. It is actually working now!? What did i do you ask? Not a thing, hmmm strange. My modperl apache server is not in production, i set it to run on port at the same time as my normal apache server, and i am taking my code changing

Globals

2001-07-27 Thread John Buwa
I am useing -w and strict on my code and i get this when using strict. i gave this script a name say package libtest; So why is this still saying package name required? Global symbol $line requires explicit package name at libwork.pl line 273. Global symbol @a requires explicit package name at

Santitizing errors with mod_perl

2001-07-27 Thread John Buwa
Hi there, Sorry about all these questions, i am really new to modperl and just trying to get it to work :( I sanitize all my input in my scripts to only allow chars i want allowed. My working lines before using modperl and for some reason kick out error with mod perl are as follows: $user =~

Re: Santitizing errors with mod_perl

2001-07-27 Thread John Buwa
Hi there, On Fri, 27 Jul 2001, John Buwa wrote: $user =~ s/[^$OK_CHARS]//go; $pass =~ s/[^$OK_CHARS]//go; [snip] [error] Unmatched [ before HERE mark in regex m/[ HERE ^]/ at libwelcome.pl line 169. Hmmm. Your code says s/// not m//. Is this anywhere near line 169

Re: Santitizing errors with mod_perl

2001-07-27 Thread John Buwa
here is the value $OK_CHARS='-a-zA-Z0-9_.@ '; John perhaps the escaping is not getting done properly. is there a '[' in $OK_CHARS? can we see what the definition of $OK_CHARS looks like?

Re: cgi-lib.pl

2001-07-26 Thread John Buwa
. Thanks, john John == John Buwa [EMAIL PROTECTED] writes: John I have a huge system i wrote using the cgi-lib.pl as its core. I John attempted to integrate mod-perl with my system and all my John cgi-lib.pl which are used via a require in all scripts returns John errors. My dont work, if they do

cgi-lib.pl

2001-07-23 Thread John Buwa
Hello, I have a huge system i wrote using the cgi-lib.pl as its core. I attempted to integrate mod-perl with my system and all my cgi-lib.pl which are used via a require in all scripts returns errors. My dont work, if they do the act very strange and unacceptable. My question is how do i