using modules in if...else

2003-10-26 Thread Andrey A. Kudrin
Hello , Hello! I have a problem and can't get it how to solve it. When I'm using 'use Module;' in if..elsif statement I've got situation when all modules is included. For example (from code snippets bellow) if I call edit_info it makes My::Info and My::Setting to be used and I can't use global var

Re: Server Load Balancing: DNS Round-robin vs RewriteMap vs ????

2003-10-26 Thread Dzuy Nguyen
3) Linux Virtual Server (LVS) http://www.linuxvirtualserver.org/ Nigel Hamilton wrote: Hi, Imagine for a moment ... you're stuck on a deserted island and there's no hardware load balancer vendor in sight. With only coconuts, five linux servers and an Internet connection you need to come up with

Re mod_perl returning perl scripts

2003-10-26 Thread Angela
Aaah! I feel incredibly foolish! And I apologize for wasting the time of you good people here. I watched Internet explorer download the file and saw that the filename corresponded with my script name. When I tried to open it from the download option, it opened a command window that promptly closed

RE: Mod_perl returning perl scripts

2003-10-26 Thread Angela
Babs wrote:- >I got a similar problem sometime ago; for some unknown reason, it worked >alright after I restarted Apache afresh. Perhaps it may help you too. Let >me know how you finally solve the problem. >Besides that, you need to explicitly tell mod_perl to always send a header >to the browser

Re: [OT] Re: Server Load Balancing: DNS Round-robin vs RewriteMap vs ????

2003-10-26 Thread Les Mikesell
From: "Nigel Hamilton" <[EMAIL PROTECTED]> > I was worried about DNS caching and your IE experience does not > bode well for the round robin option. Did you set the TTL to less than 60 > seconds? Individual IE clients will cache the DNS response indefinately regardless of the TTL. However statist

Re: Mod_perl returning perl scripts

2003-10-26 Thread Randy Kobes
On Sun, 26 Oct 2003, B. Fongo wrote: > Besides that, you need to explicitly tell mod_perl to always send a > header to the browser, by adding: "PerlSendHeader on" to the http.conf > as follows: > > Alias /perl/ "C:/Apache2/perl/ > > SetHandler perl-script > PerlHandler Apache::Reg

Mod_perl returning perl scripts

2003-10-26 Thread B. Fongo
Besides that, you need to explicitly tell mod_perl to always send a header to the browser, by adding: "PerlSendHeader on" to the http.conf as follows: Alias /perl/ "C:/Apache2/perl/ SetHandler perl-script PerlHandler Apache::Registry PerlSendHeader on Options ExecC

[OT] Re: Server Load Balancing: DNS Round-robin vs RewriteMap vs ????

2003-10-26 Thread Nigel Hamilton
HI John, Thanks for the options and sharing your experience. I'm only starting to realise what a can of worms this is ... and it's certainly a topic where hearing the experience of others is invaluable. So I hope Ged and Stas don't get too peeved if we indulge in some [OT] load ba

RE: Mod_perl returning perl scripts

2003-10-26 Thread Randy Kobes
On Sun, 26 Oct 2003, Angela wrote: > Stas & Randy, > > Thanks for the help. I removed file associations and renamed a test file to > have no extension. > > There are no references to perl in http.conf apart from the very end where I > have now copied from perl.conf. > > And I corrected the typo ;(

AW: Mod_perl returning perl scripts

2003-10-26 Thread B. Fongo
I got a similar problem sometime ago; for some unknown reason, it worked alright after I restarted Apache afresh. Perhaps it may help you too. Let me know how you finally solve the problem. Good luck Babs > -Ursprüngliche Nachricht- > Von: Angela [mailto:[EMAIL PROTECTED] > Gesendet: So

[OT] Re: Server Load Balancing: DNS Round-robin vs RewriteMap vs ????

2003-10-26 Thread John Fricker
Nigel, In building a testlab at work, I was faced with the same dilemma. Initially I used RRDNS to balance load between two web servers and found that IE cached IP addresses. This made for disappointing results. I did find two interesting software products though. Balance

Re: Server Load Balancing: DNS Round-robin vs RewriteMap vs ????

2003-10-26 Thread Ged Haywood
Hi there, On Sun, 26 Oct 2003, Nigel Hamilton wrote: > you're stuck on a deserted island and there's no hardware load balancer vendor in > sight Bliss. > With only coconuts, five linux servers and an Internet connection Throw the servers in the sea. Enjoy the coconuts. > you need to come up

Re: [Config] Upgrading, Need stable setup

2003-10-26 Thread Ged Haywood
Hi there, On Sun, 26 Oct 2003, Robert Friberg wrote: > rather old Red Hat Linux, RH 6.0 on intel. > [snip] > Apache/1.3.6 (Unix) (Red Hat/Linux) mod_perl/1.21 Ouch. They do need upgrading. > Besides some occasional and seemingly random segfaults > the testsites are running fine. "Segfaults"

Server Load Balancing: DNS Round-robin vs RewriteMap vs ????

2003-10-26 Thread Nigel Hamilton
Hi, Imagine for a moment ... you're stuck on a deserted island and there's no hardware load balancer vendor in sight. With only coconuts, five linux servers and an Internet connection you need to come up with a software-based load balancing scheme. Which would you choose and why? 1) Round Robi

RE: Mod_perl returning perl scripts

2003-10-26 Thread Angela
Stas & Randy, Thanks for the help. I removed file associations and renamed a test file to have no extension. There are no references to perl in http.conf apart from the very end where I have now copied from perl.conf. And I corrected the typo ;( The test file without an extension, along with t

[Config] Upgrading, Need stable setup

2003-10-26 Thread Robert Friberg
Hi all, I'm running a lot of mod_perl handlers on a rather old Red Hat Linux, RH 6.0 on intel. Everything has been working fine until now. Server: Apache/1.3.6 (Unix) (Red Hat/Linux) mod_perl/1.21 perl -V output appended at the bottom I have created a handler for embedded perl. Pages with a .p