Hey there, i described my problem in another thread and was asked to open a new thread with more information.
Well I'll start with my setup:
1.st Server with dynamic content using a django/python environment. mod_wsgi is used to serve python. In this setup the wsgi script sends each request over to a dedicated front-controller/dispatcher that resolves the request to a certain module.
2.nd static server works with php 5.26 +suhosin.
links:
mod_wsgi: http://code.google.com/p/modwsgi/
django: http://www.djangoproject.com/ ; django urls.py/redirect_to: http://docs.djangoproject.com/en/dev/ref/generic-views/
It is possible to server static media such as javascript within django - but this is only meant for development environments by using a built in static fIle server (which is NOT recommended!!) since static media should be provided by a cdn and it's also bad practice to use the production environment for this. Common reasons are: security, speed and reliabilty.
For CKFinder I used a redirect to my second server within django's urls.py which resolves requests to internal or external urls/views. This was not needed for CKEditor because with CKEditor.BasePath it was easy to set the editor to my second server.
Whilest deploying my development environment I seperated any static files to a seperate server. CKEditor is used for wysiwyg editing - and works perfectly. CKFinder instead won't work on Firefox showing a more or less blank page without any iframes but Safari does - it works with uploading but on both browsers selecting files and sending paths to ckeditor wont work.
ckfinders basepath and basedir are configured well - upload via safari works from within ckeditor.
When simply returning true on security check and entering the path of ckfinder.html leads to a good result on both, firefox and safari.
I would really appreciate help with this issue - i need to say that javascript is not my cup of tea... It's not that i dislike it - it's simply so that i studied this stuff 10 years ago when there was no js
Sorry for any bad english - since i'm not native english speaking i hope thats o.k
Tue, 01/05/2010 - 20:40
#1