Re: Sharing Variable Across Apache Children

2002-04-17 Thread Medi Montaseri
True, but much better than Round Robin DNS.also one can configure those A records to expire immediately Peter Bi wrote: What will happen if the client's DNS caches the domain name to an IP, which is then dead  ? If I understand it corrently, the current system can work only if there is so

Re: Sharing Variable Across Apache Children

2002-04-17 Thread Peter Bi
What will happen if the client's DNS caches the domain name to an IP, which is then dead ? If I understand it corrently, the current system can work only if there is something like NAT in front of the machines, which dynaimcally forward each request. Won't it ? Peter Bi - Original Message

Fwd: modper2 binary problem

2002-04-17 Thread Stefan Scheid
"Stefan Scheid" <[EMAIL PROTECTED]> schrieb am 17.04.02: > Hi ron, > i read about that prob. did you solve it? > > on my ibm http (apache 1.3.6) using the directives > > *** Options ExecCgi FollowSymLinks SymLinksIfOwnerMatch > *** SetHandler cgi-script > *** AddHandler .cgi .pl .ex

Re: Apache::DProf seg faulting

2002-04-17 Thread Sam Tregar
On Wed, 17 Apr 2002, Paul Lindner wrote: > I think that this may be a problem with the use of sections. > > I believe your original post had something like this: > > > use Apache::DProf > use Apache::DB > Apache::DB->init(); > Nope. That was Perrin Harkins, but I tried it too! > Geoff

Re: PREANNOUNCE: modperl banners project

2002-04-17 Thread Peter Bi
COOOL image! (Apparently, I missed that part of discussion when I was in observational cosmology. --no kidding) Peter Bi - Original Message - From: "Stas Bekman" <[EMAIL PROTECTED]> To: "Peter Bi" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, April 17, 2002 10:19 PM Subj

RE: framesets/AuthCookie question

2002-04-17 Thread Jeff
Sounds to me like your Javascript should be smarter? ie it should ask top to open the full url including any optional message. Why not include this in your real login page: and your au

Re: framesets/AuthCookie question

2002-04-17 Thread Peter Bi
Fran: You may need to 1) add a few lines of code in AuthCookie to make your error code aware to other methods, and 2) have a dynamic login page that can interpret the code. Alternatively, you may try AccessCookie I posted. :-) In AccessCookie, you simply "return $error" from authenticate(), le

Re: PREANNOUNCE: modperl banners project

2002-04-17 Thread Stas Bekman
Peter Bi wrote: > Is "mod_perl" supposed to be the final choice of the name ? Someones > suggested before to use a different name like "Tomcat" for Java. What is the > latest conclusion ? Where have you been all this time, it was cast in stone already: http://apache.org/~stas/boulder.gif :) __

Re: DSO on Solaris - child dies with seg fault

