check for document_root

This commit is contained in:
John Bintz 2010-05-12 18:10:19 -04:00
parent 30c925a4f1
commit 136b34cef7

View File

@ -113,5 +113,11 @@ module Apache
opts.each { |o| server_alias o } if !opts.empty? opts.each { |o| server_alias o } if !opts.empty?
end end
end end
def document_root(*opts)
directory? opts.first
self << "DocumentRoot #{quoteize(opts.first)}"
end
alias :document_root! :document_root
end end
end end