Re: Danga and aio

2007-01-10 Thread john1
On 9 Jan 2007 at 15:56, Also Sprach Matt Sergeant: On 9-Jan-07, at 10:18 AM, [EMAIL PROTECTED] wrote: Is there a quick and easy way to find out if the kernel supports aio? I'm not sure. Probably best to just check kernel versions. 2.4 generally doesn't. 2.6 does. I assume you're

Ax2 production setup

2007-01-10 Thread john1
Lo all, I'm running it on RH Linux. Currently I have one app set up thus: /var/www/AxKit2/APP_1 AxKit2 contains the axkit prog and a link to the plugins directory. APP_1 contains ./web ./web/plugins ./web/stylesheets ./web/webroot ./web/webroot/graphics ./web/webroot/js Now it's been

Re: Ax2 production setup

2007-01-10 Thread Matt Sergeant
On 10-Jan-07, at 4:52 AM, [EMAIL PROTECTED] wrote: Now it's been mentioned before to use daemontools, so I can set that up. Is daemontools the way to go? I am more used to an rc.foo script. I've seen qpsmtpd (which is very similar to AxKit2) be setup both ways. Probably preferable over

Ax2 taglibs

2007-01-10 Thread Lars Skjærlund
Hi list, Have spent the whole day trying to fight this: How do you create, install, and load an XSP taglib, written as a Perl module? I've created a simple module like this: package Sporskiftet::XSP::Statistics; use AxKit2::XSP::TaglibHelper; @ISA = qw( AxKit2::XSP::TaglibHelper ); $NS =

Re: Danga and aio

2007-01-10 Thread john1
On 10 Jan 2007 at 9:30, Also Sprach Matt Sergeant: I've used this in the past to check if I'm using epoll (though that's not the same as whether aio is supported): my $POLL = with . ($Danga::Socket::HaveEpoll ? epoll() : $Danga::Socket::HaveKQueue ? kqueue() : poll

Re: Danga and aio

2007-01-10 Thread Matt Sergeant
On 10-Jan-07, at 12:07 PM, [EMAIL PROTECTED] wrote: On 10 Jan 2007 at 9:30, Also Sprach Matt Sergeant: I've used this in the past to check if I'm using epoll (though that's not the same as whether aio is supported): my $POLL = with . ($Danga::Socket::HaveEpoll ? epoll() :

Re: Ax2 taglibs

2007-01-10 Thread Matt Sergeant
On 10-Jan-07, at 10:55 AM, Lars Skjærlund wrote: Hi list, Have spent the whole day trying to fight this: How do you create, install, and load an XSP taglib, written as a Perl module? Generally the same way you do any other perl module. Start with: h2xs -A -X -n

Re: Ax2 taglibs

2007-01-10 Thread Lars Skjærlund
Hi Matt, How do you create, install, and load an XSP taglib, written as a Perl module? Generally the same way you do any other perl module. Start with: h2xs -A -X -n Sporskiftet::XSP::Statistics Oh, I'm sorry I wasn't clear enough: How do you install it in AxKit2? I included the code