Ilia Ross
|
0955695a15
|
Fix to place apply last; looks better and makes a bit more sense
|
2025-11-09 00:35:25 +02:00 |
|
Jamie Cameron
|
ce6bbe44ff
|
Factor out code to create the site file, and add a function to force a re-gen
|
2025-06-15 08:24:17 -07:00 |
|
Jamie Cameron
|
c5e8c77526
|
Keep the words array in sync with value
|
2025-05-27 19:33:52 -07:00 |
|
Jamie Cameron
|
825ce6154c
|
Don't reference config array entries that don't exist
|
2025-05-26 17:05:51 -07:00 |
|
Jamie Cameron
|
ea7b52d65b
|
dummy directive doesn't use up any lines
|
2025-05-25 19:53:11 -07:00 |
|
Jamie Cameron
|
f5ff544439
|
Use format params
|
2025-05-10 21:58:17 -07:00 |
|
Jamie Cameron
|
24d17dc0c8
|
Keep the split value in sync with the full value
|
2025-05-10 16:36:03 -07:00 |
|
Jamie Cameron
|
fcdebf6891
|
Some systems use the event MPM instead of prefork https://github.com/webmin/webmin/issues/2365
|
2025-01-21 20:05:15 -08:00 |
|
Jamie Cameron
|
2c93a3c694
|
Detect all the installed Apache modules
|
2023-05-23 11:15:13 -07:00 |
|
Jamie Cameron
|
a80024fe70
|
Handle case where <IfModeule prefork.c> is used
|
2022-03-31 22:35:40 -07:00 |
|
Ilia Rostovtsev
|
4f9cba0b33
|
Fix to drop beloved line separators for Apache config formatter
|
2022-02-01 22:44:00 +03:00 |
|
Ilia Rostovtsev
|
4ba0629549
|
Fix to separate Protocols too
|
2021-11-19 20:48:03 +03:00 |
|
Jamie Cameron
|
71aa88adfc
|
Don't re-format config if somehow the config option isn't set
|
2021-11-13 11:09:21 -08:00 |
|
Ilia Rostovtsev
|
99478d9741
|
Remove empty space
|
2021-11-05 01:57:26 +03:00 |
|
Ilia Rostovtsev
|
6ccfd2c7bc
|
If file was deleted prevent recreating an empty file
|
2021-11-04 19:34:19 +03:00 |
|
Ilia Rostovtsev
|
9a66592601
|
Format directive if not the first in VirtualHost
|
2021-11-04 19:29:20 +03:00 |
|
Ilia Rostovtsev
|
79ab64939f
|
Add format config to do magic with separating directives
|
2021-11-04 17:32:13 +03:00 |
|
Ilia Rostovtsev
|
2b43b2baa4
|
Format configs cross changes made in UI; fix allowed test
|
2021-11-04 14:43:27 +03:00 |
|
Ilia Rostovtsev
|
471767d1b8
|
Fix format_config test
|
2021-11-04 13:22:13 +03:00 |
|
Ilia Rostovtsev
|
c9147a8ca1
|
Clean no-lng used var
|
2021-11-04 12:58:06 +03:00 |
|
Ilia Rostovtsev
|
ebeea77dd9
|
Update comments
|
2021-11-04 12:57:14 +03:00 |
|
Ilia Rostovtsev
|
50875dffab
|
Add API to format all modified conf files
|
2021-11-04 12:55:57 +03:00 |
|
Ilia Rostovtsev
|
9cb874c605
|
Add support for Apache config indent formatting
|
2021-11-03 21:21:19 +03:00 |
|
Jamie Cameron
|
fb12201be6
|
Store the full version in the site file
|
2021-09-22 23:35:54 -07:00 |
|
Jamie Cameron
|
4ccebeff91
|
Store the full apache version, with all the dots
|
2021-09-21 17:46:37 -07:00 |
|
Jamie Cameron
|
f4f163b046
|
Set indent reasonably when saving a directive
|
2020-09-25 22:22:47 -07:00 |
|
Jamie Cameron
|
f99cbe4bd3
|
Preserve and extend indents
|
2020-09-20 12:53:45 -07:00 |
|
Ilia Rostovtsev
|
fa8bc4d9ed
|
When starting Apache, update last restart time e23db63f33 2d95efa30e
|
2020-08-27 18:06:43 +03:00 |
|
Jamie Cameron
|
2d95efa30e
|
Bold apply link when there are changes to be saved
|
2020-08-23 17:43:27 -07:00 |
|
Jamie Cameron
|
e23db63f33
|
Record last config change and restart times
|
2020-08-23 17:23:56 -07:00 |
|
Jamie Cameron
|
78b70f7e1f
|
Handle case where no standard filters are defined
|
2020-07-10 19:13:21 -07:00 |
|
Jamie Cameron
|
c71cfc96f9
|
Handle case where there are no filters
|
2020-07-10 18:53:39 -07:00 |
|
Ilia Rostovtsev
|
971467c91b
|
Prefix is already set on redirect
|
2020-04-05 15:58:47 +03:00 |
|
Jamie Cameron
|
a2dc3f7124
|
Switch all calls to open() to explicitly open for read
|
2020-03-14 17:20:54 -07:00 |
|
Jamie Cameron
|
4810b7a02b
|
Protect against invalid values
|
2019-10-04 22:35:39 -07:00 |
|
Ilia Rostovtsev
|
94234a5d43
|
Fix missing webprefix
|
2019-04-25 11:06:53 +03:00 |
|
Jamie Cameron
|
6b4758549a
|
Add to end of file rather than after last directive https://www.virtualmin.com/node/58925
|
2018-11-03 16:13:14 -07:00 |
|
Jamie Cameron
|
7e1a55a187
|
Cache version file in RAM
|
2018-10-27 08:23:56 -07:00 |
|
Jamie Cameron
|
fe8aa0179a
|
Cache apache info if the binary hasn't changed
|
2018-10-27 08:23:12 -07:00 |
|
Jamie Cameron
|
2c5a15da20
|
Deal with tab indents
|
2018-02-10 21:43:50 -08:00 |
|
yangfl
|
0f9fb77369
|
Fix typo
|
2017-11-08 16:43:37 +08:00 |
|
Jamie Cameron
|
46814d9e2f
|
Preserve spaces when editing directives https://github.com/virtualmin/virtualmin/issues/35
|
2017-03-22 16:58:20 -07:00 |
|
Jamie Cameron
|
2f5ee3eb33
|
Handle gentoo's apache cofnig check output https://www.virtualmin.com/node/41961
|
2016-09-08 20:04:49 -07:00 |
|
Joe Cooper
|
eb6b294bed
|
typo fix
|
2016-06-16 18:52:47 -07:00 |
|
Jamie Cameron
|
2b212ee3ef
|
Make sure that when unlocking apache config files, it is done for the same ones that were originally locked https://www.virtualmin.com/node/40800
|
2016-05-25 02:06:53 -07:00 |
|
Jamie Cameron
|
fd064fb9ca
|
Fix select list when there is no text http://virtualmin.com/node/38926
|
2015-12-13 11:16:23 -08:00 |
|
Jamie Cameron
|
9a1b5a19d7
|
Fix function name typo
|
2014-12-29 13:56:45 -08:00 |
|
Jamie Cameron
|
200dae2390
|
Handle relative links to sites-available properly http://virtualmin.com/node/35658
|
2014-12-27 12:09:06 -08:00 |
|
Jamie Cameron
|
f36b480df8
|
Use proper params
|
2014-12-03 20:14:55 -08:00 |
|
Jamie Cameron
|
63826fe9b0
|
Remove debug code
|
2014-09-16 21:58:10 -07:00 |
|