Trie et rangement divers
This commit is contained in:
parent
53ab1d301b
commit
5c017c4581
|
@ -11,12 +11,6 @@ launching :
|
||||||
in a debian server could help finding the right way to do it (eg: bind9 ) ;)
|
in a debian server could help finding the right way to do it (eg: bind9 ) ;)
|
||||||
|
|
||||||
Questions:
|
Questions:
|
||||||
- what do we do about /var/alternc/exec.usr/ ?
|
|
||||||
|
|
||||||
- we don't need our own php session folder don't we ? (or maybe for alternc-panel writable only ?)
|
|
||||||
W: alternc: non-standard-dir-perm var/alternc/sessions/ 1733 != 0755
|
|
||||||
=> /var/alternc/tmp => not easy to decide, cf #1458
|
|
||||||
=> we must check if alternc can work with memcached sessions (or force disks sessions)
|
|
||||||
|
|
||||||
- some binaries / scripts don't have a man page
|
- some binaries / scripts don't have a man page
|
||||||
|
|
||||||
|
@ -52,6 +46,8 @@ Should be fixed, need more test:
|
||||||
- /var/alternc/db => not used anymore, drop
|
- /var/alternc/db => not used anymore, drop
|
||||||
- /var/alternc/mla => not used anymore, drop
|
- /var/alternc/mla => not used anymore, drop
|
||||||
- there is /var/alternc/cgi-bin/ is forgotten and now we use the standard /usr/lib/cgi-bin/
|
- there is /var/alternc/cgi-bin/ is forgotten and now we use the standard /usr/lib/cgi-bin/
|
||||||
|
- /var/alternc/exec.usr/ => usr/lib/alternc/safe_mode_exec_dir
|
||||||
|
- /var/alternc/sessions/ disapear for the standard PHP sessions dir.
|
||||||
|
|
||||||
********************************************************************************
|
********************************************************************************
|
||||||
FIXED:
|
FIXED:
|
||||||
|
|
|
@ -11,14 +11,13 @@ etc/phpmyadmin
|
||||||
etc/postfix
|
etc/postfix
|
||||||
etc/sudoers.d
|
etc/sudoers.d
|
||||||
usr/bin
|
usr/bin
|
||||||
usr/lib/alternc
|
|
||||||
usr/share/alternc/panel
|
usr/share/alternc/panel
|
||||||
|
usr/lib/alternc
|
||||||
usr/lib/alternc/install.d
|
usr/lib/alternc/install.d
|
||||||
|
usr/lib/alternc/safe_mode_exec_dir
|
||||||
usr/sbin
|
usr/sbin
|
||||||
usr/share/alternc/install
|
usr/share/alternc/install
|
||||||
usr/share/locale/fr/LC_MESSAGES
|
usr/share/locale/fr/LC_MESSAGES
|
||||||
var/alternc/exec.usr
|
|
||||||
var/alternc/tmp
|
|
||||||
var/backups/alternc
|
var/backups/alternc
|
||||||
/var/lib/alternc/apache-vhost
|
/var/lib/alternc/apache-vhost
|
||||||
/var/lib/alternc/bind
|
/var/lib/alternc/bind
|
||||||
|
|
|
@ -63,7 +63,7 @@ install: build
|
||||||
chown -R 1999:1999 debian/alternc/usr/share/alternc/panel
|
chown -R 1999:1999 debian/alternc/usr/share/alternc/panel
|
||||||
chmod -R 644 debian/alternc/usr/share/alternc/panel
|
chmod -R 644 debian/alternc/usr/share/alternc/panel
|
||||||
chmod -R a+X debian/alternc/usr/share/alternc/panel
|
chmod -R a+X debian/alternc/usr/share/alternc/panel
|
||||||
chown -R www-data:www-data debian/alternc/var/log/alternc debian/alternc/var/alternc/tmp
|
chown -R www-data:www-data debian/alternc/var/log/alternc
|
||||||
chmod a+x debian/alternc/usr/share/alternc/install/alternc.install debian/alternc/usr/share/alternc/install/dopo.sh debian/alternc/usr/share/alternc/install/mysql.sh debian/alternc/usr/share/alternc/install/newone.php debian/alternc/usr/share/alternc/install/reset_root.php debian/alternc/usr/share/alternc/install/upgrade_check.sh debian/alternc/usr/share/alternc/install/upgrades/*.php debian/alternc/usr/share/alternc/install/upgrades/*.sh
|
chmod a+x debian/alternc/usr/share/alternc/install/alternc.install debian/alternc/usr/share/alternc/install/dopo.sh debian/alternc/usr/share/alternc/install/mysql.sh debian/alternc/usr/share/alternc/install/newone.php debian/alternc/usr/share/alternc/install/reset_root.php debian/alternc/usr/share/alternc/install/upgrade_check.sh debian/alternc/usr/share/alternc/install/upgrades/*.php debian/alternc/usr/share/alternc/install/upgrades/*.sh
|
||||||
|
|
||||||
mkdir -p debian/alternc/var/run/alternc/
|
mkdir -p debian/alternc/var/run/alternc/
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# AUTO GENERATED FILE
|
||||||
|
# Modify template in /etc/alternc/templates/
|
||||||
|
# and launch alternc.install if you want
|
||||||
|
# to modify this file.
|
||||||
|
#
|
||||||
# This module is loaded in /etc/apache/modules, and enabled by apache-modconf
|
# This module is loaded in /etc/apache/modules, and enabled by apache-modconf
|
||||||
# LoadModule vhost_alias_module /usr/lib/apache/1.3/mod_vhost_alias.so
|
# LoadModule vhost_alias_module /usr/lib/apache/1.3/mod_vhost_alias.so
|
||||||
|
|
||||||
|
@ -30,7 +35,7 @@ ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
|
||||||
php_admin_flag safe_mode off
|
php_admin_flag safe_mode off
|
||||||
AddDefaultCharset UTF-8
|
AddDefaultCharset UTF-8
|
||||||
# open_basedir allows access to specifics directories. We need to grant access to these directories for alternc, awstats, mailman...
|
# 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/:/usr/share/alternc/panel/:%%ALTERNC_HTML%%/:/var/alternc/tmp:/tmp:/usr/share/php/:/var/cache/alternc-webalizer/:/etc/locale.gen:%%ALTERNC_LOGS%%/:/etc/awstats/
|
php_admin_value open_basedir /usr/share/alternc-mailman/patches/:/etc/alternc/:/var/run/alternc/:/usr/share/alternc/panel/:%%ALTERNC_HTML%%/:/tmp:/usr/share/php/:/var/cache/alternc-webalizer/:/etc/locale.gen:%%ALTERNC_LOGS%%/:/etc/awstats/
|
||||||
|
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
|
@ -42,13 +47,17 @@ ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
|
||||||
Allow from all
|
Allow from all
|
||||||
php_admin_flag safe_mode_gid off
|
php_admin_flag safe_mode_gid off
|
||||||
php_admin_flag safe_mode off
|
php_admin_flag safe_mode off
|
||||||
php_admin_value disable_functions chmod,chown,chgrp,link,symlink
|
|
||||||
php_admin_value safe_mode_exec_dir /var/alternc/exec.usr
|
|
||||||
php_admin_value disable_functions chgrp,link,symlink
|
|
||||||
|
|
||||||
php_admin_flag enable_dl off
|
php_admin_flag enable_dl off
|
||||||
php_admin_value upload_tmp_dir /var/alternc/tmp
|
|
||||||
|
php_admin_value disable_functions chmod,chown,chgrp,link,symlink
|
||||||
|
php_admin_value safe_mode_exec_dir /usr/lib/alternc/safe_mode_exec_dir
|
||||||
|
php_admin_value disable_functions chgrp,link,symlink
|
||||||
php_admin_value sendmail_path /usr/lib/alternc/sendmail
|
php_admin_value sendmail_path /usr/lib/alternc/sendmail
|
||||||
|
|
||||||
|
# Default upload_tmp_dir is /tmp . Be carefull, this value MUST be surcharged
|
||||||
|
# by the vhost to be a directory INSIDE the home of the user. If you don't do
|
||||||
|
# that, ACLs could be "strange" or inexistent.
|
||||||
|
php_admin_value upload_tmp_dir /tmp
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory /usr/share/phpmyadmin>
|
<Directory /usr/share/phpmyadmin>
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
# AUTO GENERATED FILE
|
||||||
|
# Modify template in /etc/alternc/templates/
|
||||||
|
# and launch alternc.install if you want
|
||||||
|
# to modify this file.
|
||||||
|
#
|
||||||
|
|
||||||
LogFormat "%{LOGIN}e %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T %{Host}i" alternc
|
LogFormat "%{LOGIN}e %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T %{Host}i" alternc
|
||||||
CustomLog "|| /usr/sbin/vlogger -u alterncpanel -g alterncpanel -s access.log -t \"access-%Y%m%d.log\" %%ALTERNC_LOGS%%" alternc
|
CustomLog "|| /usr/sbin/vlogger -u alterncpanel -g alterncpanel -s access.log -t \"access-%Y%m%d.log\" %%ALTERNC_LOGS%%" alternc
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# AUTO GENERATED FILE
|
||||||
|
# Modify template in /etc/alternc/templates/
|
||||||
|
# and launch alternc.install if you want
|
||||||
|
# to modify this file.
|
||||||
|
#
|
||||||
# envvars - default environment variables for apache2ctl
|
# envvars - default environment variables for apache2ctl
|
||||||
|
|
||||||
# this won't be correct after changing uid
|
# this won't be correct after changing uid
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# AUTO GENERATED FILE
|
||||||
|
# Modify template in /etc/alternc/templates/
|
||||||
|
# and launch alternc.install if you want
|
||||||
|
# to modify this file.
|
||||||
|
#
|
||||||
|
|
||||||
connect=host=%%dbhost%% dbname=%%dbname%% user=%%db_mail_user%% password=%%db_mail_pwd%%
|
connect=host=%%dbhost%% dbname=%%dbname%% user=%%db_mail_user%% password=%%db_mail_pwd%%
|
||||||
#connect = host=localhost dbname=mails user=testuser password=pass
|
#connect = host=localhost dbname=mails user=testuser password=pass
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
# AUTO GENERATED FILE
|
||||||
|
# Modify template in /etc/alternc/templates/
|
||||||
|
# and launch alternc.install if you want
|
||||||
|
# to modify this file.
|
||||||
|
#
|
||||||
|
|
||||||
# This file is opened as root, so it should be owned by root and mode 0600.
|
# This file is opened as root, so it should be owned by root and mode 0600.
|
||||||
#
|
#
|
||||||
# http://wiki.dovecot.org/AuthDatabase/SQL
|
# http://wiki.dovecot.org/AuthDatabase/SQL
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# AUTO GENERATED FILE
|
||||||
|
# Modify template in /etc/alternc/templates/
|
||||||
|
# and launch alternc.install if you want
|
||||||
|
# to modify this file.
|
||||||
|
#
|
||||||
## Dovecot configuration file
|
## Dovecot configuration file
|
||||||
|
|
||||||
# If you're in a hurry, see http://wiki.dovecot.org/QuickConfiguration
|
# If you're in a hurry, see http://wiki.dovecot.org/QuickConfiguration
|
||||||
|
|
|
@ -1,2 +1,4 @@
|
||||||
|
# WARNING: Do not edit this file, edit the one in /etc/alternc/templates and launch alternc.install again.
|
||||||
|
|
||||||
/var/run/alternc/ IN_CREATE,IN_ATTRIB,IN_NO_LOOP /usr/lib/alternc/inotify_update_domains.sh
|
/var/run/alternc/ IN_CREATE,IN_ATTRIB,IN_NO_LOOP /usr/lib/alternc/inotify_update_domains.sh
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# AUTO GENERATED FILE
|
||||||
|
# Modify template in /etc/alternc/templates/
|
||||||
|
# and launch alternc.install if you want
|
||||||
|
# to modify this file.
|
||||||
|
#
|
||||||
#
|
#
|
||||||
# Postfix master process configuration file. For details on the format
|
# Postfix master process configuration file. For details on the format
|
||||||
# of the file, see the master(5) manual page (command: "man 5 master").
|
# of the file, see the master(5) manual page (command: "man 5 master").
|
||||||
|
|
Loading…
Reference in New Issue