- create_vhost.sh: SFTP_CHROOT_GROUP defaults to 'sftpusers'. Fallback to 'sftpusers' only if a different, non-existing group is configured. Messages list only the groups actually tried. - create_vhost.conf.sample: example sshd Match block and default now use 'sftpusers'. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
98 lines
2.5 KiB
Plaintext
98 lines
2.5 KiB
Plaintext
|
|
## ===================================================================
|
|
## - Configuration File for "create_vhost_php.sh" Script
|
|
## ===================================================================
|
|
|
|
# ----------
|
|
# - Note:
|
|
# -
|
|
# - - Presens of this configuration file is not required.
|
|
# -
|
|
# - - Settings here overwrites the script defaults
|
|
# -
|
|
# - - Settings here can be overwritten by commandline parameters.
|
|
# ----------
|
|
|
|
# - Place phpinfo file into documentroot directory
|
|
# -
|
|
# - Defaults to 'true'
|
|
# -
|
|
#CREATE_PHPINFO_FILE=
|
|
|
|
# - Use Projectname instead of main-domain.tld as wensites base directory
|
|
# -
|
|
# - Defaults to 'false'
|
|
# -
|
|
#USE_PROJECT_NAME=
|
|
|
|
# - Where to store apache log files
|
|
# -
|
|
# - usefull, if all logfiles are stored in a common logfile-directory.
|
|
# -
|
|
# - This log-directory will also be used for vhost configurations which
|
|
# - only redirect a site.
|
|
# -
|
|
# - Example:
|
|
# - COMMON_LOGFILE_DIR="/var/log/apache2"
|
|
# -
|
|
# - Defaults to COMMON_LOGFILE_DIR="/var/log/apache2"
|
|
# -
|
|
#COMMON_LOGFILE_DIR=""
|
|
|
|
# - Where to store apache log files
|
|
# -
|
|
# - This log-directory will be used for vhost configurations which
|
|
# - only redirect a site.
|
|
# -
|
|
# - Example:
|
|
# - REDIRECT_LOGFILE_DIR="/var/log/apache2"
|
|
# -
|
|
# - Defaults to REDIRECT_LOGFILE_DIR="/var/log/apache2"
|
|
# -
|
|
#REDIRECT_LOGFILE_DIR=""
|
|
|
|
# - Where to store vhost configuration files
|
|
# -
|
|
# - Example:
|
|
#- VHOST_BASE_DIR="/usr/local/apache2/conf/vhosts/0"
|
|
# -
|
|
#VHOST_BASE_DIR=""
|
|
|
|
# - Directory, where all the website's base directoties are stored.
|
|
# -
|
|
# - If not set, script tries to determine it.
|
|
# -
|
|
# - Example:
|
|
#- WEBSITES_ROOT_DIR="/var/www/html/projekte"
|
|
# -
|
|
#WEBSITES_ROOT_DIR=""
|
|
|
|
# - Create Symlink for Website's Base Directory
|
|
# -
|
|
# - Defaults to 'false'
|
|
# -
|
|
#CREATE_SYMLINK_WEB_BASE_DIR=
|
|
|
|
# - Group for chrooted SFTP users (vhost types "suEXEC (using mod_fcgid)"
|
|
# - and "static site with suEXEC (chrooted SFTP access)").
|
|
# -
|
|
# - The suEXEC user is added to this group, if it exists. Otherwise it is
|
|
# - added to group 'sftpusers' (if exists). If no such group exists, the
|
|
# - user is not added to any SFTP group. (The group is not created.)
|
|
# -
|
|
# - sshd must restrict members of this group, i.e. at the end of
|
|
# - /etc/ssh/sshd_config:
|
|
# -
|
|
# - Match Group sftpusers
|
|
# - ChrootDirectory %h
|
|
# - ForceCommand internal-sftp -u 0027
|
|
# - AllowTcpForwarding no
|
|
# - AllowAgentForwarding no
|
|
# - X11Forwarding no
|
|
# - PermitTunnel no
|
|
# - PermitTTY no
|
|
# -
|
|
# - Defaults to 'sftpusers'
|
|
# -
|
|
#SFTP_CHROOT_GROUP="sftpusers"
|