I'm a little confused.
By searching the forum I see different answer to my questions and in the documentation (for example: http://docs.cksource.com/CKFinder_2.x/D ... nd_baseDir) I can't find an answer to my question.
I dynamically put values to the nodes baseDir and baseUrl. The path to baseDir is an absolute path:
<baseDir>c:/mycustomerfolder/default_en/</baseDir>
Re: [Java] 'view' problem when baseDir point to a absolute p
baseURL - contains path that is relative to the domain.
If you have installed CKFinder in C:/tomcat/myapp/ckfinder and used in <baseURL> /myapp/ckfinder/
than this is the place where thumb/images/files folder will be searched for by browser.
baseDir - points to an absolute path to the directory on the server - c:/mycustomerfolder/default_en/
Read the link you have provided one more time - http://docs.cksource.com/CKFinder_2.x/D ... nd_baseDir and check out “Example 2: Incoherent Directory Paths” because this is what you are having.
To fix the problem -
set only baseURL or
in your baseDir set E.g. C:/tomcat/myapp/ckfinder so that it point to the same place as baseURL or
Leave it the way it is but you will have to write your own "redirect script" which will point your browser to the right place.
Re: [Java] 'view' problem when baseDir point to a absolute p
Solved the problem by implementing a servlet that handles the download on baseUrl "/foo/customer/"