1๐
โ
I find that if I add directly a .htacess on my Tiffauges folder my problem is solved.
The .htacess is like that:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /Tiffauges/
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /Tiffauges/index.html [L]
</IfModule>
The reason is that I need to configure my server to redirect all requests to my index.html file so that my vue router can handle the routing on the client-side. This .htaccess file will redirect all requests to /Tiffauges/index.html, allowing the router to handle the routing.
๐คLauriane
Source:stackexchange.com