client denied c:/wamp/www/favicon
Posted by: baccochr (
Date: December 27, 2018 11:19AM

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.


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


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

Wampserver 3.2.2 32 bit - Apache 2.4.43 - PHP 7.4.7/7.3.19/..../5.6.40 - MySQL 5.7.30 - MariaDB 10.4.12
Wampserver 3.2.2 64 bit - Apache 2.4.43 - PHP 7.4.7/7.3.19/..../5.6.40 - MySQL 5.7.30/8.0.20 - MariaDB 10.4.12
PhPMyadmin 5.0.2 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote

Sorry, only registered users may post in this forum.