chris and Claude Opus 5.5
fec60403d1
Chrooted SFTP access also for suEXEC (mod_fcgid) sites
...
create_vhost.sh:
- suEXEC (mod_fcgid) sites get the same chrooted SFTP setup as static
suEXEC sites: web base directory root:root 755, DocumentRoot owned by
suEXEC user/group, SFTP group membership, sshd and chroot path checks.
- SFTP group: use $SFTP_CHROOT_GROUP if it exists, otherwise 'sftpusers'
(if exists). If neither exists, skip that step (group is no longer
created).
fix_sftp_site_permissions.sh:
- Also handle active '*.suexec' vhosts. PHP files (*.php, *.phtml,
*.php5) are not touched there.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-16 16:31:58 +01:00
chris
76f0fe1a7a
Add support for static sites with chrooted SFTP access in create_vhost.sh and new permission repair script
2026-11-16 14:41:47 +01:00
chris and Claude Opus 5.5
9a831a4844
create_vhost.sh: create suEXEC user with shell '/usr/sbin/nologin'.
...
suexec doesn't need a login shell (only UID/GID and docroot are checked).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-16 13:57:04 +01:00
chris
704b4709d4
create_vhost.sh: fix IPv6 Error in case of overwriting existing vhost entry.
2025-10-08 08:20:27 +02:00
chris
363e1176ff
create_vhost.sh: Log directory in case of suexec..
2024-04-29 17:48:03 +02:00
chris
1488743e63
create_vhost.sh: change how determin httpd binary.
2024-04-24 16:44:22 +02:00
chris
5c9eae7f3e
create_vhost.sh: Add Prosy parameters to vhost configuration.
2024-04-24 16:32:59 +02:00
chris
62575a0908
create_vhost.sh: add proxy settings that fix default event mpm worker.
2024-04-21 17:06:14 +02:00
chris
85c142f978
create_vhost.sh: only create 'phpinfo.php' if site supports PHP.
2023-12-28 17:49:56 +01:00
chris
eaaaa72544
Merge branch 'master' of https://git.oopen.de/script/apache2
2023-03-19 01:57:27 +01:00
chris
1170d6559e
create_vhost.sh: chnage owner of 'DocumentRoot'/'Web Base directory' only if web vase directory does not exist.
2023-03-19 01:56:59 +01:00
chris
d7610514a5
create_vhost.sh: support php socket also living in php run directory '/run/php'.
2023-03-17 11:55:21 +01:00
chris
485d47158d
create_vhost.sh: allow multiple ipv6/ipv4 addresses.
2022-03-04 00:11:28 +01:00
chris
9cec92749c
create_vhost.sh: remove debug code.
2021-02-12 13:20:54 +01:00
chris
b584d3c2e2
Add script 'get_apache2_info.sh'.
2021-02-12 13:16:51 +01:00
chris
81a6ea2c6c
create_vhost.sh: fix error settinmg variable '_https_only'.
2020-12-28 18:14:23 +01:00
chris
b15c67a405
create_vhost.sh: change default for 'only SSL connections' to 'Yes'.
2020-12-22 13:03:28 +01:00
chris
78da12c4da
create_vhost.sh.: some minor changes on script output.
2020-08-21 11:10:47 +02:00
chris
0cd0ab607c
create_vhost.sh: fix handling in case of unix socket.
2018-10-09 04:09:54 +02:00
chris
c3a13d935e
Change name of configuration file to 'create_vhost.conf'.
2018-04-20 02:44:54 +02:00
chris
afdb4bf7ff
SSLCertificateChainFile is deprecated. So don't warn, if actual configuration does not contain this rule.
2018-04-19 18:45:58 +02:00
chris
eddf35b31e
Fix minor bug.
2018-04-19 18:41:27 +02:00
chris
826309ac44
create_vhost.sh: prevent script from finding old configurations at folders vhosts-yyyy-mm-dd .
2018-04-09 15:22:55 +02:00
chris
856b8cb787
Some minor changes.
2018-02-08 03:36:16 +01:00
chris
5fcf7c5506
- Add support of 'parked' domain/site.
...
- Fix error in handling additional custom logfile."
2018-02-06 17:42:52 +01:00
chris
3f96a75f55
bundle IPv4 and IPv6 in vhost configuration block.
2018-01-11 16:50:54 +01:00
chris
59f6f44a9f
Fix error (and output) if more than one unix sockets for a certain php version exist.
2018-01-07 17:32:01 +01:00
chris
54aa3faab5
Rename create_vhost_php.sh to create_vhost.sh. Add support for vhost configuration for redirecting sites.
2017-11-23 19:58:35 +01:00