mod_perl File Extension Configuration instead of a Path Configuration

2004-04-29 Thread JupiterHost.Net
Hello group! Super mod_perl newbie here :) I was wondering if its possible to setup mod_perl in httpd.conf with a File Extension Configuration instead of a Path Configuration. IE - everything with the .mpl extension is run under mod_perl instead of everything in /perl/ being run under mod_perl..

Re: mod_perl File Extension Configuration instead of a Path Configuration

2004-05-03 Thread JupiterHost.Net
Sorry to top post... So is it (the subject/original email below) impossible then? Or is it possible just not advisable? TIA JupiterHost.Net wrote: Hello group! Super mod_perl newbie here :) I was wondering if its possible to setup mod_perl in httpd.conf with a File Extension Configuration instead o

Re: mod_perl File Extension Configuration instead of a Path Configuration

2004-05-03 Thread petersm
al Message --- From: "JupiterHost.Net" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: Mon, 03 May 2004 10:31:56 -0500 Subject: Re: mod_perl File Extension Configuration instead of a Path Configuration > Sorry to top post... > > So is it (the subject/original email be

Re: mod_perl File Extension Configuration instead of a Path Configuration

2004-05-03 Thread JupiterHost.Net
gt;))[0] Michael Peters Venzia -- Original Message --- From: "JupiterHost.Net" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: Mon, 03 May 2004 10:31:56 -0500 Subject: Re: mod_perl File Extension Configuration instead of a Path Configuration Sorry to top post... So

Re: mod_perl File Extension Configuration instead of a Path Configuration

2004-05-03 Thread Perrin Harkins
On Mon, 2004-05-03 at 12:39, JupiterHost.Net wrote: > IE: it would be just as dangerouse as running a regular perl or shell or > OTHER_LANGUAGE_HERE script in their home dir, correct? [...] > mod_perl scripts are run with the permissions of the user correct? > IE if Apache its 'nobody' or otherwsi

Re: mod_perl File Extension Configuration instead of a Path Configuration

2004-05-03 Thread JupiterHost.Net
Thanks for your input! I really appreciate it! Perrin Harkins wrote: On Mon, 2004-05-03 at 12:39, JupiterHost.Net wrote: IE: it would be just as dangerouse as running a regular perl or shell or OTHER_LANGUAGE_HERE script in their home dir, correct? [...] mod_perl scripts are run with the permissio

Re: mod_perl File Extension Configuration instead of a Path Configuration

2004-05-03 Thread Perrin Harkins
On Mon, 2004-05-03 at 17:24, JupiterHost.Net wrote: > So if I did it the .mpl way then /usr/foo/bar.mpl and /usr/foo/baz.mpl > will run as nobody (IE untrusted user with less privileges) If that's who your server runs as, then yes. The "nobody" user has the same privileges as any other user the

Re: mod_perl File Extension Configuration instead of a Path Configuration

2004-05-03 Thread JupiterHost.Net
Perrin Harkins wrote: On Mon, 2004-05-03 at 17:24, JupiterHost.Net wrote: So if I did it the .mpl way then /usr/foo/bar.mpl and /usr/foo/baz.mpl will run as nobody (IE untrusted user with less privileges) If that's who your server runs as, then yes. The "nobody" user has the same privileges as

Re: mod_perl File Extension Configuration instead of a Path Configuration

2004-05-04 Thread JupiterHost.Net
DJ wrote: I dont know if this has been answered, since i deleted my email but the answer is: SetHandler perl-script PerlHandler Your::Module Thanks DJ! I did get this earlier: PerlModule Apache::Registry AddHandler perl-script .mpl PerlHandler Apache::Registry so incorporating the 2 i