Last change
on this file since 2731 was
1749,
checked in by mitchb, 14 years ago
|
Fix vhostadd and vhostedit in the locker
They work particularly poorly when they point at a server that doesn't
exist.
|
-
Property svn:executable set to
*
|
File size:
322 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | if [ ! "$1" ]; then |
---|
4 | echo "Usage: $0 <vhost>" |
---|
5 | exit 2 |
---|
6 | fi |
---|
7 | |
---|
8 | exec ldapvi --bind sasl -Y GSSAPI -h scripts5.mit.edu -b dc=scripts,dc=mit,dc=edu \ |
---|
9 | "(|(&(objectClass=apacheConfig)(|(apacheServerName=$1)(apacheServerAlias=$1)))(&(objectClass=scriptsVhost)(|(scriptsVhostName=$1)(scriptsVhostAlias=$1))))" |
---|
Note: See
TracBrowser
for help on using the repository browser.