Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2006-02-28 11:00:26

yossipelleg
New member
Registered: 2006-02-28
Posts: 1

only external URLs (http://..) work, not internal paths (/home/....)

In the examples it is recommended that in the calling HTML page one should use full paths for directing to the editor files and to htmlarea.js. 
However for me this doesn't work.
Only when in the calling page I enter a full external internet URL  (http://mydomain.org/.....etc) for both paths to _editor_url and to htmlarea.js does the editor show up on the web page.
When I enter the full internal path (/home/myname/xinha....etc) nothing happans.
Yes, I am certain I use the right path, I also use it for other applications and they work fine.

Anyone knows what happens here. It is really important because in some more complicated setups (like calling Xinha from within a Perl script) it is really necassary to use a full internal path.

Thanks,
Pelleg

Offline

#2 2006-03-01 19:39:21

ray
Xinha Administrator
From: Germany
Registered: 2005-03-23
Posts: 521
Website

Re: only external URLs (http://..) work, not internal paths (/home/....)

You have to use the absolute path from your server root, not the full filesystem path (i.e. inyour example /.....etc). The browser that executes the javascript does not know your filesystem!

Offline

Board footer

Powered by FluxBB