View Single Post
Old 02-04-2016, 12:53 AM   #1170
teejcee
Enthusiast
teejcee began at the beginning.
 
Posts: 48
Karma: 10
Join Date: Mar 2012
Location: Sydney, Australia
Device: Kindle 3G & Paperwhite
Quote:
Originally Posted by mariosipad View Post
Hi TC,

This turned out to be a nice little project!


I don't, apache does out of the box (Linux Mint & Debian)
What to write to access.log is defined in /etc/apache2/apache2.conf and when to write is defined
in /etc/apache2/sites-enabled/000-default.conf.

The file without comments. See line -> Customlog:
Code:
<VirtualHost *:80>
	ServerAdmin webmaster@localhost
	DocumentRoot /var/www/html

	ErrorLog ${APACHE_LOG_DIR}/error.log
	CustomLog ${APACHE_LOG_DIR}/access.log combined

</VirtualHost>
I've got a few ideas re getting my solution running properly but I'm still interested in yours. Problem is, it appears we have something different in our respective set ups that is eluding me.

I've compared each 000-default.conf and code wise and they are the same...I'm talking about your original of course. I would be surprised if there were any differences in our apache2.conf files but if they're the same, I can't figure out why I'm not getting any entries in access.log, other than those that I mentioned in an earlier post. Mind you, my apache2/PHP skills are next to nothing....just what I've worked out in COPS. It'll be something obvious I'll bet.
teejcee is offline   Reply With Quote