Re: ASP / Apache

2001-03-27 Thread BeerBong
Apache::ASP is much better software than original ASP. More functionality and freedom. For me, Apache::ASP was perfect start point for ride from MS technologies to rich GNU world (Perl, Apache, Unix). We wrote about 40 projects with Apache::ASP For big projects we use native Apache Perl modules wi

Re: perl session management

2001-03-27 Thread Cees Hek
On 27 Mar 2001, tom joseph wrote: > Hello there.. > Could u suggest a way to update a session variable. > At present it is not possible for me to update a session variable from > any other page. I thought it would be automatically updated when i do a new > insertion into the session variable whi

mod_perl 1.25 install crashes with IBM HTTP Server 1.3.12.2 on AIX 4.3.3

2001-03-27 Thread Mohammed Azam
Hi, I am trying to install mod perl 1.25 on my aix machine. I am using -- AIX 4.3.3 -- IBM HTTP Server 1.3.12.2 -- PERL version 5.005_03 following command i have used: perl Makeperl.PL \ APACHE_PREFIX=/usr/HTTPServer USE_APXS=1 \ WITH_APXS=/usr/HTTPServer/bin/apx \ EVERYTHING=1 The fol

Running Mod-Perl on Solaris 2.8

2001-03-27 Thread Melissa Matthews
Title: Running Mod-Perl on Solaris 2.8 We have installed mod_perl-1.25 under apache-1.3.14 and Solaris 8, but have not been completely successful in configuring httpd.conf correctly for mod_perl modules.  Whenever I browse my test page www.my.com/perl/test.pl, I get a Netscape pop-up message

Re: perl session management

2001-03-27 Thread Brett W. McCoy
On 27 Mar 2001, tom joseph wrote: > Hello there.. > Could u suggest a way to update a session variable. > At present it is not possible for me to update a session variable from > any other page. I thought it would be automatically updated when i do a new > insertion into the session variable whi

perl session management

2001-03-27 Thread tom joseph
Hello there.. Could u suggest a way to update a session variable. At present it is not possible for me to update a session variable from any other page. I thought it would be automatically updated when i do a new insertion into the session variable which in my case is a hash. Is there any other

[BUG-REPORT] missing header (minor)

2001-03-27 Thread Brett Paden
Version: Apache/1.3.12 (Unix) mod_perl/1.24 What: PerlAuthenHandler returns headers without WWW-Authenticate field Work-around: set with $r->err_header_out Is this fixed in 1.25? Description: Modules called using the PerlAuthenHandler that eventually return AUTH_REQUIRED, will not send clients

Getting unbuffered output from a subprocess

