Changeset 3087
- Timestamp:
- 09/21/11 15:04:57 (20 months ago)
- Location:
- alternc/branches/stable-1.0
- Files:
-
- 2 edited
-
etc/alternc/templates/apache2/vhost.conf (modified) (1 diff)
-
src/functions_hosting.sh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
alternc/branches/stable-1.0/etc/alternc/templates/apache2/vhost.conf
r3050 r3087 4 4 5 5 <Directory "%%document_root%%"> 6 php_admin_value open_basedir "%% document_root%%:/usr/share/php/:/var/alternc/tmp:/tmp"6 php_admin_value open_basedir "%%account_root%%:/usr/share/php/:/var/alternc/tmp:/tmp" 7 7 Options +MultiViews -FollowSymLinks +SymLinksIfOwnerMatch 8 8 AllowOverride AuthConfig FileInfo Limit Options Indexes -
alternc/branches/stable-1.0/src/functions_hosting.sh
r3050 r3087 59 59 local user_letter=`print_user_letter "$USER"` 60 60 local DOCUMENT_ROOT="${HTML_HOME}/${user_letter}/${USER}/$TARGET_DIR" 61 local ACCOUNT_ROOT="${HTML_HOME}/${user_letter}/${USER}/" 61 62 local FILE_TARGET="$VHOST_DIR/${user_letter}/$USER/$FQDN.conf" 62 63 … … 87 88 -e "s#%%fqdn%%#$FQDN#g" \ 88 89 -e "s#%%document_root%%#$DOCUMENT_ROOT#g" \ 90 -e "s#%%account_root%%#$ACCOUNT_ROOT#g" \ 89 91 -e "s#%%redirect%%#$REDIRECT#g" \ 90 92 $TMP_FILE
Note: See TracChangeset
for help on using the changeset viewer.
