Skip to content

Commit 3a95aaa

Browse files
authored
docs: .htaccess and lazy loaded routes (fix #2753) (#2755)
* docs: .htaccess and lazy loaded routes (fix #2753) On apache we need to add more configuration to handle lazy loaded routes. Updated docs in all available languages. * docs: updated .htaccess config with module check The .htaccess config now checks if the `mod_negotiation` module exists before trying to apply the MultiViews option. Updated for each available language.
1 parent dc6dffe commit 3a95aaa

File tree

6 files changed

+18
-0
lines changed

6 files changed

+18
-0
lines changed

Diff for: docs/fr/guide/essentials/history-mode.md

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ Ne vous inquiétez pas. Pour résoudre ce problème, il vous suffit d'ajouter un
2222
### Apache
2323

2424
```apache
25+
<IfModule mod_negotiation.c>
26+
Options -MultiViews
27+
</IfModule>
2528
<IfModule mod_rewrite.c>
2629
RewriteEngine On
2730
RewriteBase /

Diff for: docs/guide/essentials/history-mode.md

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ Not to worry: To fix the issue, all you need to do is add a simple catch-all fal
2424
#### Apache
2525

2626
```apache
27+
<IfModule mod_negotiation.c>
28+
Options -MultiViews
29+
</IfModule>
2730
<IfModule mod_rewrite.c>
2831
RewriteEngine On
2932
RewriteBase /

Diff for: docs/ja/guide/essentials/history-mode.md

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ history モードを使用する時は、URL は "普通" に見えます e.g. `
2424
#### Apache
2525

2626
```apache
27+
<IfModule mod_negotiation.c>
28+
Options -MultiViews
29+
</IfModule>
2730
<IfModule mod_rewrite.c>
2831
RewriteEngine On
2932
RewriteBase /

Diff for: docs/kr/guide/essentials/history-mode.md

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ const router = new VueRouter({
2222
#### Apache
2323

2424
```apache
25+
<IfModule mod_negotiation.c>
26+
Options -MultiViews
27+
</IfModule>
2528
<IfModule mod_rewrite.c>
2629
RewriteEngine On
2730
RewriteBase /

Diff for: docs/ru/guide/essentials/history-mode.md

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ const router = new VueRouter({
2424
#### Apache
2525

2626
```apache
27+
<IfModule mod_negotiation.c>
28+
Options -MultiViews
29+
</IfModule>
2730
<IfModule mod_rewrite.c>
2831
RewriteEngine On
2932
RewriteBase /

Diff for: docs/zh/guide/essentials/history-mode.md

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ const router = new VueRouter({
2424
#### Apache
2525

2626
```apache
27+
<IfModule mod_negotiation.c>
28+
Options -MultiViews
29+
</IfModule>
2730
<IfModule mod_rewrite.c>
2831
RewriteEngine On
2932
RewriteBase /

0 commit comments

Comments
 (0)