#!/usr/bin/perl
# index.cgi
# Display a list of all .htaccess files
require './htaccess-lib.pl';
&ui_print_header(undef, $text{'index_title'}, "", undef, 1, 1);
# Check if version info can be gotten from webmin
if (!$httpd_modules{'core'}) {
print "",&text('index_apache', "$config{'webmin_apache'}"),
"
\n";
&ui_print_footer("/", $text{'index'});
exit;
}
# Show known config files
print &text('index_desc', "$config{'htaccess'}"),"