2002-04-17 Thread Sreeji K Das
Thanx Doug for the reply. Unfortunately I still get segfaults :-( No difference. Once I have the time, I'll get the stacktrace & see for any clues. Right now I have kept DSO in the backburner, as I have got PerlFreshRestart fully up and runnig (with a no. of patches to mod_perl) Sreeji --- Doug

Re: PREANNOUNCE: modperl banners project

2002-04-17 Thread Peter Bi
Is "mod_perl" supposed to be the final choice of the name ? Someones suggested before to use a different name like "Tomcat" for Java. What is the latest conclusion ? Peter Bi - Original Message - From: "Stas Bekman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 16, 20

Re: Problem Installing mod_perl + mod_ssl in Solaris 8 - Please Help !

2002-04-17 Thread Stas Bekman
Fernando Munoz wrote: > These are the software/platform I'm working with: > > Solaris 8 > Perl 5.6.1 > OpenSSl-0.9.6c > mod_ssl-2.8.8-1.3.24 > mod_perl-1.24_01 > Apache 1.3.24 > > These are the steps that I've taken to install the modules: Try to

Re: Sharing Variable Across Apache Children

2002-04-17 Thread Stas Bekman
Stas Bekman wrote: > Medi Montaseri wrote: > >> Unfortunately everyone wants to use email for everything.the >> proper way would >> be to use some facilities that have proven track record, like >> syslogd(1d) on each >> box. > > > syslog(3) is not a very scalable solution because it's sl

Re: Sharing Variable Across Apache Children

2002-04-17 Thread Stas Bekman
Medi Montaseri wrote: > Unfortunately everyone wants to use email for everything.the proper > way would > be to use some facilities that have proven track record, like > syslogd(1d) on each > box. syslog(3) is not a very scalable solution because it's slow. It's also unreliable because it

Re: Sharing Variable Across Apache Children

2002-04-17 Thread Perrin Harkins
> Abstracting access to data is only half of the storythe more challenging > part is race conditions and lock management... All of the data sharing tools take the logistics of multi-process read/write situations into account, although they do it in different ways. Some use file locking, othe

Re: Sharing Variable Across Apache Children

2002-04-17 Thread Medi Montaseri
Unfortunately everyone wants to use email for everything.the proper way would be to use some facilities that have proven track record, like syslogd(1d) on each box. As you know syslogd() allows you to route a message to a remote box. So, you assign one of your boxes as the final or central po

Re: Sharing Variable Across Apache Children

2002-04-17 Thread Medi Montaseri
You had us going for a whileI thought you are talking about some distributed session management (accross different boxes) Another suggestion is to use lbnamed. lbnamed is a DNS server and Load Balancing server that listens to port 53 and resolves IPs, but on the other side of its personal

Re: Sharing Variable Across Apache Children

2002-04-17 Thread Medi Montaseri
Abstracting access to data is only half of the storythe more challenging part is race conditions and lock management... Perrin Harkins wrote: > Stas Bekman wrote: > > You cannot do that unless you use IPC, which is usually only useful if > > he variable is small. DBM file is another solution

Apache/Mod_Perl in Production Env-- NOT Recommended in Windows?

2002-04-17 Thread Arul, Rex
Friends, I know Apache/Mod_Perl on OS other than Windows to be the trend du juor. However, I am in jitters seeing this explicit warning given in http://www.perl.com web-portal. "NOTE: it is not recommended to use Windows for production Apache/mod_perl servers; Apache/mod_perl 1.x is not able t

Problem Installing mod_perl + mod_ssl in Solaris 8 - Please Help !

2002-04-17 Thread Fernando Munoz
These are the software/platform I'm working with: Solaris 8 Perl 5.6.1 OpenSSl-0.9.6c mod_ssl-2.8.8-1.3.24 mod_perl-1.24_01 Apache 1.3.24 These are the steps that I've taken to install the modules: Installing OpenSSl :

Re: mod_perl Basic Authentication problem using PerlAuthenHandler

2002-04-17 Thread Geoffrey Young
Jason wrote: > In httpd.conf i have > [snip] > Deny from all > [snip] > > It warns to the log file and returns But the problem is, why does my browser >come up "forbidden" I suspect "Deny from all" is the issue... the PerlAccessHandler will run before the apache defaul

Re: Apache::DProf seg faulting

2002-04-17 Thread Paul Lindner
On Tue, Apr 16, 2002 at 06:05:11PM -0400, Sam Tregar wrote: > On Tue, 16 Apr 2002, Sam Tregar wrote: > > > On 16 Apr 2002, Garth Winter Webb wrote: > > > > > Sam, try getting rid of the 'PerlModule Apache::DB' line. I've used > > > Apache::DProf w/o any problems by including only the one Per

mod_perl Basic Authentication problem using PerlAuthenHandler

2002-04-17 Thread Jason
In httpd.conf i have PerlAccessHandler ApacheAuthentication PerlSetVar Intranet "65.103.229.188 => joe, 10.10.10.2 => userB" PerlAuthenHandler ApacheAuthentication AuthName realm AuthType Basic Require valid-user Order deny,allow Den

framesets/AuthCookie question

2002-04-17 Thread Fran Fabrizio
I'm using AuthCookie and as some of you know, if it determines your session to be invalid it redirects to a login page instead by way of a FORBIDDEN response coupled with a custom error page. My app has a frameset (navigation on the left, and two data frames on the right). I know the evils o

RE: Sharing Variable Across Apache Children

2002-04-17 Thread Vuillemot, Ward W
I am desperate enough to use this thread to try to get an answer to my own IPC question. ;) I keep getting the following error using OPEN3 along with the appropriate modifications to my code for using mod_perl with Perl 5.6.1. The offending (and it is very offensive to me!) is: [error] open3:

Re: Sharing Variable Across Apache Children

2002-04-17 Thread Sam Tregar
On Wed, 17 Apr 2002, Perrin Harkins wrote: > Benjamin Elbirt wrote: > > Well, lets assume that I were to go with > > the shared memory option anyway... what would the pitfalls be / concerns? > > As mentioned before, you'd probably be better off with MLDBM::Sync or > Cache::Cache. You can try IPC

Re: Best way to create a properties file for cgi/perl scripts

2002-04-17 Thread Elizabeth Barham
"Cox, Todd (NCI)" <[EMAIL PROTECTED]> writes: > I have a few Perl scripts that updates our Novell Directory using the > Net::LDAP module. My question is I have created a ldap properties file that > has the bind user and a few other items like scope and base. I would like > to know the best way t

Best way to create a properties file for cgi/perl scripts

2002-04-17 Thread Cox, Todd (NCI)
To all who may help, I have a few Perl scripts that updates our Novell Directory using the Net::LDAP module. My question is I have created a ldap properties file that has the bind user and a few other items like scope and base. I would like to know the best way to secure this file but still have

Re: Sharing Variable Across Apache Children

2002-04-17 Thread Perrin Harkins
Benjamin Elbirt wrote: > Well, lets assume that I were to go with > the shared memory option anyway... what would the pitfalls be / concerns? As mentioned before, you'd probably be better off with MLDBM::Sync or Cache::Cache. You can try IPC::Shareable, but a lot of people seem to have trouble

Re: Sharing Variable Across Apache Children

2002-04-17 Thread Tom Brown
Is the webserver useful if you have an error that warrants sending a mail? If sending an email means the server is broken having a flood of mails may be a feature. It will be incentive to fix whatever is breaking your server/db. Also, I would strongly recommend keeping your warning system as simpl

Apache::DB for win32

2002-04-17 Thread [EMAIL PROTECTED]
Hi winnt/as561/ modperl 1_26_01-dev / apache 1.3.22 I installed Apache::DB module from theoryx5 repository. I put the necessary directives in httpd.conf. It is said to start apache with -X flag. but there is no such possibility on win32 apache. so i started the server normally and manually in a