Someone just set up a directory for me on an Apache server where I will put my PHP application. This directory has an external path of
192.168.1.5/app and points to
My application references its files by means of URLs like
/img/logo.png, rather than
../img/logo.png or something similar. The problem I'm experiencing with this is that these URLs now point to
192.168.1.5/img/logo.png instead of
In IIS, to fix something like this, I would declare the app directory as an application, which would set the root URL to that directory. How do I do something similar in Apache (using this method or something else entirely)?