summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbringert <bringert@cs.chalmers.se>2008-10-29 14:45:15 +0000
committerbringert <bringert@cs.chalmers.se>2008-10-29 14:45:15 +0000
commit9fab68709cd218530157ffbb8d072b22e368b9ff (patch)
treebf30098cf1112c469a0cbd7c19610451fc79d628 /src
parent553d3234953cfe742b505e0c8cd6f699aea603b3 (diff)
Some lighttpd config fixes for the gwt translator.
Diffstat (limited to 'src')
-rw-r--r--src/server/Makefile2
-rw-r--r--src/server/lighttpd.conf8
2 files changed, 8 insertions, 2 deletions
diff --git a/src/server/Makefile b/src/server/Makefile
index 34ca24143..5bc415f07 100644
--- a/src/server/Makefile
+++ b/src/server/Makefile
@@ -42,7 +42,7 @@ test.pgf: LangEng-parse.pgf LangGer-parse.pgf
run: pgf.fcgi
@echo '*********************************************'
- @echo 'See http://localhost:41296/gwt/www/se.chalmers.cs.gf.gwt.TranslateApp/Translate.html'
+ @echo 'See http://localhost:41296/'
@echo '*********************************************'
lighttpd -f lighttpd.conf -D
diff --git a/src/server/lighttpd.conf b/src/server/lighttpd.conf
index e93e63692..58aa1a79e 100644
--- a/src/server/lighttpd.conf
+++ b/src/server/lighttpd.conf
@@ -5,7 +5,9 @@
server.modules = (
"mod_access",
"mod_fastcgi",
- "mod_accesslog" )
+ "mod_accesslog",
+ "mod_redirect"
+ )
var.basedir = var.CWD
server.document-root = basedir
@@ -38,6 +40,10 @@ mimetype.assign = (
accesslog.filename = basedir + "/access.log"
+$HTTP["host"] =~ "^(.*)$" {
+ url.redirect = ( "^/$" => "http://%1/gwt/www/se.chalmers.cs.gf.gwt.TranslateApp/Translate.html" )
+}
+
fastcgi.debug = 0
fastcgi.server = ( "/pgf" =>
((