mohws-0.2.0.1: Modular Haskell Web ServerSource codeContentsIndex
Network.MoHWS.Part.AddSlash
Description
When we get a request for http:foo.com/bar, where bar is a directory and contains an index.html, we need to send back a redirect for http:foo.combar (i.e. add the final slash), otherwise relative links from index.html will be relative to http:foo.com/ instead of http:foo.combar. E.g. look at http:www.haskell.orghappy.
Documentation
data Configuration Source
desc :: C body => T body ConfigurationSource
Produced by Haddock version 2.4.2