I am using mod_rewrite to forward a user to its own folder based on username:
<Directory "${SITEROOT}/login">
AuthName "Restricted Area"
AuthType Basic
AuthUserFile xxxxxxx/.htpasswd
AuthGroupFile /dev/null
require valid-user
RewriteEngine On
RewriteCond %{REQUEST_URI} !/users/.+/
RewriteCond %{REMOTE_USER} (.+)
RewriteRule (.*) /users/%1/$1 [L]
</Directory>
Every user has his own index.html and basically loads his own website from that directory.
I want to have one common directory for all users where I can put fonts, images and so on. If I create a dir outside the user-folder I get CORS (origin) errors.
How can I have a common folder for all users?