Re: SOAP::Lite in mod_perl...

2003-08-29 Thread simran
Hi Perrin, I just recompiled everything with 1.27 (and relevant mod_ssl module) and everything is working wonderfully again. thankyou again every so much for your help, i had been struggling with it for days... simran

Re: SOAP::Lite in mod_perl...

2003-08-29 Thread simran
Thanks Perrin. I'll try a recompile with Apache 1.27 as suggested... not brave enough to eventually put a patched 1.28 on our live server yet :-) simran. On Fri, 2003-08-29 at 11:25, Perrin Harkins wrote: > simran wrote: > > The above code works perfectly on: > > > &

SOAP::Lite in mod_perl...

2003-08-29 Thread simran
. The server definitely does not "die" and produce a 500 server error, it literally just disappears, almost as if a kill -9 was given to the relevant httpd thread as there is nothing at all written to the access log...!!! Has anyone come across a situation like the above? Any hints

Large Data Set In Mod_Perl

2003-05-29 Thread simran
have used. A DB is quick, but is there something one can use in mod_perl that would be quicker? perhaps something such as copying the whole 800,000 rows to memory (as a hash?) on apache startup? simran.

Re: shtml don´t get parsed with mod_perlprotecting the directory

2003-03-06 Thread simran
You have to install a fixup handler to tell the server to parse them again, i have the following in my config file: -- in httpd.conf -- PerlFixupHandler +NetChant::Component::Handlers::shtmlFixupHandler and my shtmlFixupHandler subroutine looks like: # # shtm

Re: Different handlers in different NameVirtualHosts?

2002-12-04 Thread simran
Damyan, Could it be that App1::Setup is taking over the App1001::Setup namespace. My guess is that the problem is in the code for App1::Setup. simran. On Wed, 2002-12-04 at 20:37, Damyan Ivanov wrote: > [apache-1.3.26/mod_perl-1.27 from Debian/unstable] > > Hello, > > I am

OT: localtime can't handle epochs less than 0 ???

2002-11-27 Thread simran
raffic and medium to expert level?) thanks, simran.

Re: Server Parsed .shtml files...

2002-11-14 Thread simran
Thanks Geoff, you are an absolute genius. I wrote a little PerlFixupHandler to solve the issue as that was most appropriate for the configuration i had. thanks again, simran. On Fri, 2002-11-15 at 00:57, Geoffrey Young wrote: > > > simran wrote: > > Hi All, > &g

Server Parsed .shtml files...

2002-11-14 Thread simran
-parsed? Is there a way i can use the "Files" directive (or any other way) to get the server to parse .shtml files in that directory? simran.

Getting the server to parse files after the handler has done itswork...

2002-11-06 Thread simran
above to work. simran. ps: Its not really practical to get the handler to include the topnav.html file and include it as it contains further includes which have further includes etc...

Re: newbie: file uploads not working :(

2002-09-12 Thread simran
In your HTML, do you have as part of the an enctype defined... eg. If you do not have the enctype then your script will not be able to get the file handle... simran. On Fri, 2002-09-13 at 05:32, Alan wrote: > On Thu, Sep 12, 2002 at 03:24:50PM -0400, Geoffrey Young wr

RE: User process ownership

2002-09-05 Thread simran
i, 2002-09-06 at 00:20, Mark Coffman wrote: > Or if you really dont care about security maybe you could chmod 4755 the > script, owned by root, to run as root. Just make sure that you clean all of > the data you receive from the form. I kinda like the daemon idea that > simran h

Re: User process ownership

2002-09-04 Thread simran
How about using "sudo" so that you can run a system command that can "su" up to the correct account and do it. Alternatively, you can write a daemon that runs as root that you can connect to that can do this... On Wed, 2002-09-04 at 20:09, Nico Erfurth wrote: > John Stauffacher wrote: > > All,

Re: ANNOUNCEMENT: HTML::Template 2.6

2002-08-29 Thread simran
ariable now available when > loop_context_vars is set (Simran Gambhir) > >- New Feature: The default attribute allows you to specify > defaults for tags. > >- Bug Fix: fixed parser to reject s with no names. > (crazyinsom

Apache::AuthCookie causing "Use of uninitialized value." in errorlog...

2002-08-27 Thread simran
ure that its recognize_user had no chance of having uninitialized vars, but i still got the message...!!! simran.

Re: $r->dir_config->(un)set issue...

2002-07-31 Thread simran
On Wed, 2002-07-31 at 21:33, Geoffrey Young wrote: > > > simran wrote: > > > Does that mean that > > > > $r->dir_config is not the same as $r->server->dir_config ? > > > > A PerlUnsetVar would indeed be very handy... as would PerlUnsetEnv

Re: $r->dir_config->(un)set issue...

2002-07-30 Thread simran
#x27;s really needed is probably PerlUnSetEnv. > > simran wrote: > > Hi All, > > > > I have a situation where it is convinent for me to define a global > > "PerlSetVar" in my httpd.conf and then unset it for particular virtual >

$r->dir_config->(un)set issue...

2002-07-28 Thread simran
set the value of MyVar to be false. I would have though that unset/set would have specifically done what i told them to unset/set rather than do fancy things with truth values... Ideas anyone? simran.

$r->path_info question

2002-07-23 Thread simran
that was not there before) i get: PathInfo: /images/a.gif (which i like :-) Is this is feature or a bug, does path_info not check the 'Location' it matced the handler to or is it meant to look at the directory structure? simran.

Re: PerlTransHandler problem

2002-06-12 Thread simran
return REDIRECT; } else { redirect DECLINED; } } --- A redirect rule (using the Rewrite Engine) would probably be easier and better yet. simran. > > > Quoting Rasoul Hajikhani ([EMAIL PROTECTED]): > > >

