Apache::AuthDBI

2004-05-11 Thread Angie Ahl
Hi people. I'm trying to find a way to allow users to log out of a realm based site (ie using basic authentication). I've read it can't be done. but I'm stubborn and think I may possibly have a way around it (for my needs anyway) I'm using PerlAuthenHandler Apache::AuthDBI::authen I'd like to

1 server, 2 databases + sites = Mixed calls

2003-11-17 Thread angie ahl
Hi everyone I would search archives for this but I honestly can't think what to search for in this case :( I have 1 server, with 2 practically identical sites on it. And calls to databases are getting mixed up (Using MySQL and DBI) I have an ensim server running: Apache/1.3.27 mod_perl/1.24_01

Re: 1 server, 2 databases + sites = Mixed calls

2003-11-17 Thread angie ahl
Could I still call it via my $page = SiteMap->new; or would I need to say my $page = vert::SiteMap->new; A little find and replacing wouldn't kill me ;) Cheers Angie on 17/11/03 Perrin Harkins said: >On Mon, 2003-11-17 at 12:40, angie ahl wrote: >> So I have one set of m

No/Blank output

2003-11-19 Thread angie ahl
Hi Mod_perl gurus I was just reading a thread about blank output after upgrading to perl 5.8.1 and I've got the same problem The thread previously was subject: Blank output after 5.8.1 upgrade I've got a Linux server runing mod_perl 1 and perl 5.6.0 and apache 1. I've got a laptop running apple

Install second apache/mod_perl on OS XPanther

2003-11-21 Thread angie ahl
Hi everyone Am I safe following these instructions to make a second apache/mod_perl install on OSX Panther http://perl.apache.org/docs/1.0/guide/getwet.html I've read that panther has problems with CGI and printing out to browser, I've got the same problems, but as this is the first time I've ev

Re: Install second apache/mod_perl on OS XPanther

2003-11-21 Thread angie ahl
on 21/11/03 Ged Haywood said: >Hi there, > >On Fri, 21 Nov 2003, angie ahl wrote: > >> Am I safe following these instructions to make a second >apache/mod_perl >> install on OSX Panther >> >> http://perl.apache.org/docs/1.0/guide/getwet.html > >If

Re: Install second apache/mod_perl on OS XPanther

2003-11-21 Thread angie ahl
Thanks for the info on installing Ged. I've got to a certain point and all looked good. I loaded my test script on my new version of apache with MP 1.29 and it looked great. I then went and loaded my test site and started getting all sorts of errors that are way above me at this time. It turns

Re: Install second apache/mod_perl on OS XPanther

2003-11-21 Thread angie ahl
on 21/11/03 Ged Haywood said: >Hi Angie, > >On Fri, 21 Nov 2003, angie ahl wrote: > >> I tried building apache with static linking, Apples comes with DSO. >> [snip] >> I haven't a clue what it's trying to tell me other than it's broken >and >&g

Apache::DBI

2005-01-08 Thread Angie Ahl
Hi I posted this to the DBI list yesterday and no replies yet ;(. It's just as much a question about mod_perl and persistence as anything else so I thought I'd ask you lovely people. can anyone tell me whether the following will work. I've got myself all confused over persistency (of every kind).

MP2 Location and PerlModule

2005-01-27 Thread angie ahl
Hi list I've just installed Mod_perl/Apache 2 and am trying to just get some basic stuff up an running before I delve in to the heavier stuff. I've got the following in a conf file that's included into httpd.conf PerlModule Apache::Status SetHandler perl-script

Re: MP2 Location and PerlModule

2005-01-27 Thread angie ahl
Sorry I forgot to mention It's Apache 2 compiled with DSO on OS X Panther Thanks Angie On Thu, 27 Jan 2005 22:00:12 +0000, angie ahl <[EMAIL PROTECTED]> wrote: > Hi list > > I've just installed Mod_perl/Apache 2 and am trying to just get some > basic stuff up an

Re: MP2 Location and PerlModule

2005-01-27 Thread angie ahl
Hello me ;) things appear to have changed. I can't tell me why but this works: SetHandler modperl PerlResponseHandler Apache::Status nicer if I ask myself. angie On Thu, 27 Jan 2005 22:02:01 +0000, angie ahl <[EMAIL PROTECTED]> wrote: >

PerlSwitches and VirtualHost

2005-01-28 Thread angie ahl
Hi Again people. 24 hours later I've nearly got everything working right on mp2 on 2 servers, one linux and one OSX. Woo hoo. The linux server is at an ISP and I'm trying to work out how to "use lib" for a specific vhost. PerlSwitches -I /path_to_site/perlmods works inside the httpd.conf but n

[mp2] PerlAccessHandler not overriding PerlAuthenHandler

2005-01-30 Thread angie ahl
Hi everyone. I think I only have 2 hurdles left to get my mp1 stuff running under mp2 I have an access handler that overrides my PerlAuthenHandler for a couple of locations: Here's the accesshandler: use Apache::Constants qw(OK); use strict; use warnings; sub handler { my $r = shift;

