# Screws - perl scripts - configuration file

$debug=0; # Closes stderr

# Files
$mimetypes="mime.types";
#@indexes=( "index.hsml", "index.html" );
@indexes=( "index.pl.html", "index.xml", "index.x", "index.html", 
			"index.hsml" , "index.php" );

#@forbidden=("/^\..*"); # Dot Files are forbidden
@forbidden=("kkkkkkkkk");

# HSML
$hsml_enable=1;
$hsml=`whereis hsml`;
if ($hsml eq "")
{
$hsml="../../Hsml/hsml";
$hsml_flags="-I ../../Hsml/hsml-inc/";
}

# PHP
$php_enable=1;
$php="/usr/bin/php4 -q";

# cross-dir cgi-bin
$x_enable=1;

# Code HighLighting
$code_enable=1;
@code_ext = ("c","cpp","java","pl","cs","py","asm","s");
$code_prg="/usr/pkg/bin/code2html";

# XSLT
$xslt_enable=1;
$xslt_prg="/usr/bin/xsltproc --stringparam TOPDIR . ";
$xslt_prg.="./htdocs/example.xslt/xtraeme.xsl";

# Directories
if ( $ENV{"WWWROOT"} eq "" )
{ $htdocs="./htdocs/"; } else
{ $htdocs=$ENV{"WWWROOT"}; }
#$htdocs="/var/www/";
$noupdir=1;

# Configuration is done :)
return 1;
