Tomcat Connector problem ... with tiny_mce Javascript editor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2012 01:00 PM
I have configured Alfresco to use Apache using the Tomcat Connector. This is because I wanted to use SSL through the webserver (with a legitimate certificate).
Everything works fine EXCEPT if I try to use the inline editor (say editing a Wiki page or creating HTML content) The editor comes up and I can type but if I try to insert an image, create a table (or change a table property) I receive an error message ….
What am I missing in the connector that is causing this anomaly ?
workers.property is …
Michael
Everything works fine EXCEPT if I try to use the inline editor (say editing a Wiki page or creating HTML content) The editor comes up and I can type but if I try to insert an image, create a table (or change a table property) I receive an error message ….
Not FoundThe requested URL /share/res/modules/editors/tiny_mce/plugins/table/table.htm was not found on this server.
I can try the URL … https://foobar.com/share/res/modules/editors/tiny_mce/plugins/table/table.htm and sure enough I can't access the file but if I try https://foobar.com:8443/share/res/modules/editors/tiny_mce/plugins/table/table.htm there is no problem.What am I missing in the connector that is causing this anomaly ?
workers.property is …
worker.list=tomcatworker.tomcat.port=8009worker.tomcat.host=localhostworker.tomcat.type=ajp13worker.tomcat.lbfactor=1
and my apache conf has …JkMount /share/* tomcatJkMount /share tomcatJkMount /alfresco tomcatJkMount /alfresco/* tomcat
Michael
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2012 12:03 PM
A really kludgy workaround is to serve these files statically from Apache
This directive (after the JkMount commands tells Apache not to use the Tomcat connector (and serve the files statically from Apache)
Another way to achieve the same end is to Alias the files in Apache
This directive (after the JkMount commands tells Apache not to use the Tomcat connector (and serve the files statically from Apache)
JkUnMount /share/res/modules/editors/tiny_mce/* tomcat
You then make a directory tree to mimic the file system in Tomcat (for tiny_mce)share/res/modules/editors/tiny_mce
cp -a ~/alfresco-4.0.c/tomcat/webapps/share/modules/editors/tiny_mce /my/apache/www-root/share/res/modules/editors
Another way to achieve the same end is to Alias the files in Apache
AliasMatch ^/share/res/modules/editors/tiny_mce/(.*) /var/home/whoever/alfresco-4.0.c/tomcat/webapps/share/modules/editors/tiny_mce/$1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2012 02:00 PM
Actually aliasing the URL that includes the "res" directory works…
The "res" directory doesn't exist and must be a "virtual" directory in generated by Tomcat. The Tomcat Connector does not seem to handle this case…
AliasMatch ^/share/res/modules/editors/tiny_mce/(.*) /share/modules/editors/tiny_mce/$1
The "res" directory doesn't exist and must be a "virtual" directory in generated by Tomcat. The Tomcat Connector does not seem to handle this case…