2001-03-27 Thread Andrew Ho
Hello, So, when doing a CGI and needing to execute a subprocess with input based on user input, I always do a open()-fork()-exec() like so: if(defined(my $pid = open(KID, '-|'))) { if($pid) { print while ; close KID; } else { %ENV = ( ... )

Re: Getting a Cache::SharedMemoryCache started

2001-03-27 Thread Perrin Harkins
On Tue, 27 Mar 2001, DeWitt Clinton wrote: > Now, this implies that a module, such as the Cache::MemoryCache, which > currently shares data for a particular process by creating a global > hash, would only share data for one instance of the Perl interpreter > associated with that thread. If I want

Re: Getting a Cache::SharedMemoryCache started

2001-03-27 Thread DeWitt Clinton
On Tue, Mar 27, 2001 at 11:57:26PM +0100, Matt wrote: > Thanks for the pointers, unfortunately I've got a problem with the > Shared cache in that I need IPC::ShareLite, no problem, except it > won't test ok, I'm not sure what the IPC::ShareLite problem is, maybe Maurice Aubrey does... In any ca

Re: Getting a Cache::SharedMemoryCache started

2001-03-27 Thread Matt
Thanks for the pointers, unfortunately I've got a problem with the Shared cache in that I need IPC::ShareLite, no problem, except it won't test ok, I get: PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/i386-linux -I/usr/lib/perl5 test.pl 1..8 ok 1 ok 2 IPC::ShareLite sto

Re: Getting a Cache::SharedMemoryCache started

2001-03-27 Thread DeWitt Clinton
On Tue, Mar 27, 2001 at 02:38:34PM -0800, Perrin Harkins wrote: > On Tue, 27 Mar 2001, DeWitt Clinton wrote: > > > I imagine that nearly most Perl libraries are not thread safe, of > > course. But code that will be used in mod_perl environments needs > > to be, right? > > You can read all about

Re: [PATCH] X-Forwarded-For (fwd)

2001-03-27 Thread Ask Bjoern Hansen
Some day we'll have the X-Forwarded-For and friends in the default mod_proxy module. :-) - ask -- ask bjoern hansen, http://ask.netcetera.dk/ !try; do(); -- Forwarded message -- Date: Tue, 27 Mar 2001 12:47:12 +0200 From: Graham Leggett <[EMAIL PROTECTED]> Reply-To: [EMAI

Re: Getting a Cache::SharedMemoryCache started

2001-03-27 Thread Perrin Harkins
On Tue, 27 Mar 2001, DeWitt Clinton wrote: > Which reminds me of something. These cache objects are not currently > thread safe. When should I start expecting multi-threaded > apache/mod_perl to become mainstream enough to warrant an overhaul of > the code? I imagine that nearly most Perl libra

Re: Getting a Cache::SharedMemoryCache started

2001-03-27 Thread DeWitt Clinton
On Tue, Mar 27, 2001 at 05:19:15PM -0500, Pierre Phaneuf wrote: > DeWitt Clinton wrote: > > > The other question is whether or not to share the cache instance > > itself globally. Technically, this is up to you. Personally I > > wouldn't bother, considering the overhead of instantiating the >

Re: Getting a Cache::SharedMemoryCache started

2001-03-27 Thread Pierre Phaneuf
DeWitt Clinton wrote: > The other question is whether or not to share the cache instance > itself globally. Technically, this is up to you. Personally I > wouldn't bother, considering the overhead of instantiating the cache > is so low that I would rather keep it local to the handler (as I did

Re: Getting a Cache::SharedMemoryCache started

2001-03-27 Thread DeWitt Clinton
On Tue, Mar 27, 2001 at 09:50:33PM +0100, Matt wrote: > I want to cache some values in my handlers so they don't keep having > to look stuff up, and so I figured a Cache::SharedMemoryCache would > be the way to go. It all depends on what you want to cache and why. If you wanted to save a trip t

Getting a Cache::SharedMemoryCache started

2001-03-27 Thread Matt
I want to cache some values in my handlers so they don't keep having to look stuff up, and so I figured a Cache::SharedMemoryCache would be the way to go. I'm a little confused as to where to set the little fella up tho'. Is it as simple as saying: my $cache = new Cache::SharedMemoryCache( $opti

Re: ASP / Apache

2001-03-27 Thread Joshua Chamas
Samuel Lellouche wrote: > > I'm planning on porting a website w/ ASP pages, from an IIS server, to > an Apache Server... > Well the model is similar, but there is no support for VBScript. I'd be happy to give a go a writing a VBScript emulation layer which could help your port but I'll need a s

Re: ASP / Apache

2001-03-27 Thread Matthew Kennedy
I've used Apache::ASP and it worked quite well for me. With Apache::ASP (as for other mod_perl based frameworks) you should interface with your favourite relational database using the DBI (via. Apache::DBI is best). There are DBI drivers for MySQL. I don't know about SQLServer -- for that you coul

Apache::Cookie->bake - When?

2001-03-27 Thread Issac Goldstand
I'm slowly porting my development scripts from mod_cgi to mod_perl.  I just moved my main authentication handler to PerlFixupHandler (later I'll probably move it to AuthenHandler, but I just want it to work for now).  In any case, all of the sudden, my upload script is choking and giving me

looking for docs

2001-03-27 Thread Steven Lembark
anyone know where doc's for handling digest authentiction w/ m_p 1.25 live? having little luck finding any working examples and i'm running out of time... thanx. -- Steven Lembark 2930 W. Palmer St. Chicago,

Re: [DIGEST] mod_perl digest 03/24/01

2001-03-27 Thread Dave Mitchell
"G.W. Haywood" <[EMAIL PROTECTED]> wrote: > On Tue, 27 Mar 2001, Gunther Birznieks wrote: > > > > Is Perl 5.6 really the "stable" release? > > According to the Perl developers it is. Odd minor version numbers > now indicate development versions, so the next "stable" release should > be 5.8.x

Re: [DIGEST] mod_perl digest 03/24/01

2001-03-27 Thread G.W. Haywood
Hi Gunther, On Tue, 27 Mar 2001, Gunther Birznieks wrote: > Is Perl 5.6 really the "stable" release? According to the Perl developers it is. Odd minor version numbers now indicate development versions, so the next "stable" release should be 5.8.x Having said that I'm using 5.7.0 in developme

Re: [DIGEST] mod_perl digest 03/24/01

2001-03-27 Thread Gunther Birznieks
At 08:57 AM 3/26/01 -0500, Geoffrey Young wrote: >mod_perl status > > o mod_perl > - stable: 1.25 (released January 29, 2001) [1] > - development: 1.25_01-dev [2] > o Apache > - stable: 1.3.19 (released February 28, 2001) [3] > - development: 1.3.20-dev [4] > o Perl > -

Problem reading postdata

2001-03-27 Thread Tomas Eriksson
Hello.   When I try to read in modperl/apache/win32 the script just ignore the $/ and read all of it to the end. It works fine to read single lines from STDIN in cgi-bin scripts. Any tips?   (i'm using Randy Kobes' binary Perl-5.6.0, mod_perl-1.23, and Apache_1.3.12)   kind regards Tomas

Re: File upload problem

2001-03-27 Thread Sophokles Zafeiris
Actually I've tried the following piece of code. $inputfile = $Request->Form('Offer'); %><%=$inputfile%><% open (OUTFILE,">/export/home0/www/biznet/offers/newfile") or die "Can not write to file because of $!";  binmode OUTFILE;  binmode $inputfile;  while (read($inputfile,$buffer,1024))  

ASP / Apache

2001-03-27 Thread Samuel Lellouche
I'm planning on porting a website w/ ASP pages, from an IIS server, to an Apache Server... Does Apache::ASP work well ? Does Anyone have good experiences whit it ? Does Apache::ASP interacts with SQLServer or MySql ? Thanx alot for any informations... -- Sam - Omatis [EMAIL PROTECTED]