httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Regan" <k.re...@f5.com>
Subject RE: [users@httpd] Apache auth module being called multiple times.
Date Wed, 09 Feb 2005 16:31:30 GMT

>From the Apache access logs:

10.50.10.100 - - [09/Feb/2005:08:30:07 -0800] "GET /?em_server_ip=10.50.10.100&em_server_auth_token=d1Jph2taMHWkoCzVRAyOCZPc6vg6ud3lHwaIMLDuKRsEQJxFz8qtYnl%2Ff%2FGABuvhaWWPENSJvCWD4czoE7N1lhnxPX2ZTI2vMIzd4xIoOu6JOIaISBupsyKygDFBsRMl1xI5zRK8AqgcbG5uYjpjD1hf8y1zlBRJAXsxi%2B2%2FOFU%3D
HTTP/1.1" 401 1297 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0"
10.50.10.100 - - [09/Feb/2005:08:30:09 -0800] "GET /favicon.ico HTTP/1.1" 401 1298 "-" "Mozilla/5.0
(X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0"

Also, if I access /index.html directly rather than /, I get the 2 expected module calls. 
So, it looks like the authentication modules are called first for / and then for /index.html
when Apache does the internal redirection.  I'm still not sure why I'm seeing 4 calls (3 seem
to be generated by the / request and 1 by the /favicon.ico request).

--Kevin

-----Original Message-----
From: Marian D Marinov [mailto:hackman@hydra.azilian.net]
Sent: Tue 2/8/2005 5:37 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Apache auth module being called multiple times.
 
Maybe your browser is making more then one attempts to deliver the object 
before it receive an answer.. But it is possible if you are behind a proxy 
server, the proxy server to make a parallel attempts to gain access to the 
URL so it can cache it.

	Regards
		M.Marinov

?? ????? 09 ???????? 2005 03:31 ?.?. Kevin Regan ??????:
> I just created an authentication module that looks up a token in the URL. 
> It seems to work just fine.  However, from the logs, it looks like it is
> being called 3 or 4 times for each GET request.
>
> Am I doing something wrong or is this to be expected?
>
> --Kevin

-- 
| Registered Linux User #309995 at http://counter.li.org
| One Planet, One Internet.
| We Are All Connected.
\__________________

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



Mime
View raw message