[mp2] utf8 data garbled on second + subsequent loads

2005-02-10 Thread angie ahl
Firstly may I appologise for the length of this, I fear I won't get to the bottom of it otherwise. All of the following is being done on OS X 10.3 Server: Apache/2.0.52 (Unix) mod_perl/1.999.21 Perl/v5.8.6 I noticed today that some of my utf8 data was becoming corrupted but couldn't see why. Hebr

Re: [mp2] utf8 data garbled on second + subsequent loads

2005-02-11 Thread angie ahl
the first time after apache or the browser is restarted. Then goes kaboom, ie gibberish Here's both scripts. ___ START CGI SCRIPT ___ #!/usr/local/bin/perl # #       Author Angie Ahl ([EMAIL PROTECTED]) : 2004/12/01 22:14:00 # # script to test unicode, standard cgi mode. # require

Re: [mp2] utf8 data garbled on second + subsequent loads

2005-02-11 Thread angie ahl
$uni{$_}->{language}, > textfield(-name=>$_, > -default=>$uni{$_}->{character}, -size=>50, > -maxlength=>80); > } > $p .= ''; > $p .= hidden(-name=>'VertDo', >-default=>

which fedora core for MP2

2005-04-15 Thread angie ahl
Hi guys I'm getting a new server set up with rackcheck and I've chosen fedora core, as I sort of know it. It's also going to have plesk on it which I've not used at all yet, but looks better than Ensim They've asked which version of Fedora I want. Fedora Core 2 or 3. Any suggestions/warnings. I

Which OS would you choose given a free choice

2005-04-15 Thread angie ahl
Hi guys I'm getting a new server and was planning on going with Fedora Core 3 and plesk. But it was just suggested that I maybe consider FreeBSD and DA. Never even heard of DA (about to look it up) but being a Mac user I must know a little about FreeBSD. So if you had a free choice of OS and cont

[MP2] Import Apache with @ISA

2005-04-20 Thread angie ahl
Hi guys I'm having a pickle with trying to importing Apache: I'm following the example in the Mod Perl Cookbook (v1) and looked at the code samples from the book online. httpd.conf has this: PerlSwitches -Mlib=/Library/Webserver/Documents/mymod/perl PerlModule ModPer

ModPerl2, Apache2, FreeBSD, ports and missing ModPerl::Registry

2005-04-27 Thread angie ahl
Hi Folks. I've just got a new server running DirectAdmin on FreeBSD 5.3. I'm brand new to FreeBSD apart from its similarity to OS X, which I use all the time. I upgraded to Perl 5.8.5 using a package: pkg_add -r perl5.8 Then I upgraded to Apache2 and ModPerl1.99 as per the instructions successf

Re: ModPerl2, Apache2, FreeBSD, ports and missing ModPerl::Registry

2005-04-27 Thread angie ahl
I remember correctly. getting rid of the switch and putting in use strict; use warnings; fixed that, but thought I should mention it for the archive in case anyone finds this in the future following the same set up. Cheers Angie On 4/27/05, Stas Bekman <[EMAIL PROTECTED]> wrote: > angie ahl w

Re: ModPerl2, Apache2, FreeBSD, ports and missing ModPerl::Registry

2005-04-27 Thread angie ahl
Is there any specific reason I should go up to .22 now? I'd like to try and stick to the ports if possible but if needs must I'll manually compile. Angie On 4/27/05, Stas Bekman <[EMAIL PROTECTED]> wrote: > angie ahl wrote: > [...] > > I get an ISE and the e

MP_INST_APACHE2

2005-04-28 Thread angie ahl
I'm trying to update an old build script that points to MP version 1.99_17-dev The build script has the option MP_INST_APACHE2=1 on the Makefile.PL. I see in older versions of MP2 it set where to put the modules. Am I right in saying this option has been scrapped for mod_perl-2.0.0-RC5 as it does

changing permissions in order to write a file in Mod_perl

2005-04-29 Thread angie ahl
I'm sending this question to the beginners perl list and the mod_perl list as I'm not sure where it belongs. In short: I'm trying to work out how to create a directory/file under a specific user. This is running on MP2 on Apache2 with suexec enabled. The vhost has: SuexecUserGroup myuser

Re: changing permissions in order to write a file in Mod_perl

2005-04-29 Thread angie ahl
So the scripts running under user apache and group apache, and the site's files are suexec user/group myuser/myuser how do you write files without permissions errors. Am I right in saying that if suexec were working right then the uid and gid in the handler should be returning those for the user/g

Re: Problems with Apache::Request

2005-04-29 Thread angie ahl
I'd get upgraded to MP2 1999.22 if I were you. Stas told me I should as things changed between your version and it, this whole use Apache2 thing has gone: http://perl.apache.org/docs/2.0/rename.html I figured I'd have to do it eventually and things are now running smoother. of course, if you ca

Baffling unicode wierdness

2005-05-18 Thread angie ahl
Hi List I've been pottering away trying to get utf-8 behaving on my set up and have nearly got there but then the client phoned up saying that the £ symbol was being displayed as a ? The first page contains several languages and a £ sign and all is displayed fine. http://perl.wtsbroadcast.com/ab

Re: Baffling unicode wierdness

2005-05-18 Thread angie ahl
if had been decoded leading me to think the form hasn't been passed as utf-8 . Any clues. anyone? On 5/18/05, angie ahl <[EMAIL PROTECTED]> wrote: > Hi List > > I've been pottering away trying to get utf-8 behaving on my set up and > have nearly got ther

Re: Baffling unicode wierdness

2005-05-19 Thread angie ahl
On 5/19/05, Randy Kobes <[EMAIL PROTECTED]> wrote: > On Wed, 18 May 2005, Jay Savage wrote: > > > On 5/18/05, angie ahl <[EMAIL PROTECTED]> wrote: > > > I can confirm that it's happening before the data's gone > > > to the database or anythin

perl.apache.org down?

2005-07-19 Thread angie ahl
Not sure who to report to so posting here sorry. I can't connect to http://perl.apache.org can get through to the main apache site fine though. Angie

Re: perl.apache.org down?

2005-07-19 Thread angie ahl
Who should we mail for the record. Or is it best mentioning things here to save the poor sys admin from being flooded ;) Angie On 7/19/05, Geoffrey Young <[EMAIL PROTECTED]> wrote: > > > angie ahl wrote: > > Not sure who to report to so posting here sorry. > >

