source: trunk/locker/sbin/vhosteditat @ 2818

Last change on this file since 2818 was 2817, checked in by achernya, 7 years ago
Copy from wrong branch to get to trunk
  • Property svn:executable set to *
  • Property svn:mergeinfo set to (toggle deleted branches)
    /trunk/locker/sbin/vhosteditatmergedeligible
    /branches/fc11-dev/locker/sbin/vhosteditat1121-1258
    /branches/fc13-dev/locker/sbin/vhosteditat1613-1692
    /branches/fc15-dev/locker/sbin/vhosteditat1803-2065
    /branches/fc17-dev/locker/sbin/vhosteditat2081-2245
    /branches/fc19-dev/locker/sbin/vhosteditat2523-2527
    /branches/locker-dev/locker/sbin/vhosteditat1221-2149,​2259-2281,​2284-2285,​2309,​2311,​2314,​2369,​2380
File size: 308 bytes
Line 
1#!/bin/sh
2
3if [ ! "$2" ]; then
4    echo "Usage: $0 <vhost>"
5    exit 2
6fi
7
8exec 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.