BSVino/docs.gl — pull request #15 by baldurk (2014-11-08 22:01:32+00:00)
Title: Improve search and 404 behaviour with aliases

This should fulfill the suggestions in #14. It ended up being fairly simple, most of the data was already prepared, just waiting to be used. The 404 page is placed in each folder, /gl4/404, /gl3/404 etc. e.g. Apache config is just:

```

ForceType text/html
ErrorDocument 404 /gl4/404

ForceType text/html
ErrorDocument 404 /gl3/404

... etc
```

You can see it running on my test server http://docsgl.baldurk.org/ (I only just set it up today so you might need to force the DNS to 50.115.121.236 in your hosts file, or wait a bit for the DNS to propagate).