Hi, can you teach me how to turn on apache logs in free bsd?
Thanks.
Printable View
Hi, can you teach me how to turn on apache logs in free bsd?
Thanks.
Have you changed any specific settings in your httpd.conf file? Otherwise, Apache by default logs both access and errors.
Take a look at this page:
Apache Log Files
Yes, as posted by amitabh, apache logs are turnned on by default. Use the following commands to see about log files:
Do you have any specific error?Code:ls -l /var/log/httpd-access.log
tail -f /var/log/httpd-access.log
more /var/log/httpd-access.log
Thanks bro, its works..!!
Before that check and see whether the Apache services is running or not. If not, restart the service
/usr/local/etc/rc.d/apache22 restart