Docs: Updates to History Mode for Apache w/ subfolder #3066
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reason
I had issues getting this to work with the examples in the doc as currently written. It wasn't until I found this answer on Stack Overflow where things became clear. Admittedly, I'm not well versed in Apache, but I figured these amendments might better serve others in the future. Per the Stack Overflow answer it seems there was a related Vue Forum discussion which tells me the scenario is not uncommon.
What changed?
I added a few specifics to the Apache example in
history-mode.md
and removed the trailing/
in theRewriteBase
example for subfolders. These adjustments mirror how I was able to get my application working when building to a different base path and deploying to Apache.