FCKEditor for event description has problem with mod-rewrite
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SchoolTool |
Fix Released
|
Medium
|
Justas Sadzevičius | ||
1.4 |
Fix Released
|
Medium
|
Gediminas Paulauskas |
Bug Description
Technically this may be an upstream issue with zope/html/
For example: If you are using rewrite rules similar to this:
RewriteRule ^/schedule$ http://
RewriteRule ^/schedule/(.*+) http://
so that the SchoolTool application appears under www.example.
var oFCKeditor_
oFCKeditor_
oFCKeditor_
oFCKeditor_
The problem is the line with "/@@/fckeditor/". It will go around the rewrite rule and try to display content from the www.example.com site.
I was able to work around the problem by adding an additional rule:
RewriteRule ^/@@/(.*+) http://
Fortunately, my main site does not use "@@" in any URL's. If both sites were based on Zope3, this work around may not be feasible.
Maybe this should be a bug for Zope3 or maybe you would want to remember to add this to future deployment documentation.
Related branches
tags: | added: deployment |
Changed in schooltool: | |
status: | Confirmed → In Progress |
assignee: | Ignas Mikalajūnas (ignas) → Justas Sadzevičius (justas-pov) |
Changed in schooltool: | |
status: | In Progress → Fix Committed |
milestone: | none → next |
Changed in schooltool: | |
milestone: | next → 1.5.1 |
Changed in schooltool: | |
status: | Fix Committed → Fix Released |
It seems to be zope.html doing it wrong, though I am pretty sure we can fix it on our side too. I will look at it.