Use plantUML Online Server on own Apache

0 votes
asked Jul 29, 2014 in Bug by cm2291 (160 points)
Hey plantUML Team!

I succesfully installed your plantUML Online Server with Graphviz on my own Apache Server and it's running great. Then I changed inside plantuml_jquery.js the <img src=""> from your side, to the url of my plantUML Online Server so I can use it without needing yours. But unfortanely my uml images can not be loaded, am I missing something?

Thanks in advance,

cm2291

1 Answer

0 votes
answered Jul 29, 2014 by plantuml (295,000 points)
It's difficult to answer, but you don't seem to miss anything.

Are you sure that pages that uses http://plantuml.com server are working on your examples ?

Are you doing your tests on web hosted pages ? (and no on local html page from your PC?)

Did you add an error while editing the plantuml_jquery.js file ?

Theorically, it should work.

Tell us about your testing!
commented Jul 30, 2014 by cm2291 (160 points)
My html/php pages are also located on my apache server. If I copy paste the page's uml source code into the input field of my plantUML Server everything works out great.
I don't think, that I made an error while editing the plantuml_jquery.js file, I changed its source to exacty the url of my plantUML Server, including the port, where it runs.
I am going to test it more out.
Thanks,
cm2291
commented Jul 30, 2014 by plantuml (295,000 points)
Note that you should also add rawdeflate.js to your server. This script is implicitely called by plantuml_jquery.js (see http://plantuml.sourceforge.net/qa/?qa=141/better-jquery-integration )
Also, does your server has a DNS ? Sometimes using raw IP address does not work.
commented Jul 31, 2014 by cm2291 (160 points)
edited Jul 31, 2014 by cm2291
I already fixed it, I just forgot to add img/ after ipaddress:port/plantuml. Now it's working, thanks for your help, btw, your support is great, thanks for that! :)
...