93629b51fb
Fix bug introduced in f2f115608a
(op del fails when user has no crontab)
2022-05-11 14:39:00 +02:00
Brice Waegeneire
d63046b227
Add support for php8.1
2022-02-22 15:16:22 +01:00
f2f115608a
Dump & remove user crontab on account deletion
...
closes #37
2022-02-17 11:12:55 +01:00
5cd6a6f046
Test if user www-login exists before deleting (else, the deletion fails)
2021-12-02 10:16:12 +01:00
Brice Waegeneire
0709747a1e
web-add.sh script now handles php 8.0 containers
2021-10-05 10:13:12 +02:00
Brice Waegeneire
360929ee96
web-add.sh script now handles php 8.0 containers
2021-10-05 10:06:14 +02:00
Brice Waegeneire
e3dc97d6d4
delete users even though it has some processes running
2021-09-22 10:35:10 +02:00
Tristan PILAT
372b00101d
web-add.sh script now handles php 7.4 containers
2021-04-15 11:11:55 +02:00
7499f0222e
Reorder lines in template fpm config for better readability
2021-02-23 11:07:29 +01:00
4f8b0b19fe
generate longer password by default
2021-02-22 16:22:31 +01:00
2906ba47f1
Add (random) status path php
2021-02-22 16:12:21 +01:00
e2acb4e9d1
web-add.sh - Add .conf at the config name for a2ensite/a2dissite
...
Fixes #70
2021-02-10 15:21:04 +01:00
234ac67634
Fix op_checkoccurencename() in web-add.sh (again)
...
I had it wrong (again) in 283d0bccad
:-(
https://www.youtube.com/watch?v=TMy6X5cQul8
2019-10-14 10:21:05 +02:00
283d0bccad
Fix op_checkoccurencename() in web-add.sh (again)
...
I had it wrong in 9523fff658
:/
2019-10-02 17:40:01 +02:00
9523fff658
Fix op_checkoccurencename() in web-add.sh
...
Ensure that we can add foo.net while having www.foo.net somewhere in out
config files
2019-08-26 11:20:44 +02:00
f7659cee6d
Fix IncludeOptional that can throw syntax errors in some cases.
...
With Apache < 2.4.30, IncludeOptional will throw syntax errors if the
file designated without any pattern globbing is absent.
We circumvent that with a silly pattern.
2019-08-21 12:05:37 +02:00
Nicolas Roman
5cd4cff029
remove matching letsencrypt folder when deleting an account
2019-07-24 16:25:16 +02:00
Nicolas Roman
f3fa182dc7
delete methods updating the vhost after cert installation is completed
2019-07-17 17:20:32 +02:00
Nicolas Roman
c5c1648a58
delete previous cert if it already exists before invoking evoacme
2019-07-17 15:38:59 +02:00
Nicolas Roman
c218aebaae
bugfixes for the evoacme part
2019-07-15 17:06:50 +02:00
Nicolas Roman
4eaf3ad6d1
fix acme-challenge subfolder creation
2019-07-11 16:54:21 +02:00
Nicolas Roman
78d0293b44
create the acme-challenge subfolder correctly for the HTTP challenge
2019-07-11 15:24:17 +02:00
Nicolas Roman
37e5ca6484
generate-ssl-certificate and update-ssl-configuration methods for web-add.sh
2019-07-10 16:56:50 +02:00
Nicolas Roman
1b4231e1a9
make-csr function and confirmation button when warning is displayed
2019-07-09 18:07:47 +02:00
Nicolas Roman
bd6d70fbfe
change http challenge filename
2019-06-07 15:22:42 +02:00
Nicolas Roman
b25639c3aa
add manage-http-challenge-file function
2019-06-07 14:10:07 +02:00
Nicolas Roman
a907137e27
block non-standard vhost modification
2019-06-05 16:34:16 +02:00
Nicolas Roman
ad452aad6a
delete list-servername function
2019-06-05 16:33:37 +02:00
Nicolas Roman
b1bab0b40c
normalize add-alias with del-alias
2019-06-05 16:33:23 +02:00
Nicolas Roman
5a738c4e2e
revert multiple virtualhosts mgmt for ITK
2019-06-05 16:33:23 +02:00
Nicolas Roman
ad3c31fb96
added force-confirm option for del script
2019-06-05 16:29:19 +02:00
Nicolas Roman
7a0d307f23
first draft
2019-06-05 16:29:19 +02:00
d00ecea964
web-add.sh - Ensure the FPM pools uses the www-XXX user
2019-04-02 15:15:51 +02:00
7faf647185
replace chained conditionals by regular if/else + configtest before reload
2019-03-27 15:42:53 +01:00
Nicolas Roman
d3e5cc7b4c
fix case when using multiple time disable-user-itk and enable-user-itk
2019-03-26 17:46:31 +01:00
Nicolas Roman
e15e03c36b
enhance enable/disable for itk
2019-03-26 15:42:35 +01:00
Nicolas Roman
89858a6bbd
first draft itk mgmt
2019-03-26 15:42:35 +01:00
Nicolas Roman
fed8a1fc84
Added function to search occurence of given name in vhosts
2019-03-26 15:41:53 +01:00
Nicolas Roman
38308afcf7
list servername and relace previous servername with new one
2019-03-26 15:41:53 +01:00
Nicolas Roman
794defa907
retrieve first ServerName and change it with the new one in all the conf file
2019-03-26 15:41:52 +01:00
Nicolas Roman
6e8ea737de
replace ServerName inside Rewrite rules
2019-03-26 15:41:52 +01:00
Nicolas Roman
b6fcb25b3b
added servernameupdate function
2019-03-26 15:41:52 +01:00
87c08696e3
web-add.sh: Ensure op_setphpversion even when there tabs or no spaces
2019-03-21 10:59:59 +01:00
52c7cfb888
Support express de containers PHP7.3
...
(pas très joli... oui :/)
2019-03-15 16:44:42 +01:00
614de20c34
Fix deletion using wrong path
2019-03-15 16:42:13 +01:00
249a3ac1e9
Fix: web-add.sh not properly listing vhosts' aliases
2019-02-28 18:01:46 +01:00
2935b771cb
Fix #19 - Do not enforce md5 for password
2019-02-28 16:19:54 +01:00
Gregory Colpart
2125055409
Fix when multiples SetHandler lines in VHOST file
2019-02-21 02:31:04 +01:00
ea359880cc
New check-vhosts command for web-add.sh
...
Checks whether the enabled vhosts are all symbolic links, also offers the -f flag to fix any problems automatically.
2018-12-13 23:29:06 +01:00
Patrick Marchand
21f5f011da
Fixed mistake with getopts(1) in web-add.sh
2018-12-13 13:21:13 -05:00