On Fri, Jul 26, 2002 at 04:11:29PM -0700, Rasoul Hajikhani wrote: > Folks, > My PerlAccessHandler is being executed twice per each request. Is this a > normal behavior for an access handler? > Here is my .conf entry > <Location /myHandler> > SetHandler perl-script > # run is a wrapper for my handler > # all common methods which many of my handlers > # use are stored in the super class of myHandler > # in which run is a part of. > # Also wraps myHandler in a try {} catch { ... > # block. > PerlHandler myHandler->run > PerlAccessHandler myAccess > . > . > . > </Location> >
Hmm... Is the PerlAccessHandler directive defined anywhere else? Perhaps in a .htaccess file in the doc root? > The access handler's job is to check for cookies and last login time. > There are no fancy codes there... However, on every request, the handler > is invoked twice. Can someone make a suggestion as to why this is > happening? Maybe you're trying to pull some sort of image from a local path? Something like <img src="image.gif"> has bitten me before. Javascript is another one that bites me often. Mouse over code can be bad too... They are often coded as relative paths. Good luck, Rob