I had a better solution for this issue.

The reason of this issue is that the handler used in Trac can support
"symbolic link", but Apache can. Unfortunately, the file jquery.js which
trac-wysiwyg required is a symbolic file stored in
/usr/share/pyshared/trac/htdocs/js. If we can serve static resources of
<project_url>/chrome/common/* by Apache, the trac-wysiwyg plugin will
works.

Add following lines to Apache configuration file:

AliasMatch /projects/[^/]+/chrome/common/(.+)
/usr/share/pyshared/trac/htdocs/$1

<Directory /usr/share/pyshared/trac/htdocs>
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

This fix also works on multiple-project trac site.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/683204

Title:
  trac-wysiwyg plugin doesn't show

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to