summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README3
1 files changed, 2 insertions, 1 deletions
diff --git a/README b/README
index 4b58c4e..bb3af85 100644
--- a/README
+++ b/README
@@ -59,5 +59,6 @@ add the following to the virtualhost config:
Require all granted
</Directory>
AliasMatch "^/(js|img|styles)(.*)" "/var/www/rhrdweb/www/$1$2"
- AliasMatch "^(.*)" "/var/www/rhrdweb/www/index.html"
+ AliasMatch "^/([^.]+)(\.html)?$" "/srv/rhrdweb/rhrdweb/www/$1.html"
+ ErrorDocument 404 "/index.html"
~~~/snip~~~