Changeset 2759 for trunk/server/common/oursrc/accountadm/vhostadd
- Timestamp:
- Feb 26, 2016, 6:08:08 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.