I cannot seem to get /var/log/access_log and some other logs could someone tell me or point me to any tutorials on this.
I have successfully searched on this forum to "include" a custom.conf and I thank all contributors on that. However, I have hit a stone wall on doing this.
here is a copy of that:
Code: Select all
#My customized.conf
CustomLog "var/log/access_log" combined
ErrorLog "var/log/ErrorLog_log"
# Directives to allow use of AWStats as a CGI
#
Alias /awstatsclasses "/share/CACHEDEV1_DATA/Public/awstats/wwwroot/classes/"
Alias /awstatscss "/share/CACHEDEV1_DATA/Public/awstats/wwwroot/css/"
Alias /awstatsicons "/share/CACHEDEV1_DATA/Public/awstats/wwwroot/icon/"
ScriptAlias /awstats/ "/share/CACHEDEV1_DATA/Public/awstats/wwwroot/cgi-bin/"
#
# This is to permit URL access to scripts/files in AWStats directory.
#
<Directory "/share/CACHEDEV1_DATA/Public/awstats/wwwroot">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
#
#
## Awstats symbolic links
/bin/ln -sf /share/Public/awstats/db /var/lib/awstats
/bin/ln -sf /etc/config/awstats /etc
/bin/ln -sf /share/Public/awstats /usr/local
#
## perl symbolic links
/bin/ln -sf /opt/bin/perl /usr/bin/perl
#