Changeset 2735 for trunk/locker
- Timestamp:
 - Nov 9, 2015, 5:51:05 PM (10 years ago)
 - File:
 - 
          
- 1 edited
 
- 
          trunk/locker/sbin/vhostadd (modified) (3 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
trunk/locker/sbin/vhostadd
r1901 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.
      