I have drupal in a subdirectory named 'drupal'. i've set the base_url in settings.php and added a new .htaccess file in root based on the instructions here #144643: Drupal installed in subdirectory but made to appear in root. everything worked fine, except fckeditor.

prior to redirecting, fckeditor worked. after redirect, it doesn't. the correct content briefly loads as plain-text (see attached screenshot); a moment later it's replaced with an image of the site header and a 'page not found' message (see attached).

I've read several issues regarding setting a fckeditor base path, but they don't seem to apply to this version. what have i missed?

thanks!

CommentFileSizeAuthor
fckeditor_screenshot2.jpg66.68 KBmhals
fckeditor_screenshot1.jpg99.57 KBmhals

Comments

jorrit’s picture

Could you send me a message with the url, the base_url you're setting and login details to an account that allows reproducing this issue.

mhals’s picture

Status: Active » Closed (fixed)

Jorrit suggested I revise the rewrite settings in the root .htaccess from:

# files
RewriteCond %{REQUEST_URI} ^.*\.(jpg|jpeg|gif|png|css|js|pl|txt|php)$
RewriteCond %{REQUEST_URI} !^/drupal
RewriteRule ^(.*)$ drupal/$1 [L,QSA]

to:

# files
RewriteCond %{REQUEST_URI} ^.*\.(jpg|jpeg|gif|png|css|js|pl|txt|php|html|xml)$
RewriteCond %{REQUEST_URI} !^/drupal
RewriteRule ^(.*)$ drupal/$1 [L,QSA]

that allowed fckeditor to load properly.

thanks Jorrit!