Ignore:
Timestamp:
Feb 26, 2016, 6:08:08 AM (6 years ago)
Author:
andersk
Message:
Remove all remaining traces of apacheConfig records
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/locker/sbin/vhostadd

    r2735 r2759  
    4242
    4343cat <<EOF > "$tmpfile"
    44 dn: apacheServerName=$host,ou=VirtualHosts,dc=scripts,dc=mit,dc=edu
    45 objectClass: apacheConfig
    46 objectClass: top
    47 apacheServerName: $host
    48 EOF
    49 
    50 if [ "${host%mit.edu}" != "$host" ]; then
    51     cat <<EOF >> "$tmpfile"
    52 apacheServerAlias: ${host%.mit.edu}
    53 EOF
    54 fi
    55 
    56 cat <<EOF >> "$tmpfile"
    57 apacheDocumentRoot: $docroot
    58 apacheSuexecUid: $uid
    59 apacheSuexecGid: $gid
    60 
    6144dn: scriptsVhostName=$host,ou=VirtualHosts,dc=scripts,dc=mit,dc=edu
    6245objectClass: scriptsVhost
Note: See TracChangeset for help on using the changeset viewer.