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
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
Frank Gehann
7cf321b24a
Fixed composeSslSettings which used variables not available in the function scope.
2015-08-16 15:45:48 +02: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
9dbc04678c
correct path for nginx
2015-07-06 17:16:49 +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
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
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
Churro
4fe33a0b7a
Fix for duplicate htpasswd entries (Nginx)
2014-12-02 22:29:54 +01:00
Churro
8842c02136
Fixed indentation of location-block in Nginx Vhosts
2014-12-01 22:50:07 +01:00
Churro
adbc4bc402
Basic auth realms now work for Nginx Vhosts too
2014-12-01 22:48:54 +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)
c6ed0b63c9
fix vhost-block-merging for nginx, fixes #1450
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2014-11-19 16:29:05 +01:00
Frank Gehann
29d755433f
set explicit sslprotocol to react to poodle attack stuff (nginx)
2014-10-30 14:57:04 +01:00
Roman Schmerold (BNoiZe)
1b00a816e3
Rewrite of merging special vhost settings, fixes #1430
...
Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org >
2014-10-12 15:34:40 +02:00
Roman Schmerold (BNoiZe)
a7450dfe37
Fixed duplicate creation of directory protection, fixes #1450
...
Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org >
2014-10-11 09:08:27 +02:00
Roman Schmerold (BNoiZe)
fe5eff890f
Removed another evil if I overlooked
...
Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org >
2014-10-11 08:18:43 +02:00
Roman Schmerold
539ec529c2
Removing evil if from nginx vhosts
...
Signed-off-by: Roman Schmerold <bnoize@froxlor.org >
2014-10-11 07:58:01 +02:00
Stricted
141e728c0f
fix last commits
2014-09-16 22:47:07 +02:00
Stricted
024d01b300
fix directory index for folders on nginx #2
2014-09-16 21:24:50 +02:00
Stricted
cbf47f46ea
fix directory index for folders on nginx
2014-09-16 21:17:06 +02:00
Stricted
31f3639c15
fix path_info on nginx cronjob
2014-09-08 18:37:14 +02:00
Roman Schmerold (BNoiZe)
ca4dd8a75d
Remove comments from special vhost settings, fixes #1422
...
Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org >
2014-05-18 12:38:50 +02:00
Michael Kaufmann (d00p)
fb3d0269a1
when redirecting to an uri, don't use a trailing slash in order for the redirect to be correct, fixes #1411
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2014-05-02 08:49:27 +02:00
Roman Schmerold (BNoiZe)
b5d56f9992
Fixed problems with merging oneline blocks, fixes #1360
...
Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org >
2014-01-27 20:26:45 +01:00
Michael Kaufmann (d00p)
00a0a4337e
fix nginx configs-generation when setting is 'one file', thx to pcdummy
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2014-01-17 11:12:37 +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
BNoiZe
fc5c4658d1
Added mergeVhostBlocks() for nginx cron, refs #1309
2013-11-25 19:32:01 +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)
101d972a14
fix 'su' on admin-traffic overview, thx Sephi
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-11-11 09:59:03 +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)
ff19d7209d
fix lighttpd cronjob for multi-stack; add ssl-cipher for nginx; set version to 0.9.30-dev1; fixes #583
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-10-13 16:08:14 +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)
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
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)
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
Florian Lahr
a3ee1430ac
Changes related to missing awstats icon location block in Nginx vhosts and Awstats configuration on Gentoo
...
fixes #1228
fixed #1229
2013-06-06 14:49:21 +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