I dont really know how to search for this issue I am having. I have to deploy a CMS to a subfolder of a domain for a school project: www.domain.de/new Problem is, that the CMS references all files using absolute paths, so the path for the css for example is "www.domain.de/styles/file.css" instead of "www.domain.de/new/styles/file.css"
For this Problem our advisor told us he had an htaccess-file for this exact problem. It contained
RewriteEngine On
RewriteBase /new/
It did not do anything (as far as we can tell) and I was not really suprised. Please tell me if I am wrong, but I thought htaccess-files will just be "executed" it you enter the folder they are in, so to have a rewrite that will affect the absolute paths we have to place the htaccess-file in the root folde? Which we can't.
The only solution I can think of is using a subdomain to access the folder (something like new.domain.de) pointing to our new-directory.
Greetings Neokil