Commit Graph
12 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 5ec756adec handle_domain_on_webserver.sh: change default MySQL credentials. 2024-07-05 16:00:47 +02:00
chris 98b9cfb4ed Redesign of code.. 2023-12-23 16:32:26 +01:00
chris 79be6eae5a get_sites_with_external_nameservers.sh: add support for 'omitted site names'. 2021-02-14 12:06:52 +01:00
chris f8a938d365 Add script 'get_sites_with_external_nameservers.sh'. 2021-02-14 02:59:31 +01:00
chris b003005c86 handle_domain_on_webserver.conf.sample: fix error 'DNS_SERVER' must be 'DNS_MASTER_SERVER'. 2018-09-30 13:00:48 +02: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
chris 3b30a7b170 Fix error in sample configuration file 'create_summary_websites.conf.sample'. 2017-09-19 02:56:27 +02:00
chris 41b4448d41 Add Script create_summary_websites.sh. 2017-09-19 02:47:52 +02:00
chris 2e3a89908a handle_domain_on_webserver.sh: first version ready for usage. 2017-08-13 18:37:34 +02:00
chris c74c424481 Add non obligatoric configuration file.
Add posibility to give project name in order to name website basedirectory.
Some minor changes.
2017-03-07 04:43:33 +01:00