Originally Posted by datopdog
Those are not apache config options they are for sarg, you need those in sargs config file not in the apache config.
I'm a newbie when it comes to apache / linux, but, I realize that they are not apache commands, as said before, these items are in the SARG.CONF file.
The error I face is:
Starting httpd: Syntax error on line 9 of /etc/httpd/conf.d/sarg.conf:
Invalid command 'access_log', perhaps mis-spelled or defined by a
module not included in the server configuration
What I take it to mean is that:
- It's trying to start the httpd service and due to the configuration of the SARG.CONF file it can't:
Alias /sarg /var/www/sarg
deny from all
allow from 127.0.0.1
- The above seems to indicate that if I visit "http://localhost/sarg" it will show me the "index.html" file in the "/var/www/sarg" folder, or, I guess you could call it a virtual folder.
- If I'm correct, and I think I am, the "httpd" service is apache, so what I did for now was comment out the "access_log" and "output_email" lines as they both seem problematic, and not surprisingly apache started fine!?
- It makes sense to me, that the "access_log" and "output_email" lines should in fact be in some sort of CONF file in the SARG program folder and not in an apache "Virtual Directory" command file
What I would really like to know is, should the commands be in this SARG.CONF file, since it seems to complain about it. Is there another sarg.conf file where they should be, or maybe they should be in the squid.conf file.