By raindrop on
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
nope
Relative links are basically un-supportable in a CMS like this.
if your page is
node/7and has an alias ofmypageand its teaser is displayed ontaxonomy/term/2then 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.htmlinstead.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.
.dan. is the New Zealand Drupal Developer working on Government Web Standards