I found a solution. Not sure if it is the most efficient solution or not, but
it works.
SetHandler perl-script
PerlAccessHandler MyApache2:DLAuth
RewriteEngine On
RewriteCond %{ENV:DL_OK} ^VALID$
RewriteRule ^(.*)$ /ext/download/index.php [L]
André,
Thanks so much for your kind advice.
I tried the example you suggested and I think this is exactly what I need.
I have one problem now though.
The file download script I am currently using is written in php and it is quite
elaborate (in other words I'd like to keep if I can).
My PerlAcces
On Sun, 15 Jun 2008 21:09:23 -0500
Michael Gardner <[EMAIL PROTECTED]> wrote:
> Workarounds would be helpful, but naturally I'd prefer to eliminate
> the cause of the problem. I've been looking through the
> documentation, but haven't made much progress so far. How can I get
> to the bottom of t
On Fri, 13 Jun 2008 19:56:14 -0700 (PDT)
tyju tiui <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm new to mod_perl and I'm having some difficulty understanding a
> few things. I'd like to write an Apache module which authenticates a
> request based on the URL. I only want the module to deny invalid
>
--- On Sun, 6/15/08, James Smith <[EMAIL PROTECTED]> wrote:
> From: James Smith <[EMAIL PROTECTED]>
> Subject: Re: Diagnosing memory usage
> To: "Michael Gardner" <[EMAIL PROTECTED]>
> Cc: modperl@perl.apache.org
> Date: Sunday, June 15, 2008, 11:13 PM
> Michael - depends on the OS - but you co
Dear list,
Is there a way to acquire the exit code of child processes that are
started using $r->spawn_proc_prog()?
I managed to acquire the standard output and error streams, but the exit
code does does not seem to be accessible to my Perl CGIs.
Thanks, Remo