Re: Lost connection to MySQL server during query (was "Segfault when connecting during Apache startup")

2008-07-02 Thread Tobias Kremer
Quoting Perrin Harkins <[EMAIL PROTECTED]>: > How are you loading this? With a PerlModule call? Can you try > loading it from a Perl section like this? > > use MyModule; > Wow, it seems that this fixes the problem! At least with my minimal application. Here's the debug output which looks qu

Re: Lost connection to MySQL server during query (was "Segfault when connecting during Apache startup")

2008-07-02 Thread Tobias Kremer
Quoting Tobias Kremer <[EMAIL PROTECTED]>: > Quoting Perrin Harkins <[EMAIL PROTECTED]>: > > How are you loading this? With a PerlModule call? Can you try > > loading it from a Perl section like this? > > > > use MyModule; > > > Wow, it seems that this fixes the problem! > Do you have any ide

secure media files without http_referer

2008-07-02 Thread tmpusr889
I want to protect my flash video from robot downloaders to save on bandwidth. I created a captcha that must be entered on the page that contains the flash .swf which loads and plays the .flv video. The captcha is done in a PerlAccessHandler. Also in Apache, I tried to place a restriction on the di

Re: Lost connection to MySQL server during query (was "Segfault when connecting during Apache startup")

2008-07-02 Thread Perrin Harkins
On Wed, Jul 2, 2008 at 5:12 AM, Tobias Kremer <[EMAIL PROTECTED]> wrote: > No more errors there either! :) Great! > I don't know anything about the internals but to me the mod_perl source looks > like PerlModule is using "require" instead of "use" to load modules. I guess > that is making the dif

Re: secure media files without http_referer

2008-07-02 Thread Perrin Harkins
On Wed, Jul 2, 2008 at 1:41 PM, tmpusr889 <[EMAIL PROTECTED]> wrote: > I created a captcha that must be entered on the page that contains the flash > .swf which loads and plays the .flv video. The captcha is done in a > PerlAccessHandler. Ok, and what does it do when you succeed? A cookie? A tok

Re: secure media files without http_referer

2008-07-02 Thread tmpusr889
A cookie would certainly work, but I was trying to find something simpler. I don't know much about URL tokens. How would something like that work? Thanks for you reply. Perrin Harkins wrote: > > On Wed, Jul 2, 2008 at 1:41 PM, tmpusr889 <[EMAIL PROTECTED]> wrote: >> I created a captcha that mus

Re: secure media files without http_referer

2008-07-02 Thread Perrin Harkins
On Wed, Jul 2, 2008 at 3:18 PM, tmpusr889 <[EMAIL PROTECTED]> wrote: > A cookie would certainly work, but I was trying to find something simpler. I > don't know much about URL tokens. How would something like that work? Redirect them to a URL with ?auth=x in it. Check the token with an access or

Re: secure media files without http_referer

2008-07-02 Thread David Nicol
even simpler is to rename the file every few minutes, and redirect them to the current name. On Wed, Jul 2, 2008 at 2:26 PM, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Wed, Jul 2, 2008 at 3:18 PM, tmpusr889 <[EMAIL PROTECTED]> wrote: >> A cookie would certainly work, but I was trying to find