Last change
on this file since 2818 was
2816,
checked in by achernya, 8 years ago
|
Variation of vhostedit that takes a server as argument
Useful ever since we switched to the LDAP cluster.
|
-
Property svn:executable set to
*
|
File size:
308 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | if [ ! "$2" ]; then |
---|
4 | echo "Usage: $0 <vhost>" |
---|
5 | exit 2 |
---|
6 | fi |
---|
7 | |
---|
8 | exec ldapvi --bind sasl -Y GSSAPI -h $1 -b dc=scripts,dc=mit,dc=edu \ |
---|
9 | "(|(&(objectClass=apacheConfig)(|(apacheServerName=$2)(apacheServerAlias=$2)))(&(objectClass=scriptsVhost)(|(scriptsVhostName=$2)(scriptsVhostAlias=$2))))" |
---|
Note: See
TracBrowser
for help on using the repository browser.