In the "Permissions (Nodes / File Uploads): What Would Be a Proper Way to Set This Up?" topic, I mentioned that:

I have Drupal in its own directory to make it easier to upgrade when new releases come out, and am using a "files" directory separate from its own to ensure certain files won't be deleted by mistake if I have to mess around with anything in Drupal's folder.

I managed to get the file system path to work, but ended up creating another problem:

In order to allow IMCE to recognize the other "files" directory (the one outside of Drupal's directory), I have had to set the file system path to ../files. When adding a link or image via TinyMCE, this causes its path to start with /../files/.

Unfortunately, these paths do not work properly in Internet Explorer 6 - images will show up as broken and links will lead to an "Error 400 / Bad Request" page. When viewing the properties of any link or image using that path, they show up with /../files/ in the address, instead of /files/.

The other browsers I have tested (Firefox, Internet Explorer 7 and Opera) are not affected by this - images and links will load properly and when viewing the properties of any link or image using that path, they show up with /files/ in the address.

Would it be possible, such as by editing an .htaccess file (or two - I have one in the root directory and one in Drupal's directory), to allow Drupal to use files (instead of ../files) for the file system path? If this could be done, manually removing the /.. part from paths added by TinyMCE would no longer be necessary.

Comments

Wolfey’s picture

(Bumping topic...)

Apologies for being impatient, but I'm wondering whether or not this is possible.