User Tools

Site Tools


howto:preview_fits_images_with_rts2-xmlrpcd

This is an old revision of the document!


Prerequisites

  • Update your RTS2 source tree to the latest revision (e.g. 6216).
  • Add to your rts2.ini the lines
 [xmlrpcd]
 page_prefix=
  • If not existent create in the root directory / of your system the directory named /images.
  • Copy an example FITS file, preferably created with RTS2, to /images.
  • Connect to the postgres database and add a username, password to the table users, e.g.
  insert into users values ('USERNAME', 'SECRETPASSWORD', NULL, 'name@example.com', 1);

(Pre-)view the FITS images

The preview seen in the browser.

Security

rts2-xmlrpcd maps a browser request, e.g. http://your.system.tld::8889/preview/ to the root directory / trying to display all but only files with the extension .fits. That implies that the directory structure of the system and all FITS images therein are exposed to public view.

howto/preview_fits_images_with_rts2-xmlrpcd.1251646644.txt.gz · Last modified: 2009/08/30 00:00 (external edit)