[MP2] Using PerlAccessHandler to set PerlResponsehandler

2005-09-28 Thread angie ahl
Hi List I'm trying to work out how to set a PerlResponseHandler within a PerlAccessHandler Notes: There's only 1 PerlResponsehandler and PerlAccessHandler per request. I was setting the PerlResponsehandler for a vhost in httpd.conf like this: SetHandler

Re: [MP2] Using PerlAccessHandler to set PerlResponsehandler

2005-09-28 Thread angie ahl
; 'weblobe2::mainhook'); } return Apache2::Const::OK; } 1; On 9/28/05, angie ahl <[EMAIL PROTECTED]> wrote: > Hi List > > I'm trying to work out how to set a PerlResponseHandler within a > PerlAccessHandler > > Notes: > There's only 1 PerlR

Re: Prefork not sharing on FreeBSD, but sharing on OSX ?

2006-08-13 Thread angie ahl
I'll be following this thread with interest as I'm seeing similar behaviour on my FreeBSD box. I also have a local server on OSX. My Apache children are around 20MB of OSX and 75MB on FreeBSD. This is using top to measure. I'm also getting an awful lot of seg faults in the log but I haven't isola

Re: Prefork not sharing on FreeBSD, but sharing on OSX ?

2006-08-23 Thread angie ahl
I'm running MP2/Apache2 on FreeBSD 5.3 and under OSX (10.4.6) and my memory usage is around 70MB per child on FreeBSD and only 30MB per child on OSX. I'm also debugging seg faults that seem to be generated by Apache itself (I disabled ModPerl and ModPHP dso's to be sure) so I'll be running a lot o

Re: Prefork not sharing on FreeBSD, but sharing on OSX ?

2006-08-23 Thread angie ahl
FYI # ps aux | grep httpd apache 15113 0.9 10.3 119952 107436 ?? S12:30AM 0:00.24 /usr/sbin/httpd root 556 0.1 10.1 116980 105072 ?? Ss3:11AM 0:14.87 /usr/sbin/httpd apache 15109 0.0 10.2 117524 105592 ?? S12:30AM 0:00.04 /usr/sbin/httpd apache 15110 0.0 10.3 11998

Re: Prefork not sharing on FreeBSD, but sharing on OSX ?

2006-08-23 Thread angie ahl
Sorry that ps aux showed up the memory bloat problem I've got with uploads. After a graceful it looks more like this: ps aux | grep httpd root 15469 4.3 6.0 71444 62608 ?? Ss 12:34AM 0:01.32 /usr/sbin/httpd apache 15470 3.6 6.3 74696 65312 ?? S12:34AM 0:00.75 /usr/sbin/httpd a

Re: Prefork not sharing on FreeBSD, but sharing on OSX ?

2006-08-23 Thread angie ahl
Now for the same outputs from my OSX dev server. Something to note here. I made a significant change today that isn't reflected in my FreeBSD server. The perlresponse handler was being set in the httpd.conf. I've started using the access handler to set the response handler and I saw a sudden and h

Re: Prefork not sharing on FreeBSD, but sharing on OSX ?

2006-08-23 Thread angie ahl
Sorry. The OSX config I sent was from the wrong OSX server, which won't help. Too many terminal windows open (blush): Heres the config for my OSX Apache2 server: # /home/apache2/bin/httpd -V Server version: Apache/2.0.55 Server built: Feb 28 2006 11:44:34 Server's Module Magic Number: 20020903