Re: Best compression for mod_perl application?

2003-07-02 Thread Mithun Bhattacharya
--- Bill Marrs [EMAIL PROTECTED] wrote: My own personal experience with mod_deflate (in Apache/2.0.46) is that it tends to spike my server's load. My server (gametz.com) is dual http://lists.over.net/pipermail/mod_gzip/2003-June/007130.html seems to say that mod_gzip has its own

Re: UTF-8 support

2003-06-16 Thread Mithun Bhattacharya
I did a search for UTF-8 and locale at http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/ In the past 2-3 months the only problem seems to be that regex doesnt seem to work properly on UTF-8 input [http://www.xray.mpe.mpg.de/cgi-bin/w3glimpse2html/perl5-porters/2003-05/msg00183.html?68#mfs]

Current stable platform for mod_perl application ?

2003-06-16 Thread Mithun Bhattacharya
I have a opportunity to upgrade and standardize a couple of mod_perl enabled servers to the most stable configuration as of now. Apache 1.3 and mod_perl was easy to choose since it is a production environment. What I am very much confused is to what should I chose for the distribution. For various

Re: Current stable platform for mod_perl application ?

2003-06-16 Thread Mithun Bhattacharya
--- Ged Haywood [EMAIL PROTECTED] wrote: Hi there, On Mon, 16 Jun 2003, Mithun Bhattacharya wrote: I have a choice between the very well tested 7.3 but highly likely to become unsupported by RedHat soon. Or I could go for RedHat 9.0 Ohh no no one is using RedHat support it is just

UTF-8 support [was : (Re: [mp2] make test fails with 1.99_10-dev sources on redhat)]

2003-06-13 Thread Mithun Bhattacharya
--- Stas Bekman [EMAIL PROTECTED] wrote: My understanding is that setting locale to UTF8 makes it try to open everything as a UTF8 document, but not everything is one. It causes problems for Java and Konsole too apparently. It could simply be that Perl's handlling of UTF8 is broken,

Re: Redirects: relative vs absolute

2003-02-24 Thread Mithun Bhattacharya
--- Grant McLean [EMAIL PROTECTED] wrote: Is there an easy way to get the absolute URI of the current request to use with Apache::URI-parse to translate a relative URI to absolute? From perldoc URI - $uri = URI#8722;new_abs( $str, $base_uri ) This constructs a

Re: libgtop gone?

2003-01-29 Thread Mithun Bhattacharya
Tried compilling libgtop on a server without X and got the following. The error message seems to be self explanatory. -- configure: error: *** GNOME was not found on this system. *** *** If you want to use LibGTop without GNOME, you need *** to give configure the

Re: libgtop gone?

2003-01-29 Thread Mithun Bhattacharya
--- Perrin Harkins [EMAIL PROTECTED] wrote: http://ftp.gnome.org/pub/GNOME/desktop/2.0/2.0.3/sources/libgtop-2.0.0.tar.gz I dont know how it might affect the users but the above URL seems to be for Gnome 2.0 (RedHat 8.0) users.

Re: use http-equiv to refresh the page

2002-11-06 Thread Mithun Bhattacharya
--- Perrin Harkins [EMAIL PROTECTED] wrote: I might be overzealous about this, but I dislike seeing HTTP-EQUIV meta tags used when actual HTTP headers are available to do the same thing. It's fine if there's a reason for it, but usually people do it because they don't realize they can

Yahoo is moving to PHP ??

2002-10-30 Thread Mithun Bhattacharya
http://public.yahoo.com/~radwin/talks/yahoo-phpcon2002.htm If nothing else this should be atleast generate some thoughts ?? It does show the mod_perl logo so I assume the comments are applying to mod_perl and not perl/cgi. Mithun -- Cons – There’s More Than

Re: Yahoo is moving to PHP ??

2002-10-30 Thread Mithun Bhattacharya
--- Perrin Harkins [EMAIL PROTECTED] wrote: Mithun Bhattacharya wrote: http://public.yahoo.com/~radwin/talks/yahoo-phpcon2002.htm They also say they plan to continue using lots of perl in all the places they use it now: off-line processing, filling in the includes and dbm files

Re: nice mod_perl statistics to share

2002-07-09 Thread Mithun Bhattacharya
--- Stas Bekman [EMAIL PROTECTED] wrote: I don't understand why you think so. If the '/' url is handled by a mod_perl enable server, then mod_perl will show up in the headers, proxy server or not. Sure, there'll be some servers where you But do we consider a proxy implementation as

Re: '' in regex

2002-05-18 Thread Mithun Bhattacharya
--- Rizwan Majeed [EMAIL PROTECTED] wrote: I was trying this out : $SomeVar =~ // ; $SomeVar =~ /''/ ;$SomeVar =~ /\/ ;none of these works. Works for me in perl 5.6.1 [mithun@zorro mithun]$ perl -wT -e 'my $test = you \ me; print voila\n if $test =~ /\/;' voila Mithun

[OT] Perl compillation

2002-02-22 Thread Mithun Bhattacharya
Could someone tell me the right place to ask questions regarding problems faced during compillation of perl 5.6.1 on i686 using gcc 3.0 on a RedHat 7.2 installation. For the curious folks these are the steps I followed -- tar xzf stable.tar.gz cd perl-5.6.1/ rm -f

Re: Mistaken identity problem with cookie

2002-02-15 Thread Mithun Bhattacharya
Dzuy Nguyen wrote: I have been getting many reports from our users that they have been mistakenly identified as someone else. I have tried to login as that user and just can't re-create the problem and I can't be at their computer to diagnose it. One thing I'm pretty sure about is that

Re: mod_perl, mod_gzip, incredible suckage

2002-02-14 Thread Mithun Bhattacharya
Robin Berjon wrote: I got it to work once, but I confirm this was painful. I don't use it anymore though so I can't remember the magic that it took to get it to run. As an alternative (probably incomplete) solution, you might want to look inside one of the templating/publishing modules

Re: handling eval in ePerl

2002-01-21 Thread Mithun Bhattacharya
Perrin Harkins wrote: local $SIG{'__DIE__'} = sub { $error .= $_[0]; }; That's going to kill your exception handling code. You need to change that if you want to be able to use eval() in your code. Matt has an explanation of this in the exceptions part of the mod_perl Guide. Hmm, I

Re: How to handle die

2002-01-20 Thread Mithun Bhattacharya
___cliff rayman___ wrote: [EMAIL PROTECTED] To subscribe to this Majordomo-controlled mailing list, just send an E-mail Umm it didnt really answer my original query but I guess since no one has answered it - either I didnt present it correctly or no one has a answer to it. I probably

handling eval in ePerl

2002-01-20 Thread Mithun Bhattacharya
Perrin Harkins wrote: Umm I didnt mean to offend anyone in my previous posting - I did say I probably hadnt presented my situation properly. First, ePerl has nothing to do with Embperl or Mason. It is a totally Ofcourse you noticed I wrote ePerl/EmbPerl/Mason ?? I clubbed them together

How to handle die

2002-01-18 Thread Mithun Bhattacharya
Hello, I am running ePerl on my Apache server and a little problem has been bugging me a lot. When I do a die blah blah blah inside a eval I get the following in my browser. It doesnt matter which browser I use or which version of apache I use or which version of Apache::ePerl I use.

Re: Multiple Sites

2001-12-03 Thread Mithun Bhattacharya
But but it does not work. But if I put in URL/directory and a forward slash/ eg. http://URL/directory/ then it shows the default.htm page. But I know my customers, and they will not put in the directory forward slash. How do I get around this issue?

Re: Multiple Sites

2001-12-03 Thread Mithun Bhattacharya
Medi Montaseri wrote: If you only have one IP and want to have many web sites (ie URLs) for your customers, then why don't you use VirtualHost. Then your customers can either have www.customer1.xyz.com www.customer2.xyz.com or www.customer1.com www.customer2.com The

Re: Deleting a cookie

2001-11-27 Thread Mithun Bhattacharya
Mohit Agarwal wrote: Never tried the negative value for expiration time, but setting it to a very small value, say 1s, works. I'm not sure, but setting the cookie value to null should also have the same effect. I believe setting the expiry date less than the current time should work.

Internal redirect and return value.

2001-10-01 Thread Mithun Bhattacharya
I have a TransHandler which does quite a few things - which under certain circumstance calls a function defined in another package. Now that function is supposed to do a internal redirect. What I am currently observing is that the internal redirect takes place perfectly but the the Handler then

LaBrea

2001-09-26 Thread Mithun Bhattacharya
Something to keep Code Red probes busy ?? http://www.hackbusters.net/LaBrea/

Nimda

2001-09-19 Thread Mithun Bhattacharya
If no one did the calculation before it amounts to a data transfer of approximately 250 MB a month considering the continuous 100Kbps of probe I am getting since yesterday evening. Doesn't matter to people with T1 links I guess but people hosted on shared servers and anyone else with dedicated IP

Re: ANNOUNCE: Starting work on Apache::RedirectUnless

2001-09-19 Thread Mithun Bhattacharya
Stephen Adkins wrote: Is there an easier way to safeguard against Apache prompting for a password over HTTP? You could keep the secure areas outside the HTTP document root ?? Just a different DocumentRoot for HTTPS in your VirtualHost or separate httpd.conf. Mithun

Re: New Micro$oft vulnerability?

2001-09-19 Thread Mithun Bhattacharya
Just a thought but why are we even bothering about doing a complete response cycle for the probes ??? I mean nobody is actually going to care what my server says is it ?? I was thinking more about closing connection as soon as I figure out the URI. That way my server stays more productive and my

Re: Can't build (was Re: Apache.pm fails to load...)

2001-09-17 Thread Mithun Bhattacharya
find / -name libssl.so.0 /usr/local/ssl/lib/libssl.so.0 That seems like a nonstandard library path. Is it there in /etc/ld.so.conf and even if it is did you run ldconfig after adding it there ?? Mithun

Re: Multiple AddHandler statements

2001-06-22 Thread Mithun Bhattacharya
Right now I wont say that the idea of SSI is bad its just that the usual SSI implementations that I come accross are usually when I see them going wrong. The most common example is of that of including content for banners. I dont know whether it is a configuration goofup or something else but I

Re: Multiple AddHandler statements

2001-06-21 Thread Mithun Bhattacharya
No offense meant but it is my personal opinion that SSI can mess up a system worse than Perl ever could. Also the person who had initiated this thread was using SSI to execute a third party application. I am not sure why a system command would be worse than doing a SSI. Mithun

Re: Apache+mod_perl+JServ

2001-06-20 Thread Mithun Bhattacharya
Hello list members, I was looking at various options to monitor applications running on my server and was wondering what is the usual practice in such situations. I am looking at data collection in the lines of sysstat. It collects data of various resources in real time and saves it in a binary

Re: Multiple AddHandler statements

2001-06-19 Thread Mithun Bhattacharya
Is there something in SSI which cant be done in a better way using Perl ??

Re: Regarding modperl installation (fwd)

2001-05-05 Thread Mithun Bhattacharya
Hmm maybe someone can tell me what I am doing wrong ??? Mithun -- Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration: Platform: osname=linux, osvers=2.2.5-22smp, archname=i386-linux uname='linux

Re: Regarding modperl installation (fwd)

2001-05-04 Thread Mithun Bhattacharya
I may be wrong on this but doesnt perl 5.05 come with CPAN v 1.48 ??? In anycase I am pretty sure I had to actually abort the upgrade if I wanted to keep my perl 5.05 everytime I tried to go to CPAN v 1.59. I will try to lay my hand on a clean box and try it out to see what happens and get back

Re: Sendmail or not?

2001-04-08 Thread Mithun Bhattacharya
Am I correct in assuming that you are writing to a file based on user inputs in real time ?? Doesn't that imply you have to go around and implement some sort of file locking or queuing procedure in the handler itself ?? Personally I would rather take the overhead of firing off the MDA and let the

Re: Sendmail or not?

2001-04-08 Thread Mithun Bhattacharya
You might want to actually try it out and see what kind of delays are involved in firing off the MDA. Under peak loads where the bottle neck would too many MDA's running at one time (most of the MDA code I assume would be shared though) and under low loads when the bottle neck would be of