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 genericstable

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 on

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

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

2001-08-04 Thread John Buwa
ass guess. On Saturday, August 4, 2001, at 11:29 PM, John Buwa wrote: > Ok guys, > > Here goes again ... To refresh the standing: I am running my scripts on > regular apache as the active server to the public. I am porting over my > scripts to work properly with the modperl enable ap

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

2001-08-04 Thread John Buwa
hat other information would be helpull to you. If there is anything else please let me know, and if you see anything wrong above id apreciate your input.   Thanks, John Buwa  

Re: More stuff not working with conversion to modperl?

2001-08-01 Thread John Buwa
und after 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 mod

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 i

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

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 run

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 th

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: 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

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 =~

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

modperl@apache.org

2001-07-26 Thread John Buwa
eps adding $user=joejoejoejoe etc..same for the $pass and every other variable used.   I hope this sheds some light on this problem as i am clueless at this point. The same code runs without these errors on a regular apache setup without mod perl it only occurs on a modperl server.   Any inofmration is greatly greatly apreciated!   Thanks, John Buwa

Re: cgi-lib.pl

2001-07-25 Thread John Buwa
t on a non-mod_perl server. 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

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