From 1f6aff0c2c3abb4b6f57d0bdcf3c53955bc898ab Mon Sep 17 00:00:00 2001 From: Simon Hayden Date: Thu, 14 Jan 2021 13:01:18 +0000 Subject: [PATCH] Update history-mode.md 'RewriteRule' path needs to be modified as well as 'RewriteBase' path when using a subfolder in Apache --- docs/guide/essentials/history-mode.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/essentials/history-mode.md b/docs/guide/essentials/history-mode.md index 2b2c50686..02a7187bb 100644 --- a/docs/guide/essentials/history-mode.md +++ b/docs/guide/essentials/history-mode.md @@ -19,7 +19,7 @@ Not to worry: To fix the issue, all you need to do is add a simple catch-all fal ## Example Server Configurations -**Note**: The following examples assume you are serving your app from the root folder. If you deploy to a subfolder, you should use [the `publicPath` option of Vue CLI](https://cli.vuejs.org/config/#publicpath) and the related [`base` property of the router](https://router.vuejs.org/api/#base). You also need to adjust the examples below to use the subfolder instead of the root folder (e.g. replacing `RewriteBase /` with `RewriteBase /name-of-your-subfolder/`). +**Note**: The following examples assume you are serving your app from the root folder. If you deploy to a subfolder, you should use [the `publicPath` option of Vue CLI](https://cli.vuejs.org/config/#publicpath) and the related [`base` property of the router](https://router.vuejs.org/api/#base). You also need to adjust the examples below to use the subfolder instead of the root folder (e.g. replacing `RewriteBase /` with `RewriteBase /name-of-your-subfolder/` and `RewriteRule . /index.html [L]` with `RewriteRule . /name-of-your-subfolder/index.html [L]` #### Apache