Is it possible to reference a file outside of a drupal installation?

Typically example.com/drupal where the file is in the root path of example.com

or is it "by design" that it is not permitted.

Any help would be awesome.

Regards

Comments

dman’s picture

Relative links are basically un-supportable in a CMS like this.
if your page is node/7 and has an alias of mypage and its teaser is displayed on taxonomy/term/2 then the path ../ means 3 different things when rendered in HTML.

So, it's not gonna work. Unless serious rewriting is done.

So use root-relative links beginning with / - relative to the root of the server - instead.

If you are in /drupal/node/7 and you want to link to ../../other/page.html, link to /other/page.html instead.
You'll learn a lot by looking at the actual message displayed by the 404 errors while you are figuring out the URL resolution rules.