Changeset 2759 for trunk/server


Ignore:
Timestamp:
Feb 26, 2016, 6:08:08 AM (7 years ago)
Author:
andersk
Message:
Remove all remaining traces of apacheConfig records
Location:
trunk/server
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/common/oursrc/accountadm/signup-scripts-backend.in

    r2735 r2759  
    135135gidNumber: $gid1
    136136
    137 dn: apacheServerName=$username.scripts.mit.edu,ou=VirtualHosts,dc=scripts,dc=mit,dc=edu
    138 objectClass: apacheConfig
    139 apacheServerName: $username.scripts.mit.edu
    140 apacheServerAlias: $username.scripts
    141 apacheDocumentRoot: $homedir/web_scripts
    142 apacheSuexecUid: $uid1
    143 apacheSuexecGid: $gid1
    144 
    145137dn: scriptsVhostName=$username.scripts.mit.edu,ou=VirtualHosts,dc=scripts,dc=mit,dc=edu
    146138objectClass: scriptsVhost
  • trunk/server/common/oursrc/accountadm/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
  • trunk/server/common/oursrc/accountadm/vhostedit

    r2638 r2759  
    66fi
    77
    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)' "$@"))))"
     8exec 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.