Daniel Reichelt
427b7492dc
cron_tasks/bind: fix conditions for mail-related records
...
This patch adds isemaildomain==1 as an additional condition for the
creation of mx/imap/smtp/pop3/spf-txt records for a domain.
For the hostname entry, this depends on the system setting
dns_createmailentry.
2016-02-08 00:28:45 +01:00
Daniel Reichelt
627e22a2e6
cron_tasks/bind: fix conditions for writing www records
...
The bind cronjob awlays creates www A/AAAA records, regardless of a
domain's iswildcarddomain or wwwserveralias settings.
With this patch www records only get created if "www alias" is selected
for a domain, i.e. iswildcarddomain is disabled and wwwserveralias is
enabled.
2016-02-08 00:28:45 +01:00
Florian Aders
f8ed70c5f2
Log certificate update in syslog etc
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-02-03 17:42:00 +01:00
Florian Aders
172915b5be
Store chains correctly
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-02-03 16:47:46 +01:00
Florian Aders
5691b3a8db
Merge pull request #280 from EleRas/master
...
Added basic let's encrypt - supprt, fixes #1470
2016-02-03 11:53:05 +01:00
Chris Energia Positiva
e10732c058
Update cron_tasks.php
2016-02-01 21:53:07 +01:00
Florian Aders
cdb00a76ce
Log cert - error in syslog/database
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-02-01 21:23:01 +01:00
Florian Aders
efc5f37850
Well, we need a new key if we don't havre one, not if we already have one
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-02-01 20:58:49 +01:00
Florian Aders
ba1181e8ff
Fixed inserting of certificate if it didn't exist yet and return textbased domainkey, not ressource
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-02-01 20:47:16 +01:00
Florian Aders
daf32b8ac4
Froxlor doesn't use namespaces yet :/
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-02-01 10:19:31 +01:00
Florian Aders
dd9e540ca3
inserttask(1) after updating certificates, updated install/update - SQL
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-01-30 15:19:40 +01:00
Florian Aders
44d08d6aa9
Add let's encrypt to customer domain - GUI
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-01-30 13:59:34 +01:00
Florian Aders
67df9dbf6b
Experiment with accountkeys per customer
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-01-30 13:06:42 +01:00
Florian Aders
2e7dd6f212
Changed comments to // to match the rest of Froxlor and made small improvements to the accountKey
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-01-30 10:56:08 +01:00
Florian Aders
d45e9e63e6
Fixed a few obvious bugs
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-01-29 16:52:58 +01:00
Florian Aders
4f0c1894a3
Initial version of let's encrypt renewal cron
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-01-29 14:29:30 +01:00
Stefan Weil
ddd4c2ad3d
Fix typo in comment
...
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2016-01-25 17:15:17 +01:00
Michael Kaufmann (d00p)
efdb3623e1
fix return value usage in write-context
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2016-01-18 10:51:39 +01:00
Michael Kaufmann (d00p)
29494b71fa
do not create vhost content for ssl-vhosts that do not have a ssl-certificate specified, fixes #1583
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2016-01-15 09:40:59 +01:00
Michael Kaufmann (d00p)
f2c3b3f165
ignore errors when deleting old statistics-index-page in case this is the first run and no index.html exists yet
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2016-01-11 09:14:09 +01:00
knox
56163f66d8
fixed ownership of cgi-bin symlink created by suexec-workaround
...
see http://manpages.debian.org/cgi-bin/man.cgi?apropos=0&format=html&query=chown&sektion=1&locale=en
2015-11-29 17:24:24 +01:00
Christian Becker
6996f6516c
fix ssl setttings for rewrite vhosts on nginx, fixes #1568
...
- previously the ssl settings were missing in rewrite vhosts
- this caused ssl errors for these hosts as the default certificate has been used instead of the vhost specific cert.
- this seem to only apply for nginx, not apache
2015-11-14 14:10:23 +01:00
Michael Kaufmann (d00p)
0939d032a5
fix wrong vhost creation with nginx when customer is deactivated and no docroot for deactivated users was given, fixes #1565
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2015-11-12 08:42:32 +01:00
Michael Kaufmann (d00p)
d226af5314
do not select cron.d-file-regeneration task in cron_task as it is not being handled there
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2015-10-04 17:30:33 +02:00
Michael Kaufmann (d00p)
0b901af0f0
define array for mod_php users, fixes #1555
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2015-09-14 22:23:40 +02:00
Frank Gehann
edd60d3331
Fixed composeSslSettings which used variables not available in the function scope.
2015-08-18 11:03:06 +02:00
Michael Kaufmann
5136824844
Merge pull request #244 from greybyte/vhost_config_variables
...
Variable substitution in vhost specialconfig
2015-07-31 12:02:40 +02:00
Michael Kaufmann (d00p)
de4a953bb7
check for existence of ssl-related files for ip/port vhost in order to avoid the webserver to be unable to restart when the cronjob runs; fixes #1485
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2015-07-28 15:44:10 +02:00
Michael Kaufmann (d00p)
a1d38dc05f
solve sub-sub-domain-problem by dynamically assigning vhost-number in vhost-filename (the deeper the lower the number thus being included earlier), fixes #1535
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2015-07-28 15:13:32 +02:00
Michael Kaufmann (d00p)
fce9de7372
remove superfluous call to 'getDomainRedirectCode' as its been called before; allow changing of redirect-code when domain has 'ssl-redirect' = 1
2015-07-28 13:21:02 +02:00
Michael Kaufmann (d00p)
cd1e03c033
fix openbasedir-path when using mod_php, fixes #1507
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2015-06-10 15:31:15 +02:00
Marcus van Dam
d9660e66a8
the awstats files live in the non static outputdir.
2015-06-10 14:43:50 +02:00
Marcus van Dam
83e904c9f7
Feature #545 : Prevent ln from linking withing the current symlink.
2015-06-01 16:24:45 +02:00
Marcus van Dam
9bbdb1b3b9
Feature #545 : Include the awstatsGenerateIndex in cronjob.
...
Seperate the awstats updates output directory from the awstats static
output directory.
Switch to zero padded months.
Symlink current month to 'current' directory (force needed to update
the link if it already exists)
2015-06-01 14:55:43 +02:00
Marcus van Dam
f6cdc0575b
Feature #545 : function to deploy the index and nav templates
...
Should deploy the html files with its template variables replaced
into the awstats root.
2015-06-01 14:45:20 +02:00
Andreas Grundler
16568c11f1
Fix für Apache 2.4 + mod_proxy_fcgi
2015-05-11 22:23:49 +02:00
Michael Kaufmann (d00p)
e0ef3e9984
fix mpm-itk stuff, thx to Ithariel; minor fixes in updater
2015-04-22 15:58:04 +02:00
Michael Kaufmann (d00p)
8ef6032570
also re-generate bind configs (if enabled) when using --force with the cronjob
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2015-03-11 11:21:17 +01:00
Michael Kaufmann (d00p)
5dce0db661
dont create 'require all granted' if the directory is protected by a customer (htaccess), fixes #1455 (again); thx to Laryllian
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2015-03-02 20:25:41 +01:00
Michael Kaufmann (d00p)
03e48927a3
add optional support for apache-itk-mpm (mod_php only)
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2015-02-18 16:01:38 +01:00
Roman Schmerold (BNoiZe)
643f124e8b
Fixing a bug with linebreaks, fixes #1498
...
Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org >
2015-02-15 19:07:01 +01:00
Stefan Weil
0fc73b2bbb
Fix typos found by codespell
...
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2015-02-08 17:52:45 +01:00
Michael Kaufmann (d00p)
a4973c9c38
don't add rewritecond for https off if this is a ssl-vhost
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2015-01-21 16:51:36 +01:00
Roman Schmerold (BNoiZe)
67f3263a2e
Don't remove custom comments, add newline after blocks
...
Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org >
2015-01-14 00:20:04 +01:00
Roman Schmerold (BNoiZe)
f61567be81
Changed the way php-fpm is included, fixes #1427
...
Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org >
2015-01-13 20:37:57 +01:00
Michael Kaufmann (d00p)
3ee8f6ac25
use generatePassword() for generating passwords as it respects the settings; fix user-modification under freebsd as there is no 'usermod'
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2015-01-12 20:24:55 +01:00
Michael Kaufmann (d00p)
aff531a274
set from and reply to from settings in usage-report-mails
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2015-01-10 07:33:40 +01:00
Michael Kaufmann (d00p)
64959c75fe
clear out whether pcntl extension is not installed or just pcntl_fork is unavailable, fixes #1469
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2015-01-07 15:36:35 +01:00
Michael Kaufmann (d00p)
55c7b2aedf
use separate escapeshellarg()-calls as it leads to 'group user' as being recognized as the group only
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2015-01-05 18:16:51 +01:00
Michael Kaufmann (d00p)
366e0f6061
various permission fixes when using fcgid / fpm and customerdocroots having 0770 and sockets are 0660
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2014-12-22 09:51:55 +01:00