🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay 2022-10-11 18:18:45 -04:00
parent 49169e9a01
commit 671a763245
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F
2 changed files with 3 additions and 2 deletions

View File

@ -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/"

View File

@ -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