Changeset 2735 for trunk/server/common
- Timestamp:
- Nov 9, 2015, 5:51:05 PM (9 years ago)
- Location:
- trunk/server/common/oursrc/accountadm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/common/oursrc/accountadm/signup-scripts-backend.in
r2575 r2735 148 148 scriptsVhostAlias: $username.scripts 149 149 scriptsVhostAccount: uid=$username,ou=People,dc=scripts,dc=mit,dc=edu 150 scriptsVhostDirectory: 150 scriptsVhostDirectory: . 151 151 152 152 EOF -
trunk/server/common/oursrc/accountadm/vhostadd
r892 r2735 33 33 printf "Docroot: $home/web_scripts" >&2 34 34 read subdir 35 subdir=${subdir%/} 36 docroot=$home/web_scripts$subdir 37 path=${subdir#/} 38 path=${path:-.} 35 39 36 40 tmpfile=$(mktemp -t vhostadd.XXXXXX) || exit $? … … 51 55 52 56 cat <<EOF >> "$tmpfile" 53 apacheDocumentRoot: $ home/web_scripts$subdir57 apacheDocumentRoot: $docroot 54 58 apacheSuexecUid: $uid 55 59 apacheSuexecGid: $gid … … 69 73 cat <<EOF >> "$tmpfile" 70 74 scriptsVhostAccount: $user_dn 71 scriptsVhostDirectory: $ {subdir#/}75 scriptsVhostDirectory: $path 72 76 EOF 73 77
Note: See TracChangeset
for help on using the changeset viewer.