diff options
| author | bjorn <bjorn@bringert.net> | 2008-11-20 14:06:06 +0000 |
|---|---|---|
| committer | bjorn <bjorn@bringert.net> | 2008-11-20 14:06:06 +0000 |
| commit | b56a06fdda47e49faf35df0408282fabac0f3c78 (patch) | |
| tree | bd93b1d97caff298c17805b12d4b1168104b888c /src/server/lighttpd.conf | |
| parent | 61507730e85c2f35150d650e4cb2b7d00e99395c (diff) | |
gwt: rearragne html files and paths to get nicer URLs.
Diffstat (limited to 'src/server/lighttpd.conf')
| -rw-r--r-- | src/server/lighttpd.conf | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/server/lighttpd.conf b/src/server/lighttpd.conf index 2ecdeabe5..d6f001afc 100644 --- a/src/server/lighttpd.conf +++ b/src/server/lighttpd.conf @@ -1,4 +1,4 @@ -#Run with (with -D for no-daemon) +# Run with (with -D for no-daemon) # /usr/sbin/lighttpd -f lighttpd.conf -D # @@ -10,14 +10,11 @@ server.modules = ( ) var.basedir = var.CWD -server.document-root = basedir +server.document-root = basedir + "/gwt/www" -## where to send error-messages to server.errorlog = basedir + "/error.log" -# files to check for if .../ is requested -index-file.names = ( "index.php", "index.html", - "index.htm", "default.htm" ) +index-file.names = ( "index.html" ) ## set the event-handler (read the performance section in the manual) # server.event-handler = "freebsd-kqueue" # needed on OS X # Crashes on osx @@ -40,8 +37,12 @@ mimetype.assign = ( accesslog.filename = basedir + "/access.log" +debug.log-request-header = "disable" +debug.log-response-header = "disable" +debug.log-request-handling = "disable" + $HTTP["host"] =~ "^(.*)$" { - url.redirect = ( "^/$" => "http://%1/gwt/www/se.chalmers.cs.gf.gwt.TranslateApp/Translate.html" ) + url.redirect = ( "^/$" => "http://%1/translate/" ) } fastcgi.debug = 0 |
