From: Fredrik Tolf Date: Mon, 13 Sep 2010 05:04:56 +0000 (+0200) Subject: Added some default configuration files. X-Git-Tag: 0.1~16 X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=commitdiff_plain;h=a93305567fc18edd18fe52ec64a29740b4ed2d88 Added some default configuration files. --- diff --git a/etc/ashd/apache-compat b/etc/ashd/apache-compat new file mode 100644 index 0000000..5d55f81 --- /dev/null +++ b/etc/ashd/apache-compat @@ -0,0 +1,3 @@ +match + default + fork sendfile diff --git a/etc/ashd/dirplex.d/cgi.rc b/etc/ashd/dirplex.d/cgi.rc new file mode 100644 index 0000000..a913518 --- /dev/null +++ b/etc/ashd/dirplex.d/cgi.rc @@ -0,0 +1,6 @@ +fchild stdcgi + exec callcgi + +match + filename *.cgi + handler stdcgi diff --git a/etc/ashd/dirplex.d/php.rc b/etc/ashd/dirplex.d/php.rc new file mode 100644 index 0000000..bf0ecbe --- /dev/null +++ b/etc/ashd/dirplex.d/php.rc @@ -0,0 +1,6 @@ +fchild php + exec callcgi -p php-cgi + +match + filename *.php + handler php diff --git a/etc/ashd/dirplex.d/send.rc b/etc/ashd/dirplex.d/send.rc new file mode 100644 index 0000000..5e00547 --- /dev/null +++ b/etc/ashd/dirplex.d/send.rc @@ -0,0 +1,17 @@ +match + filename *.html + fork sendfile -c text/html +match + filename *.css + fork sendfile -c text/css + +# Image types +match + filename *.gif + fork sendfile -c image/gif +match + filename *.png + fork sendfile -c image/png +match + filename *.jpg *.jpeg + fork sendfile -c image/jpeg diff --git a/etc/ashd/dirplex.rc b/etc/ashd/dirplex.rc new file mode 100644 index 0000000..9d46abd --- /dev/null +++ b/etc/ashd/dirplex.rc @@ -0,0 +1,3 @@ +include dirplex.d/*.rc + +index-file index