Welcome Guest, Not a member yet? Register   Sign In
Access to the javascript directory with TinyMCE javascript while using mod rewrite
#1

[eluser]adaykin[/eluser]
I'm using the TinyMCE program to bulid editors, but when I try and use their image plugin, I get an error. The javascript is trying to get the root url, but it can't because of mod_rewrite. The documentBaseURI from the TinyMCE is what gets broken I believe.

I have the directory setup as follows:

askmary/
public/js/TinyMCE/A bunch of tiny mce stuff/
system/

Using mod_rewrite I have the following rules:

Code:
RewriteEngine On
RewriteBase /askmary/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|public)
RewriteRule ^(.*)$ index.php/$1 [L]

How would I change these rules so tiny mce can do its magic?




Theme © iAndrew 2016 - Forum software by © MyBB