Answer the question
In order to leave comments, you need to log in
The server must return the same file to the nested path. How to do?
Good evening!
Helped with a question about using Vue router in a nested route
However, I did not understand (I do not know how to do) the phrase:
the server, in turn, should always return index.html to :/dash/vue/**/*
ErrorDocument 404 /404.php
RewriteEngine Off
RewriteCond %{SERVER_PORT} !^443$
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^.]+)$ $1.php [NC,L]
RewriteRule ^article/([a-zA-Z0-9_]+)/? article.php?index=$1 [QSA,L]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question