Changeset 2759 for trunk/server
- Timestamp:
- Feb 26, 2016, 6:08:08 AM (9 years ago)
- Location:
- trunk/server
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/common/oursrc/accountadm/signup-scripts-backend.in
r2735 r2759 135 135 gidNumber: $gid1 136 136 137 dn: apacheServerName=$username.scripts.mit.edu,ou=VirtualHosts,dc=scripts,dc=mit,dc=edu138 objectClass: apacheConfig139 apacheServerName: $username.scripts.mit.edu140 apacheServerAlias: $username.scripts141 apacheDocumentRoot: $homedir/web_scripts142 apacheSuexecUid: $uid1143 apacheSuexecGid: $gid1144 145 137 dn: scriptsVhostName=$username.scripts.mit.edu,ou=VirtualHosts,dc=scripts,dc=mit,dc=edu 146 138 objectClass: scriptsVhost -
trunk/server/common/oursrc/accountadm/vhostadd
r2735 r2759 42 42 43 43 cat <<EOF > "$tmpfile" 44 dn: apacheServerName=$host,ou=VirtualHosts,dc=scripts,dc=mit,dc=edu45 objectClass: apacheConfig46 objectClass: top47 apacheServerName: $host48 EOF49 50 if [ "${host%mit.edu}" != "$host" ]; then51 cat <<EOF >> "$tmpfile"52 apacheServerAlias: ${host%.mit.edu}53 EOF54 fi55 56 cat <<EOF >> "$tmpfile"57 apacheDocumentRoot: $docroot58 apacheSuexecUid: $uid59 apacheSuexecGid: $gid60 61 44 dn: scriptsVhostName=$host,ou=VirtualHosts,dc=scripts,dc=mit,dc=edu 62 45 objectClass: scriptsVhost -
trunk/server/common/oursrc/accountadm/vhostedit
r2638 r2759 6 6 fi 7 7 8 exec ldapvi -b dc=scripts,dc=mit,dc=edu "( |(&(objectClass=apacheConfig)(|$(printf '(apacheServerName=%s)' "$@")$(printf '(apacheServerAlias=%s)' "$@")))(&(objectClass=scriptsVhost)(|$(printf '(scriptsVhostName=%s)' "$@")$(printf '(scriptsVhostAlias=%s)' "$@"))))"8 exec ldapvi -b dc=scripts,dc=mit,dc=edu "(&(objectClass=scriptsVhost)(|$(printf '(scriptsVhostName=%s)' "$@")$(printf '(scriptsVhostAlias=%s)' "$@")))"
Note: See TracChangeset
for help on using the changeset viewer.