Re: Newbie (kind of) help with getting apache setup for certain file endings

2006-01-16 Thread Paul Johnston
Tom Schindl wrote: If you'd show us the error I'm sure we can help you ;-) I think I've found a further error elsewhere. If I have any other problems, I'm definitely coming back here! :) I forgot that the Perl community is one of the friendliest and most helpful around. Paul Tom P

Re: Newbie (kind of) help with getting apache setup for certain file endings

2006-01-16 Thread John ORourke
Hi Paul, welcome back to quality regex handling... IMHO you've got 2 options - do it the restrictive way: SetHandler perl-script PerlHandler My::Module Or do it the easy/flexible way - have your module(s) decline URIs which they don't want to handle: sub handler { my

Re: Newbie (kind of) help with getting apache setup for certain file endings

2006-01-16 Thread Tom Schindl
If you'd show us the error I'm sure we can help you ;-) Tom Paul Johnston wrote: > Tom, > > Will have a play with that then. I did try something similar but for > some reason it was erroring out. > > Thanks > > Paul > signature.asc Description: OpenPGP digital signature

Re: Newbie (kind of) help with getting apache setup for certain file endings

2006-01-16 Thread Paul Johnston
Tom, Will have a play with that then. I did try something similar but for some reason it was erroring out. Thanks Paul Tom Schindl wrote: PerlModule ModPerl::Registry --8<-- # Handle all files ending in .pl with mp2 SetHandler perl-script PerlResponseHandle

Re: Newbie (kind of) help with getting apache setup for certain file endings

2006-01-16 Thread Tom Schindl
Paul Johnston wrote: > Haven't done perl for 7 years (yes 7 years) and just coming back, so am > a newbie with mod_perl really. Could do with a bit of setup help. > > I have an application that I'm been building in Perl and it works fine > as a cgi and I want to convert it to using mod_perl. It'

Re: Newbie (kind of) help with getting apache setup for certain file endings

2006-01-16 Thread Perrin Harkins
On Mon, 2006-01-16 at 14:10 +, Paul Johnston wrote: > It's currently on my server (which hosts other apps), and I want all > (and only) files on the specific virtual host ending in ".app" (ie like > everything ending in .pl) to be handled by mod_perl. Use a FilesMatch directive in your httpd

Newbie (kind of) help with getting apache setup for certain file endings

2006-01-16 Thread Paul Johnston
Haven't done perl for 7 years (yes 7 years) and just coming back, so am a newbie with mod_perl really. Could do with a bit of setup help. I have an application that I'm been building in Perl and it works fine as a cgi and I want to convert it to using mod_perl. It's very modularised so cachi