Apache Server log Locations on different linux flavours :
RHEL / Red Hat / CentOS / Fedora Linux Apache error file location - /var/log/httpd/error_log
Debian / Ubuntu Linux Apache error log file location - /var/log/apache2/error.log
FreeBSD Apache error log file location - /var/log/httpd-error.log
On most webservers, this means that would show a listing of the directory's contents. But showing that directory is forbidden by server configuration
To solve this you have to find the .htaccess or httpd.conf file in your root and edit the following :
to allow proper listing of files.