Commit Graph

50 Commits

Author SHA1 Message Date
Victor LABORIE 353d41a8a6 web_add with php_versions need global var "conf" 2018-05-31 16:38:34 +02:00
Jérémy Lecour 25d9f7e7d4 web-add: use group "evolinux-ssh 2018-04-20 11:20:06 +02:00
Jérémy Lecour 637e72743a web-add.sh: whitespaces 2018-04-19 23:02:15 +02:00
Jérémy Lecour 99ee37b408 web-add.sh: use AllowGroups or AllowUsers as needed 2018-04-19 23:02:15 +02:00
Victor LABORIE 9ff6846c36 Fix indentation for .my.cnf 2017-10-17 10:44:58 +02:00
Ludovic Poujol 580ff1307e Add robots.txt 2017-10-16 11:53:45 +02:00
Gregory Colpart 00e15b32d7 add default_charset exemple in vhost template 2017-09-12 20:15:48 +02:00
Gregory Colpart aaf2316fa5 bye bye php.log 2017-09-08 03:53:53 +02:00
Gregory Colpart 75c341fed9 bye bye pam_auth() 2017-09-08 03:53:42 +02:00
Romain Dessort 882c464405 Fix od_del() when containers are not used 2017-09-07 11:29:31 -04:00
Gregory Colpart 7e804984d1 add gitgnore for local conf 2017-09-01 03:37:39 +02:00
Gregory Colpart 1a2c47986c Put auth hashs in conf file 2017-09-01 03:35:16 +02:00
Gregory Colpart ea4d220a59 Fix old script name after recent features merge 2017-09-01 03:27:24 +02:00
Gregory Colpart 53f280096a Fix in sed replacements 2017-09-01 03:21:28 +02:00
Romain Dessort 5a5063e4cb Add comment for php_versions 2017-08-25 17:22:53 -04:00
Romain Dessort 5eb619a579 Fix FPM socket path + quota 2017-08-25 17:22:26 -04:00
Romain Dessort 4a28ee1f53 Fix op_del() function for containers 2017-08-25 16:58:04 -04:00
Romain Dessort a5ceadd1d0 Fix FPM socket path 2017-08-25 16:57:38 -04:00
Romain Dessort c166975d46 Use same UID/GID in containers 2017-08-25 16:56:30 -04:00
Romain Dessort 0968dbc797 phpversion and quota options should be optional 2017-08-25 08:48:09 -04:00
Romain Dessort 6b63c02f77 Fix bug related to Apache/Nginx merge 2017-08-25 08:47:42 -04:00
Romain Dessort d27490a49f Add dbadmin option in configuration 2017-08-24 13:06:53 -04:00
Benoît S. 1bee32dd65 Merge branch 'web-add-support-nginx-and-apache' 2017-08-23 14:22:42 +02:00
Benoît S. 29bbfab45a Merge web-add-nginx features to web-add
This add support for apache and nginx in the same script.
2017-08-23 14:19:48 +02:00
Romain Dessort 623f281628 Add new features in web-add.sh script (related to 483482a):
- Unix quota management
  - support for multiple versions of PHP running in LXC containers with FPM
  - don't include MySQL information in summary email if no database is created
  - possibility to set custom MySQL connection parameters
  - fix op_listvhost() function since config file now ended with .conf
    and include useful additional informations (PHP version, used disk
    size, vhost enabled).
  - add scripts to manage/report MySQL databases and users (used by
    evoadmin dbadmin.php page)
2017-08-22 17:29:51 -04:00
Romain Dessort 483482ab59 Add new features:
- Unix quota management
  - Apache ServerAlias management
  - support for multiple versions of PHP
  - MySQL databases management (new page dbadmin)
2017-08-22 12:50:42 -04:00
Gregory Colpart ee8b8a6437 oops, forget to remove debug code :( 2017-08-20 05:19:56 +02:00
Gregory Colpart 4dca34f979 Fix bug with add ServerAlias ! 2017-08-20 05:17:57 +02:00
Gregory Colpart d7bfd75b76 fix serveralias display 2017-08-20 05:10:36 +02:00
Gregory Colpart 7ed492470c indent + fix typo 2017-08-20 05:05:04 +02:00
Gregory Colpart c5b6db810f introduce bindadmin var to know if we need deal with DNS stuff 2017-08-20 04:41:44 +02:00
Gregory Colpart 2947fa2c87 NO CODE IN THIS COMMIT. ONLY :retab replacement aka remove-all-tabs-from-code commit 2017-08-20 04:31:00 +02:00
Gregory Colpart d16fe6fd70 set ftpadmin to FALSE by default. and fix typo. 2017-08-20 04:30:30 +02:00
Gregory Colpart 4dc9c63cbc use right session name 2017-08-20 04:11:53 +02:00
Gregory Colpart 6f3a6ccadd Remove PAM bullshit auth for a simple/stupid sha256 static auth 2017-08-20 04:08:06 +02:00
Victor Laborie a5fe856592 Add web-add script for Nginx/PHP-FPM 2017-08-15 11:20:24 -04:00
Victor LABORIE a81be287c4 Fix #1768: add/del-alias -> auto-suffix .conf 2016-04-19 17:52:05 +02:00
Benoît S. 7a6c625efa We now use /etc/evolinux to configure web-add.sh. 2015-12-23 15:39:50 +01:00
Benoît S. 77c388d6a6 Require all granted for /home/${accountName}/www/. 2015-12-15 15:41:14 +01:00
Gregory Colpart 58725dcc7c fix bug: groupdel when remove account 2015-11-28 23:10:24 +01:00
Gregory Colpart cada24573d Change scripts path 2015-11-28 22:59:36 +01:00
Benoît S. f41e64a2b6 Del operation was invalid for Apache vhost. Fixed. 2015-11-26 10:53:03 +01:00
Romain Dessort 17743c5ba9 Fix a bug when removing an account using web-add.sh del
All lines matching ${account}* are removed instead of only the good one
in /etc/cron.d/awstats.
2015-09-24 15:21:25 +02:00
Benoît S. 0b1c452ee5 Fix #1628. Jessie compatibilty. 2015-09-04 10:20:33 +02:00
Benoît S. 68fa678589 Fix sudoexec function. 2015-09-04 10:03:09 +02:00
Gregory Colpart 3b7f2f788d Fix bug : when serial is greater than date, do $serial++ 2015-09-01 02:05:59 +02:00
Romain Dessort e6edffd820 Merge untracked code into evoadmin-web. 2015-08-31 15:18:56 +02:00
Victor LABORIE 63a2f16b27 Fix #1631. Add --follow-symlinks to sed in (add|del)-alias. 2015-08-28 12:33:08 +02:00
Benoît S. 738932510f Fix a PHP typo... 2015-08-26 18:19:05 +02:00
Benoît S. 48eb1c16b1 Evoadmin-web is now a "public project". 2015-08-25 16:54:13 +02:00