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
Michael Kaufmann (d00p)
8332b77fcc
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:20:11 +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
Chris Vigelius
d9e0854bb7
add docroot
2015-07-06 13:45:10 +02:00
Chris Vigelius
558b779944
allow variables in special config
2015-07-06 13:28:09 +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
Tilman Klaeger
573ada496a
Fix for SSL redirect if ssl port != 443
...
Before it used to forward to https://site:80 as it only checked for
domain[port] to be !=443, wich the redirecting vhost usualy is.
Now we check for destination port !=443.
Customer still has to be carefull when setting ports and IPs,
different ports on different IPs on same domain will always cause
trouble.
tilman19, tilman@3c7.de
2013-09-30 01:26:08 +02:00
Michael Kaufmann (d00p)
7b918ec982
fix php-fpm on apache2 (update 'AddHandler with SetHandler, etc.), thx to snoopotic from the forum
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-09-29 20:37:39 +02:00
Michael Kaufmann (d00p)
94478d7ebc
set correct guid when using fcgid and own-vhost for froxlor, thx to snoopotic from the forum
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-09-29 14:49:35 +02:00
Michael Kaufmann (d00p)
5ff3b04679
add SSLVerifyDepth also to the ip/port section
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-09-28 18:48:56 +02:00
Tilman Klaeger
c90eecba49
Minor additions to ssl per vhost settings:
...
add ssl CA cert and chainfail to ssl vhost
tilman19, tilman@3c7.de
2013-09-28 18:37:10 +02:00
Michael Kaufmann (d00p)
a3eeb21ae2
create correct SetHandler/FCGID config for froxlor's own vhost when vhostcontainer=1 and fcgid is enabled, thx to snoopotic from our forum
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-09-26 21:19:22 +02:00
Michael Kaufmann (d00p)
7cdfdda45c
allow non-standard ssl-port for ssl-redirects (actually, put the port in there if non-standard is defined in ip/port combination), fixes #201
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-09-25 17:08:06 +02:00
Michael Kaufmann (d00p)
f9f4773616
properly escape custom-error strings in apache2, fixes #1009
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-09-23 14:48:02 +02:00
Michael Kaufmann (d00p)
9e405dafce
merge tilman19-master branch (multistack support) - note: this is a very early stage, don't expect everything to work 100%, use at your own risk. Testers are very very welcome (only apache2 and nginx (even more testing) so far)
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-09-19 19:36:06 +02:00
Michael Kaufmann (d00p)
075e18def3
add note to customer domain-add/edit to clearify trailing-slash in URLs, corrected apache-rewrite for url-redirects, fixes #1261
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-09-07 11:32:08 +02:00
Michael Kaufmann (d00p)
cce4bd36ef
wrong solution by SCD in #1261 . This works as intended for me.
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-09-07 09:53:02 +02:00
Michael Kaufmann (d00p)
d61fe9e0c0
fix mod-rewrite for redirect to URIs, fixes #1261
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-09-06 14:00:15 +02:00
Michael Kaufmann (d00p)
6bfec9dc40
adding cipher-order to ssl-vhosts when using apache, thx to Marcel
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-08-19 11:20:39 +02:00
Michael Kaufmann (d00p)
cf515ef8be
use correct user/group setting for froxlor-fpm-vhost-config, fixes #1225
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-05-30 17:03:52 +02:00
Michael Kaufmann (d00p)
fb9ed8b7da
implement per-domain-ssl-certificates in the cronjobs, refs #365
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-05-15 11:55:26 +02:00