Changeset 3169
- Timestamp:
- 06/12/12 19:05:51 (11 months ago)
- Location:
- alternc/trunk
- Files:
-
- 3 edited
-
bureau/class/m_dom.php (modified) (1 diff)
-
etc/alternc/templates/apache2/vhost.conf (modified) (1 diff)
-
src/functions_hosting.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
alternc/trunk/bureau/class/m_dom.php
r3150 r3169 409 409 mkdir($dest_root . "/". $domshort); 410 410 } 411 411 412 if (! is_dir($dest_root . "/tmp")) { 413 mkdir($dest_root . "/tmp"); 414 } 415 416 //on corrige les permissions 417 exec("sudo /usr/lib/alternc/fixperms.sh -u ".$uid); 418 412 419 // Creation des 3 sous-domaines par défaut : Vide, www et mail 413 420 $this->set_sub_domain($domain, '', $this->type_url, 'http://www.'.$domain); -
alternc/trunk/etc/alternc/templates/apache2/vhost.conf
r3106 r3169 6 6 <Directory "%%document_root%%"> 7 7 php_admin_value open_basedir "%%account_root%%:/usr/share/php/:/var/alternc/tmp:/tmp" 8 php_admin_value upload_tmp_dir %%document_root%%/tmp 8 9 Options +MultiViews -FollowSymLinks +SymLinksIfOwnerMatch 9 10 AllowOverride AuthConfig FileInfo Limit Options Indexes -
alternc/trunk/src/functions_hosting.sh
r3106 r3169 60 60 local G_ID=$(get_uid_by_name "$USER") 61 61 local user_letter=`print_user_letter "$USER"` 62 local DOCUMENT_ROOT="${HTML_HOME}/${user_letter}/${USER} /$TARGET_DIR"62 local DOCUMENT_ROOT="${HTML_HOME}/${user_letter}/${USER}$TARGET_DIR" 63 63 local ACCOUNT_ROOT="${HTML_HOME}/${user_letter}/${USER}/" 64 64 local FILE_TARGET="$VHOST_DIR/${user_letter}/$USER/$FQDN.conf"
Note: See TracChangeset
for help on using the changeset viewer.
