So I have a new tool installed on my webserver and it has a somewhat complicated folder structure, in order to get it to run, I put everything in a subdirectory and serve that as root of my domain.
The corresponding .conf
<VirtualHost *:80>
ServerName example.com
DocumentRoot /var/www/html/example/public
<Directory /var/www/html/example/public>
AllowOverride All
# Apache 2.2
Order Allow,Deny
Allow from All
# Apache 2.4
# Require all granted
FallbackResource /index.php
</Directory>
RewriteEngine on
RewriteCond %{SERVER_NAME} =example.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
But now other sites that were served fine before are 404ing on me (the error message comes from the fresh hosted site.
So /var/www/html/example2 requested per http(s)://example.com/example2 isn't showing up anymore.
I'm the first to admit I am not very knowledgeable about Apache Configs, but there must be a way to solve this, any help is kindly regarded.