Re: Perl block handler problems

2009-10-13 Thread Kevin Bosak
; it in the apache config, right? I know I can put it in a Perl section using the default handler but I'd like to have my perl code in a separate module and not the apache config. On Tue, Oct 6, 2009 at 9:23 AM, Kevin Bosak wrote: > Hi all, > I was trying to set up some per

Perl block handler problems

2009-10-06 Thread Kevin Bosak
Hi all, I was trying to set up some perl code to configure my apache server dynamically and came across this: http://perl.apache.org/docs/2.0/api/Apache2/PerlSections.html#Advanced_API. Upon trying it out however, I could not get it working correctly. It seems that the Perl code in the block i

Re: is_intial_req

2005-11-03 Thread Kevin Bosak
Try looking at the url that your handler is called with.  It's likely that since you have a directory with that name and presumably 'index.html' in that directory then mod_dir performs an internal redirect with 'index.html ' appended to the url.On 11/1/05, Martin Moss <[EMAIL PROTECTED]> wrote: I h

Re: File uploads using Apache:;request in mod_perl2

2004-02-13 Thread Kevin Bosak
I don't know what you did, but it works now! Thank you so much for your time. Joe Schaefer wrote: Try replacing the apreq_xs_upload_link() function in glue/perl/xsbuilder/Apache/Request/Apache__Request.h with the following one; rebuild and install it. If this doesn't solve your problem,

Re: File uploads using Apache:;request in mod_perl2

2004-02-13 Thread Kevin Bosak
Thanks again for the help but still no luck. I set the TMPDIR environment variable manually and restarted apache but still can't get the upload file in my script and nothing's being written to the tmpdir. If there's anything else I can try please let me know but I may just end up having to use

Re: File uploads using Apache:;request in mod_perl2

2004-02-13 Thread Kevin Bosak
Thanks for the advice. I checked and $upload->link does indeed return false. I'm guessing it's because of something with TEMP_DIR you said, but my lack of knowledge is keeping me from getting this resolved. How do I determine what TEMP_DIR has been set to? I'm using Mason with ApacheHandler2

Re: File uploads using Apache:;request in mod_perl2

2004-02-12 Thread Kevin Bosak
g I can do to troubleshoot this? Any help will be greatly appreciated. And FYI, I'm using libapreq2-2.02_02-dev. Joe Schaefer wrote: Kevin Bosak <[EMAIL PROTECTED]> writes: I too am having issues with file uploads using mod_perl2. I've gotten the beta of Apache::Request but it look

Re: File uploads using Apache:;request in mod_perl2

2004-02-11 Thread Kevin Bosak
I too am having issues with file uploads using mod_perl2. I've gotten the beta of Apache::Request but it looks like from this thread that there's not yet a way to retrieve the uploaded file. Is this true? Pete Smith wrote: Hi, I am new to this list, but I have tried looking through the docs