summaryrefslogtreecommitdiffstats
path: root/httpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'httpd.conf')
-rw-r--r--httpd.conf22
1 files changed, 22 insertions, 0 deletions
diff --git a/httpd.conf b/httpd.conf
new file mode 100644
index 0000000..c02b4f0
--- /dev/null
+++ b/httpd.conf
@@ -0,0 +1,22 @@
+server "rgoncalves.se" {
+ listen on * port 80
+ root "/htdocs/rgoncalves.se"
+
+ location "/public/*" {
+ directory auto index
+ }
+
+ location "/semester_*/*" {
+ directory auto index
+ }
+}
+
+types {
+ text/css css
+ text/html html htm
+ text/plain txt pgp
+ image/gif gif
+ image/jpeg jpeg jpg
+ image/png png
+}
+
remember that computers suck.