mirror of
https://github.com/casjaysdevdocker/cherokee
synced 2025-01-18 12:34:38 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
49169e9a01
commit
671a763245
@ -16,6 +16,7 @@ fi
|
|||||||
[ -d "/config/cherokee" ] && cp -Rf "/config/cherokee/." "/etc/cherokee/" || cp -Rf "/usr/local/share/template-files/config/defaults/cherokee/" "/etc/cherokee/"
|
[ -d "/config/cherokee" ] && cp -Rf "/config/cherokee/." "/etc/cherokee/" || cp -Rf "/usr/local/share/template-files/config/defaults/cherokee/" "/etc/cherokee/"
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
[ -d "/data/htdocs" ] || mkdir -p "/data/htdocs"
|
[ -d "/data/htdocs" ] || mkdir -p "/data/htdocs"
|
||||||
|
[ -d "/config/cherokee/themes" ] && cp -Rf "/config/cherokee/themes/." "/usr/local/share/cherokee/share/cherokee/themes/"
|
||||||
if [ -z "$(ls -A /data/htdocs/www/* 2>/dev/null||echo '')" ]; then
|
if [ -z "$(ls -A /data/htdocs/www/* 2>/dev/null||echo '')" ]; then
|
||||||
mkdir -p "/data/htdocs" "/data/htdocs/cgi-bin"
|
mkdir -p "/data/htdocs" "/data/htdocs/cgi-bin"
|
||||||
cp -Rf "/usr/local/share/template-files/data/." "/data/"
|
cp -Rf "/usr/local/share/template-files/data/." "/data/"
|
||||||
|
@ -27,7 +27,7 @@ vserver!1!rule!5!handler = server_info
|
|||||||
vserver!1!rule!5!handler!type = just_about
|
vserver!1!rule!5!handler!type = just_about
|
||||||
vserver!1!rule!5!match = directory
|
vserver!1!rule!5!match = directory
|
||||||
vserver!1!rule!5!match!directory = /about
|
vserver!1!rule!5!match!directory = /about
|
||||||
vserver!1!rule!4!document_root = /usr/local/share/cherokee/lib/cgi-bin
|
vserver!1!rule!4!document_root = /data/htdocs/cgi-bin
|
||||||
vserver!1!rule!4!handler = cgi
|
vserver!1!rule!4!handler = cgi
|
||||||
vserver!1!rule!4!match = directory
|
vserver!1!rule!4!match = directory
|
||||||
vserver!1!rule!4!match!directory = /cgi-bin
|
vserver!1!rule!4!match!directory = /cgi-bin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user