]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: fix example apache configuration (#1427)
authorSteffen Schmidt <43960349+Brombeersaft@users.noreply.github.com>
Tue, 31 May 2022 09:27:18 +0000 (11:27 +0200)
committerGitHub <noreply@github.com>
Tue, 31 May 2022 09:27:18 +0000 (11:27 +0200)
docs/guide/essentials/history-mode.md
docs/zh/guide/essentials/history-mode.md

index bbed3c8ba9de82aaaa182fd0dfc31cb45743c99f..3200bd14d2c27a6b2a0f1196c15e1e73f4da7fd3 100644 (file)
@@ -69,6 +69,10 @@ While it's not recommended, you can use this mode inside Browser applications bu
 ### Apache
 
 ```apacheconf
+<IfModule mod_negotiation.c>
+  Options -MultiViews
+</IfModule>
+
 <IfModule mod_rewrite.c>
   RewriteEngine On
   RewriteBase /
index 70bc34ffcf047cc128b65ef737536e3acf87bf4b..857ef1b94ff7c473374a8919c7bfe8910165a2c3 100644 (file)
@@ -52,6 +52,10 @@ const router = createRouter({
 ### Apache
 
 ```apacheconf
+<IfModule mod_negotiation.c>
+  Options -MultiViews
+</IfModule>
+
 <IfModule mod_rewrite.c>
   RewriteEngine On
   RewriteBase /