Added some directories to open_basedir (for awstats)
This commit is contained in:
parent
2448ceae55
commit
b89988cf47
|
@ -30,8 +30,8 @@ ScriptAlias /cgi-bin/ /var/alternc/cgi-bin/
|
|||
php_admin_flag safe_mode_gid off
|
||||
php_admin_flag safe_mode off
|
||||
AddDefaultCharset UTF-8
|
||||
# modules such as mailman or awstats needs to write into other folders, we have to remove this :
|
||||
php_admin_value open_basedir /usr/share/alternc-mailman/patches/:/etc/alternc/:/var/run/alternc/:/var/alternc/bureau/:/var/alternc/html/:/var/alternc/tmp:/tmp:/usr/share/php/:/var/cache/alternc-webalizer/:/etc/locale.gen
|
||||
# open_basedir allows access to specifics directories. We need to grant access to these directories for alternc, awstats, mailman...
|
||||
php_admin_value open_basedir /usr/share/alternc-mailman/patches/:/etc/alternc/:/var/run/alternc/:/var/alternc/bureau/:/var/alternc/html/:/var/alternc/tmp:/tmp:/usr/share/php/:/var/cache/alternc-webalizer/:/etc/locale.gen:
|
||||
|
||||
</Directory>
|
||||
|
||||
|
|
Loading…
Reference in New Issue