2006-03-21 20:12:24 +00:00
|
|
|
## <summary>Squid log analysis</summary>
|
|
|
|
|
|
|
|
#######################################
|
|
|
|
## <summary>
|
|
|
|
## Allow domain to read calamaris www files.
|
|
|
|
## </summary>
|
|
|
|
## <param name="domain">
|
|
|
|
## <summary>
|
|
|
|
## Domain allowed access.
|
|
|
|
## </summary>
|
|
|
|
## </param>
|
|
|
|
#
|
|
|
|
interface(`calamaris_read_www_files',`
|
|
|
|
gen_require(`
|
|
|
|
type calamaris_www_t;
|
|
|
|
')
|
|
|
|
|
2006-12-12 20:08:08 +00:00
|
|
|
allow $1 calamaris_www_t:dir list_dir_perms;
|
2008-07-23 21:38:39 +00:00
|
|
|
read_files_pattern($1, calamaris_www_t, calamaris_www_t)
|
|
|
|
read_lnk_files_pattern($1, calamaris_www_t, calamaris_www_t)
|
2006-03-21 20:12:24 +00:00
|
|
|
')
|