# defaults for module: srv-web-vhosts
#
[apache]
  # master vhosts directory
  #
  autovirtual_root	::path.wwwdir::/vhosts

  # list of host names than must be linked to default vhost
  #
  default_names	

  # cron times to run ku-mysql-autodump task (default, every 8 hours)
  #
  mysql_autodump_cron	0 */8 * * *


[www]
  default		::apache.autovirtual_root::/default
  docs			::www.default::/docs
  cgibin		::www.default::/cgi-bin
  images		::www.docs::/images

  update_homepage_crontime		*/15 * * * *

[wiki]
  dir			::www.docs::/wiki
  datadir		::wiki.dir::/data
  pubdir		::wiki.dir::/pub

  custom_dir		::wiki.datadir::/::customer.wikiname::
  custom_pub		::wiki.pubdir::/::customer.wikiname::
  custom_images		::wiki.custom_pub::/images



[awstats]
  <super>		awstats_model


[awstats_model]
  site_domain		(undef)	# per-site: mandatory
  host_aliases			# per-site: optional
  dns_lookup		1	# 0, 1 or 2
  logo			logo.png
  logfile		/var/log/apache2/access.log
  skip_files
  skip_user_agents
  skip_hosts



# awstats models
#
# generic model
#    /stat directory is the standard awstat output files dir
#
# warning! using a regex like ^\/aaa (withou trailing slash)
# will result to skip ANY file/dir starting with "aaa", like
# "aaa", "aaaBBB", "aaa123", etc; to match exactly you need
# to use a trailing slash, optional:
#
#	^\/aaa\/*	matches /aaa and /aaa/
#
# so, using /adm matches /adm, /admin, /administrator, etc etc
#
[awstats_model]
  skip_files		REGEX[^\/stats\/*]

[awstats_model.joomla]
  +skip_files		REGEX[^\/adm] \
  			REGEX[^\/templates] REGEXP[^/cache] REGEX[^/plugins] REGEX[^/modules]

# note: if you don't use rewrites, almost any url will be prefixed by /index.php?
#	administrator always have /index.php, rewrites or not, so we avoid ^ here
#
[awstats_model.magento]
  +skip_files		REGEX[\/adm] \
  			REGEX[^\/lib] REGEXP[^/includes] REGEX[^/var] REGEX[^/app]

[awstats_program]
  crontime		12 * * * *

  htaccess_default_user		kusa
  htaccess_default_password	stats
