Michael Kaufmann (d00p)
2f6e34d878
do not ssl-redirect when let's encrypt tries to validate the domain, fixes #1649
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2016-08-25 22:08:32 +02:00
Michael Kaufmann (d00p)
c3753478f2
add newline after custom options to avoid possible syntax error in apache-config, thx to J-BBB for testing
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2016-07-14 09:14:37 +02:00
Michael Kaufmann (d00p)
3d2cb879b0
actually use the new setting for custom directory options file content, refs #1638
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2016-07-14 08:36:14 +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
Michael Kaufmann
4f2ee129fd
Merge pull request #318 from Churro/froxlorMerge_33ab67a
...
Feature: vHost templates (version 2)
2016-02-26 19:16:49 +01:00
Daniel Reichelt
82b43948b4
cron/apache
...
- fix mixed indentation
- fix trailing whitespace (code+resulting vhost config)
2016-02-22 15:33:02 +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
268b188133
Apache 2.4: Add AllowOVerride All, otherwise Apache ignores .htaccess
...
files
2016-02-20 17:59:34 +01:00
Florian Aders
dabd4a4a4e
Merge pull request #298 from nachtgeist/logging
...
Logging
2016-02-19 20:46:22 +01:00
Daniel Reichelt
6ac274a706
cron/apache: use correct constant for loglevel
2016-02-19 20:32:03 +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
Florian Aders
ef3ab72082
Explain more stuff in the logmessages
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-02-17 15:50:09 +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
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
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
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
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
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)
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
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
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)
242b42ba95
respect special characters in redirects
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2014-11-28 12:46:28 +01:00
Michael Kaufmann (d00p)
e4ceb962e9
remove trailing slash from mod_proxy stuff, regardless of what the apache-docs say, it works this way!
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2014-11-24 18:44:26 +01:00
Michael Kaufmann (d00p)
5499388777
add possibility to use php-fpm over mod_proxy_fcgi with apache >=2.4.9
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2014-11-10 11:47:27 +01:00
Michael Kaufmann (d00p)
97ec269838
set explicit sslprotocol to react to poodle attack stuff
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2014-10-27 11:46:28 +01:00
Florian Aders (EleRas)
ba3d342e2b
Fixing executing perl-scripts with apache 2.4 and prevent users to access other users docroot, fixes #532
...
Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org >
2014-01-03 11:12:33 +01: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)
ed1c87c521
as fcgid does not add a handler in a separate config such as fpm does, in the ip/port vhost-config of course, this has to be SetHandler instead of AddHandler, thx to quizzi
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-11-17 19:29:35 +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
Michael Kaufmann (d00p)
6ac4b87a84
make ssl-cipher-list an option, fixes #1274 ; improve ssl-related language-strings; setting version to 0.9.30 for release
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-10-24 19:45:13 +02:00
Michael Kaufmann (d00p)
cbe7792929
clean-up for fpm (remove unecessary stuff), thx to tomreyn & Sephi
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-10-06 18:59:10 +02:00
Michael Kaufmann (d00p)
ecdb9ddbdc
fix missing file-extension for AddHandler directive
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-10-01 10:16:13 +02:00
Tilman Klaeger
0ca34daf76
Changing SetHandler to AddHandler again, works for me on my system.
2013-09-30 18:36:45 +02:00
Michael Kaufmann (d00p)
5be9861bad
respect default_vhostconf_domain setting of all ip/port combinations
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-09-30 09:59:47 +02:00
Michael Kaufmann (d00p)
de16c9c4a0
don't create a full vhost for every ip/port, just put all the ip's in the <virtualhost>-tag
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-09-30 08:50:18 +02:00
Michael Kaufmann (d00p)
f9459e92e7
fix redirect to non-standard-ssl port and also implement it for lighttpd
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-09-30 08:20:03 +02:00