| Last change
                  on this file since 2711 was
                  2638,
                  checked in by andersk, 11 years ago | 
        
          | vhostedit: Allow editing multiple vhosts simultaneously | 
        
          | 
              
                  Property svn:executable set to
                  * | 
        | File size:
            390 bytes | 
      
      
        
  | Rev | Line |  | 
|---|
| [1748] | 1 | #!/bin/sh | 
|---|
|  | 2 |  | 
|---|
|  | 3 | if [ ! "$1" ]; then | 
|---|
|  | 4 | echo "Usage: $0 <vhost>" | 
|---|
|  | 5 | exit 2 | 
|---|
|  | 6 | fi | 
|---|
|  | 7 |  | 
|---|
| [1749] | 8 | exec ldapvi --bind sasl -Y GSSAPI -h scripts5.mit.edu -b dc=scripts,dc=mit,dc=edu \ | 
|---|
| [2638] | 9 | "(|(&(objectClass=apacheConfig)(|$(printf '(apacheServerName=%s)' "$@")$(printf '(apacheServerAlias=%s)' "$@")))(&(objectClass=scriptsVhost)(|$(printf '(scriptsVhostName=%s)' "$@")$(printf '(scriptsVhostAlias=%s)' "$@"))))" | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.