Michael Kaufmann
3d647a2c2e
fix read in correct fpm-daemon config-id for nginx and lighttpd own-vhost, thx again to heavygale
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2018-12-09 11:05:36 +01:00
Michael Kaufmann
29c754e700
add new CUSTOMER_HOMEDIR replacer for php-configs, thx to rubberduck for the hint
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2018-11-29 09:37:18 +01:00
Michael Kaufmann
b032f5b2ba
add dhparams for webserver/ssl, refs #519
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2018-11-18 20:35:27 +01:00
Michael Kaufmann
67b95a301b
check only for existing .conf files when trying to find out whether a fpm pool config directory is empty; fixes #543
...
Signed-off-by: Michael Kaufmann <michael.kaufmann@aixit.com >
2018-05-06 14:38:18 +02:00
Michael Kaufmann
b3d018c506
corrected usage of default redirect code from settings; fixes #546
...
Signed-off-by: Michael Kaufmann <michael.kaufmann@aixit.com >
2018-04-25 12:27:40 +02:00
Michael Kaufmann (d00p)
d5b9ad3452
darn, stay php-5.3 compatible, thx greppy
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2018-02-20 21:37:06 +01:00
Michael Kaufmann (d00p)
d8abe30c44
create dummy pool-config whenever a fpm-daemons configdir is empty so it still restarts
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2018-01-09 09:25:56 +01:00
Michael Kaufmann (d00p)
af55fe5b82
add possibility to add multiple php-fpm instances
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2018-01-07 14:55:25 +01:00
Michael Kaufmann (d00p)
45c0915b59
fix ssl integration in lighttpd, thx to black-night for the info
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2017-11-17 15:15:09 +01:00
Michael Kaufmann
d8994ca65b
Merge pull request #399 from hypernics/alias_redirect
...
Change redirect host from main domain name to requested domain name, refs #1670
2016-12-11 08:05:57 +01:00
Michael Kaufmann (d00p)
18514f0180
fix undefined array when processing specialsettings, fixes #1684
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2016-12-10 21:43:28 +01:00
Janos Muzsi
1b18ec45be
correcting lighttpd settings
2016-11-27 23:18:23 +01:00
Janos Muzsi
2c00f982d8
Change redirect host from main domain name to requested domain name
2016-11-24 22:55:57 +01:00
Michael Kaufmann (d00p)
9838ff4da5
fix hsts settings for lighttpd, fixes #1677
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2016-11-22 08:16:35 +01:00
Michael Kaufmann (d00p)
43ca4a28e4
add acme.conf alias also to froxlor vhost in case the acme-challenge path is not within the froxlor-docroot; fix empty redirect-code, fixes #1674
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2016-11-21 08:19:33 +01:00
Michael Kaufmann (d00p)
d6b56262ce
fix unnecessary idn encoding
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2016-11-04 18:28:32 +01:00
Michael Kaufmann (d00p)
76c200a56c
disable tlsv1.1 for ssl settings
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2016-10-31 11:17:56 +01:00
Michael Kaufmann (d00p)
ce31a0b3fd
enable custom redirect codes also for lighttpd
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2016-10-13 10:16:17 +02:00
Michael Kaufmann (d00p)
4a3e02c1f0
add HSTS for domains (admin-side) and froxlor-vhost; fixes #1660
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2016-10-07 11:01:45 +02:00
Michael Kaufmann (d00p)
9799e05ce4
idna convert the whole URI for uri's in docroot as redirect, fixes #1654
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2016-09-22 07:46:50 +02:00
Michael Kaufmann (d00p)
58835ef81f
Warning: Non-standard capitalization of includeSubDomains
...
Header contains the token . The recommended capitalization is .
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2016-09-19 10:03:44 +02:00
Daniel Reichelt
ec474e2b4c
fix "Could not find class 'System'" exceptions
2016-09-16 18:53:29 +02:00
Michael Kaufmann (d00p)
b8c2047379
try to implement ssl-redirect for froxlor-vhost; combine various settings that are froxlor-vhost related into its own category, fixes #1480
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2016-09-11 17:48:08 +02:00
Daniel Reichelt
d56afda274
fix "undefined index" warnings
...
PHP Notice: Undefined index: parentdomainid in
[…]/froxlor/lib/classes/webserver/class.DomainSSL.php on line 49
2016-09-11 02:27:43 +02:00
Michael Kaufmann (d00p)
e4887362ec
added let's encrypt for froxlor vhost - untested for now, testers are welcome
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2016-09-05 17:01:10 +02:00
Michael Kaufmann (d00p)
f9d949f90c
Revert "Merge pull request #318 from Churro/froxlorMerge_33ab67a"
...
This reverts commit 4f2ee129fd , reversing
changes made to f284d67843 .
2016-03-03 23:38:02 +01:00
Michael Kaufmann (d00p)
f6e519d779
Revert "Merge pull request #326 from Churro/froxlorMerge_vhostTemplates"
...
This reverts commit 319668d384 , reversing
changes made to aa592c7369 .
Conflicts:
install/froxlor.sql
install/updates/froxlor/0.9/update_0.9.inc.php
lib/version.inc.php
2016-03-03 23:31:19 +01:00
Johannes Feichtner
101e791add
Vhost templates: Extended the cron scripts to check for the designated webserver and referential integrity
2016-02-27 20:19:50 +01:00
Johannes Feichtner
abe253bc31
Feature: Vhost templates
...
Reworked the initial implementation by hpmewes (https://github.com/Froxlor/Froxlor/pull/233 ) with
- bugfixes all over
- added support for apache and lighttpd also
- added an update sequence (instead of only modifying froxlor.sql)
- added english language variables
- added missing parts in admin_vhostsettings.php
- added parameter replacements as available since PR 244
2016-02-21 14:53:24 +01:00
Johannes Feichtner
c27589e8c2
Set correct error log levels (LOG_ERR instead of LOG_ERROR)
2016-02-20 20:57:31 +01:00
Florian Aders
e621e02f92
Allow selecting new keysize, fixes #1594
...
Prepare database and cron for HSTS, refs #1593
Added option to re-use key and CSR for Let's Encrypt
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-02-19 17:35:44 +01:00
Daniel Reichelt
e306425428
remove now superfluous $debugHandler fields
2016-02-16 16:24:07 +01:00
Daniel Reichelt
f86a115c6a
cron scripts: replace fwrite'ing to lockfile by logging
2016-02-16 16:24:06 +01:00
Chris Vigelius
19d94471d9
Merge branch 'master' into vhost_config_variables, and replace IS_SSL with SCHEME
...
Conflicts (resolved):
lng/english.lng.php
lng/german.lng.php
2015-07-30 11:35:26 +02:00
Michael Kaufmann (d00p)
26a41a0672
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:41:31 +02:00
Michael Kaufmann (d00p)
222841f09b
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:11:55 +02:00
Chris Vigelius
89c4b969d1
make sure we fill all context parameters in any case
2015-07-06 21:21:07 +02:00
Chris Vigelius
ed9e524e03
use absolute path and require_once, instead of relative include
2015-07-06 17:09:49 +02:00
Chris Vigelius
de84419035
add nginx and lighttpd support, refactor into common base class
2015-07-06 14:15:01 +02:00
Michael Kaufmann (d00p)
3be43c4848
outsource a few directory-functions in a class; make apache-2.4 not create 'require all granted' if there is an active directory-protection or option set for the customerroot-dir, possibly fixes #1455
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2014-12-01 08:07:28 +01:00
Michael Kaufmann (d00p)
559fb4d4a4
done a few fixes for newer php-versions
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2014-09-22 10:17:42 +02:00
Roman Schmerold (BNoiZe)
121669ee69
migrating more files to new Settings-class makes me dance, refs #1325
...
Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org >
2013-12-15 15:51:25 +01:00
Michael Kaufmann (d00p)
558108008a
more implementing of new Settings class, refs #1325
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-12-15 12:40:24 +01:00
Michael Kaufmann (d00p)
dc666e96b3
outsource monster-query to new WebserverBase class and adjust query which most likely fixes #1295
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-12-09 09:23:21 +01:00
Michael Kaufmann (d00p)
4426ab52d3
migrate ALL the crons to new PDO database class, refs #1287
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-11-28 12:35:20 +01:00
Michael Kaufmann (d00p)
7a3d696c6a
migrated DomainSSL-class to new PDO database class, refs #1287
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-11-25 09:18:11 +01:00
Michael Kaufmann (d00p)
fa5f1900f0
add trace to database error-log-message (it just helps a lot finding the error); fixed queries in fpm und fcgid class; minor cosmetic changes
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-11-08 08:54:44 +01:00
Michael Kaufmann (d00p)
2e42ef2043
fix creation of vhosts-config if email_only==1 (means, don't create a config)
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-11-06 09:41:01 +01:00
Michael Kaufmann (d00p)
849da2a423
migrate phpinterface-classes to PDO database class, refs #1287
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-11-06 09:11:26 +01:00
Michael Kaufmann (d00p)
9d5851e9be
deny possible direct call of cronjobs
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-10-27 06:18:09 +01:00