Root Folder and wildcard subdomains

Hi - I have a question regarding what OwnCloud does in the background. So I have a subdomain user1.mydomain.com which is a wildcard. I have a .htaccess which rewrites it to user1.mydomain.com/**user1** but transparent. It is working in the background. So I can access the system, but I get an error in the middle of the screen: Internal Server Error.

So when I check the source I see that it is loading all the css files and js files from user1.mydomain.com/**user1** instead of user1.mydomain.com. YET I can access those files from both url's.

So I am assuming the error is funny because the ajax calls or php includes the folder when in fact it shouldn't???

Hi,

in this case ownCloud does nothing. Its the job of your webserver to serve ownCloud properly and on the domains and subdomains you're expecting.