[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: repeated requests for a file favicon.ico



On Wed, Oct 06, 2004 at 11:43:21AM +0200, Jasper Filon wrote:

> I have a little issue with the favicon file. My www root is password protected. But i also have a /public directory, which can be accessed by everyone. However, when someone opens a picture in his webbrowser by opening "www.mydomain.com/public/pictures/picture.jpg", he or she gets a login-dialog, because the browser tries to open "www.mydomain.com/favicon.ico", which is a restricted directory. Does anybody knows how to tell apache to simpy send a 404 (page not found) instead of requiring username/password? 

Personally, I'd set a
<link rel="shortcut icon" href="/public/favicon.ico"> or similar. 
I'm not sure if IE respects this, but I believe most other browsers do.

Cheers,

Dominic (wandering rapidly off-topic).



Reply to: