Commit Graph
3 Commits
Author SHA1 Message Date
chrisandClaude 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 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