I've been trying to deploy a sveltekit app on my vps but it's not really working the home page is showing but when going on other url e.g http://weather.app.julesthibault.fr/test it's showing an apache error what did I do wrong ? This is the repository that I'm using : https://github.com/Julestblt/svelte-weather-app and this is my apache configuration :
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName weather.app.julesthibault.fr
ServerAlias weather.app.julesthibault.fr
DocumentRoot /var/www/svelte-weather-app/build/
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =julesthibault.fr
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>