Skip to content

Commit

Permalink
docs: fix example apache configuration (#1427)
Browse files Browse the repository at this point in the history
  • Loading branch information
stsmdt authored May 31, 2022
1 parent 48c5616 commit 64261f9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/guide/essentials/history-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 /
Expand Down
4 changes: 4 additions & 0 deletions docs/zh/guide/essentials/history-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ const router = createRouter({
### Apache

```apacheconf
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
Expand Down

0 comments on commit 64261f9

Please sign in to comment.