Commit Graph

8 Commits

Author SHA1 Message Date
Nahuel Angelinetti 9a71472424 Now redirects are "permanent" redirects(code 301)
the upgrade script should regenerate previously created redirects
References: 1165
2009-02-18 18:10:45 +00:00
Antoine Beaupré d5a4c72e4a Major redesign of the MySQL backend interface to fix a security issue.
See: #318.

As of now, the MySQL configuration used everywhere by AlternC is not
stored in the main configuration file (/etc/alternc/local.sh) but in a
MySQL configuration file in /etc/alternc/my.cnf, which enables us to
call mysql without exposing the password on the commandline.

The changes here are quite invasive but will allow us to factor out
the MySQL configuration better. See #364.

This includes a partial rewrite of the mysql.sh logic, which is now ran
from the postinst script (and not alternc.install) which will allow us
to actually change the MySQL root user properly. See #601.

This commit was tested like this:

 * clean install on etch (working)
 * upgrade from a clean 0.9.7 (working)
2008-04-13 04:35:19 +00:00
Antoine Beaupré 7c467be6d5 don't add the openbasedir protection on webmail. Closes: #1080 2007-11-15 20:30:17 +00:00
Antoine Beaupré a478703bb4 normalise the url given so that users redirecting to http://example.com don't have problems. Closes: #1079 2007-11-15 19:21:31 +00:00
Benjamin Sonntag 1ead7e1bbb Fixing dns/nodns issue (a bug in update_domains) Fixes #772 2007-09-09 20:01:34 +00:00
Antoine Beaupré 9a4162f508 retirer la fonction dupliquee init_dom_letter, remplaceee par print_domain_letter. utiliser print_user_letter au lieu code custom 2007-09-09 18:35:15 +00:00
Antoine Beaupré 9afbeb6015 move functions from update_domains.sh into common functions 2007-09-09 18:21:57 +00:00
Antoine Beaupré 4b68e501bb move functions to a common directory to avoid code duplication 2007-09-09 18:18:19 +00:00