You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2020/09/07 10:40:16 UTC
[incubator-ponymail-foal] 02/02: Add some improvements to the httpd
config example
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
commit 1d6b3fb3c0daf28639312bf9ada45c6aad576ca4
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Mon Sep 7 12:40:01 2020 +0200
Add some improvements to the httpd config example
AcceptPathInfo for threads
MultiViews for shortening URLs
---
server/README.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/server/README.md b/server/README.md
index ebc8654..edce41f 100644
--- a/server/README.md
+++ b/server/README.md
@@ -45,9 +45,13 @@ An example Apache HTTPd configuration could be (for plain-text HTTP):
ServerName archives.example.com
ServerAdmin webmaster@localhost
DocumentRoot /var/www/foal/webui/
+ # PathInfo is needed for threads
+ AcceptPathInfo On
ProxyPass /api/ http://localhost:8080/api/
<Directory /var/www/foal/webui/>
Require all granted
+ # MultiViews means you can shorten threads to https://localhost/thread/blablabla
+ Options +MultiViews
</Directory>
</VirtualHost>
```