Rename create_vhost_php.sh to create_vhost.sh. Add support for vhost configuration for redirecting sites.
This commit is contained in:
parent
534a3c7e49
commit
54aa3faab5
57
OLD/conf/create_vhost_php.conf
Normal file
57
OLD/conf/create_vhost_php.conf
Normal file
@ -0,0 +1,57 @@
|
||||
|
||||
## ===================================================================
|
||||
## - 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
|
||||
# -
|
||||
# - Only usefull, if you all logfiles are stored in a common logfile-directory.
|
||||
# -
|
||||
# - Example:
|
||||
# - COMMON_LOGFILE_DIR="/var/log/apache2"
|
||||
# -
|
||||
#COMMON_LOGFILE_DIR=""
|
||||
|
||||
# - Where to store vhost configuration files
|
||||
# -
|
||||
# - Example:
|
||||
#- VHOST_BASE_DIR="/usr/local/apache2/conf/vhosts/0"
|
||||
# -
|
||||
VHOST_BASE_DIR="/usr/local/apache2/conf/vhosts/0"
|
||||
|
||||
# - 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="/var/www"
|
||||
|
||||
# - Create Symlink for Website's Base Directory
|
||||
# -
|
||||
# - Defaults to 'false'
|
||||
# -
|
||||
#CREATE_SYMLINK_WEB_BASE_DIR=
|
74
conf/create_vhost.conf.sample
Normal file
74
conf/create_vhost.conf.sample
Normal file
@ -0,0 +1,74 @@
|
||||
|
||||
## ===================================================================
|
||||
## - 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=
|
3317
create_vhost.sh
Executable file
3317
create_vhost.sh
Executable file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user