Re: Possible module

2002-06-10 Thread simran
And if you did consider that, it would be interesting to know why you didn't end up using it. simran. On Tue, 2002-06-11 at 13:38, Marc Slagle wrote: > I have written a module for one of our clients, and want to know if I should make it >available on CPAN. My hope is that others migh

Dynamically Changing the Document Root

2002-05-17 Thread simran
#x27; version of their site is stored in a different directory, and if i could just changed the document_root dynamically, most(?) of our issues would be over. Is there a way to do this? The documentation does not have any reference to be able to change the document root (just get it via $r->docu

SiteMap Builder...

2002-05-16 Thread simran
nd edit its contents (we have the content bit figured out - just need the site map creator). If anyone knows of such a system (mod_perl or java) a link to its location would be much appreciated. kind regards, simran.

Re: How to generate pre-filled forms? (fwd)

2002-04-28 Thread simran
Have a look at the HTML::FillInForm module as well... it works wonders for me... On Sat, 2002-04-27 at 04:43, darren chamberlain wrote: > * Ken Clark <[EMAIL PROTECTED]> [2002-04-26 14:33]: > > I'll throw my technique into the ring, too. I use Template Toolkit > > most of the time, and I pass

Re: how to configure perl with apache server

2002-04-10 Thread simran
with the EVERYTHING=1 option (or at least the relevant option that turns the PerlSetVar feature on). cheers, simran. On Wed, 2002-04-10 at 17:40, rajesh wrote: > Hi, > > We are facing problems in configuring perl with apache. > > Could you please mail me how to configure

Re: Access right on files from CGI script

2002-04-04 Thread simran
or of course, you could use the 'group's feature and put the user apache runs as in the right groups and give that group the permissions to run the files you want in /sbin... On Fri, 2002-04-05 at 14:12, Kee Hinckley wrote: > At 5:39 PM -0800 4/4/02, bo wrote: > >How do I allow those files acces

Re: Astronomical Information

2002-04-01 Thread simran
'tis was the first place i looked (but forgot to mention in my email) :-) but the modules there are rather limited in what they do. Anton, perhaps we should write the module and put it there, i loaned the book "Astronomical Algorithms" from the library, but the formulas in it are not trivial and

Astronomical Information

2002-04-01 Thread simran
would apprecaite very much if you could share the modules with me (and possibly others by putting them on CPAN). simran.

Re: Problem comping mod_perl and mod_dav statically at same time...

2002-03-14 Thread simran
tions seem to be available, and the Allow headers is perfect. cheers, simran. On Thu, 2002-03-14 at 19:29, simran wrote: > Hi All, > > I am trying to compile the following things together: > > * apache_1.3.23 > * mod_dav-1.0.3-1.3.6 > * mod_perl-1.26 > > If i co

Problem comping mod_perl and mod_dav statically at same time...

2002-03-14 Thread simran
# Web Dav Stuff... # DAVLockDB /tmp/DAVLock DAVMinTimeout 600 AuthName "DAV Realm" AuthType Basic AuthUserFile /home/simran/netchant/www/pa/conf/.htpasswd DAV On Options Indexes AllowOverride All # #Order allow,deny #Allow from

Re: Deleting a PerlSetVar variable

2002-02-25 Thread simran
lUnsetVar to delete/unset a variable in the apache config file. I would make the changes and send in a patch, but i don't under the code (with my limited knowledge of C) well enough to do that. cheers, simran. On Tue, 2002-02-26 at 00:03, Geoffrey Young wrote: > simran wrote: > >

Deleting a PerlSetVar variable

2002-02-24 Thread simran
delete that variable, i could achieve that as per the spec, if the browser is not given a expiry time, the cookies lasts only for the session, however i so far have not been able to figure out how to delete a variable once set - anyone... ??? kind regards, simran.

Re: if the date entered is weekend or no?

2002-02-10 Thread simran
Try one of the many Date::* modules... On Sun, 2002-02-10 at 06:21, GsuLinuX wrote: > How can i understand if the date entered by the client is weekend or no? Are there >some database specificied for that? > > funky >

Re: weird problem. Lost of the POST data

2002-02-04 Thread simran
trings are in $ENV{'QUERY_STRING'} and you can read from that as many times as you like. The moral of the story being, for a single request never use more than one CGI object (instantiate one and then pass it around) cheers, simran. On Tue, 2002-02-05 at 03:31, Brett W. McCoy

RE: Apache::Session and frames

2001-12-05 Thread simran
I have 'heard' that in some browsers there is a bug using HTTP/1.1 when they use Keep-Alive. As they don't necessarily create another explicit tcp connection for a request (but rather try to keep the connection alive), they 'forget' to send the Cookie headers for subsequent requests in the same co

RE: Apache::AuthCookie login faliure reason

2001-11-22 Thread simran
go to that url again) - hence subprocess_env is not available from a previous request. If the problem was an incorrect cookie however, the subprocess_env would indeed by handy, as authen_ses_key does an internal redirect, hence you can get the "previous requests" subprocess env... si

Apache::AuthCookie login faliure reason

2001-11-22 Thread simran
query parameters and then reading them when displaying the login page...   simran.

RE: cgi-object not cacheable

2001-11-14 Thread simran
One of the reasons you should probably not have a persistent/global CGI object is that upon a "new" the CGI module reads in numerous environment variables and setups up its internal structures for that particular query. If $q (in $q=new CGI) was persistent/global you would possibly have the wrong

RE: CGI.pm - Unnamed parameter

2001-11-06 Thread simran
Hi Ken, Try the following: my $q = new CGI; if (defined $q->param('data')) { # # data was a parameter... # } else { # # data was not a parameter... # } cheers, simran. -Original Message- From: Ken Y. Clark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 7 Novemb