
Changing Access log file in Apache
Access log empty? Maybe the default access log file is changed??
Or, incase you want to change the default access log to somewhere else here is how you do it
To see the default Access log assuming you are on debian
1. Got to /etc/apache2/
2. Open file apache2.conf
vi apache2.conf
3. Search for CustomLog
and see the location of the file. It will be in that location apache would put access log.
To change or create a new Access log
1. Go to /etc/apache2/sites-enabled
2. Open file default, here you can open respective default files that you have
3. On your virtual hosts, add CustomeLog
and provide appropriate file that you want to add.. like
CustomLog /var/log/apache2/access.log combined
This will change the default log file location in the web server
Recommended
See Why apache is listing the directory even when I have index file
Youth Soccer
Wonderful blog! I found it while surfing around on
Yahoo News. Do you have any suggestions on how to get listed in Yahoo
News? I’ve been trying for a while but I never seem to get there! Cheers