client denied c:/wamp/www/favicon
Posted by: baccochr (---.abo.bbox.fr)
Date: December 27, 2018 11:19AM

Hello
How can I solve (and remove) the following error in apache_error_log :

access_compat_error - AH01797 : client denied by server configuration c:/wamp/www/favicon.ico

(I'm using Wamp 2.4/ Apache 2.4.4 Win 32 on a XP SP3 machine)

I created an alias. So I never access to wamp main 'www' directory, but only to my alias [<my] ip>/<myalias>/

So why apache is trying to get access to main 'www/favicon.ico' ?

And I don't want to give external access to that main Wamp 'www' since I don't need it ?

And I was not able to find a directive to ask Apache to not search this favicon.ico or to not log this error that increases uselessly the apache error log file.

Thanks



Edited 1 time(s). Last edit at 12/27/2018 11:24AM by baccochr.

Options: ReplyQuote
Re: client denied c:/wamp/www/favicon
Posted by: Otomatic (Moderator)
Date: December 27, 2018 04:18PM

Hi,

Do not use an alias, which necessarily goes through "localhost". For all your local sites, use VirtualHost, as with all hosting providers.
See The need for Virtual Host

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.