Project:FCKeditor - WYSIWYG HTML editor
Version:6.x-1.4-rc2
Component:File browser support
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)
Issue tags:file browser, file upload outside root, file uploading, htaccess, rewrite, root installation, subfolder installation

Issue Summary

I have an interesting issue. I have a configuration that involves a drupal installation called /drupal in my public_html directory, and some rewrite rules in my htaccess file so that when someone goes to the domain of my site, they get the content from the /drupal directory. This works great in every respect except in one instance - when I upload a file, a new sites directory is created at the root level of my server instead of just uploading the file to the respective sites folder in the drupal installation. So I essentially have this:

public_html/drupal/sites/default/files/...
public_html/sites/default/files/...

When I browse for files (using IMCE), oddly enough, I am able to browse for the files in public_html/drupal/sites/default/files.

Is there something I can change in the code that would correct for this sort of installation?

Thanks in advance!

Comments

#1

Status:active» closed (fixed)

The files settings are dispersed over many places: Drupal has its settings, FCKeditor has settings and you need to configure your webserver. You could for instance try the private download method.

nobody click here