Re: Many requests per page

2002-05-02 Thread darren chamberlain
* Viljo Marrandi <[EMAIL PROTECTED]> [2002-05-02 10:26]: > > The way I figure this, is that https://mysite.com/scripts/* act the > > same way as everything used to, and you can load your images from > > https://mysite.com/images/* without complaints about crossing the > > secure/nonsecure boundry.

Re: Many requests per page

2002-05-02 Thread Per Einar Ellefsen
At 16:27 02.05.2002, Viljo Marrandi wrote: > > The way I figure this, is that https://mysite.com/scripts/* act the > same way > > as everything used to, and you can load your images from > > https://mysite.com/images/* without complaints about crossing the > > secure/nonsecure boundry... > >Hmm,

Re: Many requests per page

2002-05-02 Thread Per Einar Ellefsen
At 16:18 02.05.2002, Viljo Marrandi wrote: > > return DECLINED if $r->content_type && $r->content_type !~ m|^text/|i; > >I tried that, but no luck - $r->content_type is just plain empty, don't >know why. Maybe i can somehow debug or track this content_type and figure >out, why it's empty? Firs

Re: Many requests per page

2002-05-02 Thread David Jacobs
I'm running into a possible related problem. I'm using http_load to load test a simple hander (the aforementioned unique number generator). When I keep the load low (10-30 requests for 3-5 seconds) it works lovely. When I stry anything more stressful (say 50 requests for 5 seconds or 30r/10s)

Re: Many requests per page

2002-05-02 Thread Geoffrey Young
> > I thought $r->content_type was used for the server to set the content > type for a response, not discover it from the request. $r->content_type is just a get/set routine for the request record, giving you the option to either peek at it or set it yourself. > So it should I > think be e

Re: Many requests per page

2002-05-02 Thread David Wright
Hi, > Hello again, > > > * Viljo Marrandi <[EMAIL PROTECTED]> [2002-05-02 08:57]: > > > How can I make my system so, that my perl handler is not called for > > > each image, css and script the page has? > > [-- snip --] > > > return DECLINED if $r->content_type && $r->content_type !~ m|^text/

Re: Many requests per page

2002-05-02 Thread Viljo Marrandi
> Can you not limit your perl-script to a single folder, so that you can set: > > Alias /scripts/ "/path/to/scripts/" > > > SetHandler perl-script > PerlHandler My::Site > PerlSendHeader On > Unfortunately I can't do this, my handler must handle all "/" reques

Re: Many requests per page

2002-05-02 Thread Viljo Marrandi
Hello again, > * Viljo Marrandi <[EMAIL PROTECTED]> [2002-05-02 08:57]: > > How can I make my system so, that my perl handler is not called for > > each image, css and script the page has? [-- snip --] > return DECLINED if $r->content_type && $r->content_type !~ m|^text/|i; I tried that, b

Re: Many requests per page

2002-05-02 Thread darren chamberlain
* Viljo Marrandi <[EMAIL PROTECTED]> [2002-05-02 08:57]: > How can I make my system so, that my perl handler is not called for > each image, css and script the page has? [-- snip --] The example handlers that come with HTML::Mason have an answer; in My::Site::handler, add something like: #

Re: Many requests per page

2002-05-02 Thread Jim Morrison [Mailinglists]
essage - From: "Viljo Marrandi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 02, 2002 1:58 PM Subject: Many requests per page > Hello, > > I'm using Apache 1.3.22, mod_perl 1.25 and Template-Toolkit 2.06. > > How can I make my syst

Many requests per page

2002-05-02 Thread Viljo Marrandi
Hello, I'm using Apache 1.3.22, mod_perl 1.25 and Template-Toolkit 2.06. How can I make my system so, that my perl handler is not called for each image, css and script the page has? Apache conf has following lines: SetHandler perl-script PerlHandler My::Site P