Setting up an IIPImage server under Windows:
Please Note: The code presented here is now quite old. It is still available for download if required, but it recomended that you make use of one of the newer IIPImage viewers for any new applications, see here or the IIPImage Demo and Links pages.
Download Files: To set up a working IIPImage server in windows XP you will need to download the following files:
  • Web Server: download the latest Version 2.0 Win32 Binary (MSI Installer) from the Apache download page. At the time of writing the required file was: apache_2.0.59-win32-x86-no_ssl.msi
  • IIPImage Server: download the latest windows installation file from the IIPImage website. At the time of writing the require file was: IIPImageServer-0.9.6_01.exe
  • National Gallery Javascript Viewer: get a zipped up copy of this website here.
Installing Software:
  • Install the Apache Web Server by double clicking on the downloaded file and accepting all of the default options.
  • Install the IIPImage Server by double clicking on the downloaded file and accepting all of the default options.
  • You will now need to add some line to your apache configoration file, this is mentioned in the iipimage README file, but here are the details:
    • Open up the config file: C:\Program Files\Apache Group\Apache2\conf\httpd.conf
    • Scroll down to the bottom of the file, the last line will be #</VirtualHost>.
    • Add a new line and then copy the following lines and paste them into the bottom of the httpd.conf file:
      
      #####################################################################
      #### Extra Lines which allow the IIPImage fast-cgi server to run ####
      #####################################################################
      
      LoadModule fastcgi_module modules/mod_fastcgi-SNAP-0404142202-AP2.dll
      
      
      <IfModule mod_fastcgi.c>
      	Alias /fcgi-bin/ "C:/fcgi-bin/"
      	<Directory "C:/fcgi-bin/">
      		SetHandler fastcgi-script
      		AllowOverride all
            		Allow from all
      		Order allow,deny
      		Options ExecCGI FollowSymLinks
      	</Directory>
      
      	AddHandler fastcgi-script .fcgi .fpl
      
      	FastCgiServer "C:/fcgi-bin/IIPImageServer.fcgi" -processes 5 \
      	-initial-env LOGFILE=C:/tmp/iipsrv.log \
      	-initial-env VERBOSITY=5
      
      </IfModule>
      
      ####################################################################
      
      
  • You now need to stop and start the apache server, if you are not sure how the easiest way is to reboot your computer.
  • Unpack the ng_iipimage.zip file to produce a folder called iipimage.
  • Move the iipimage into the your webservers root directory. If you followed all of the default settings during the Apache installation the root directory will be: C:\Program Files\Apache Group\Apache2\htdocs
Testing the system:
  • Open up your web browser, Internet Explorer, Firefox, etc
  • Enter the following address into the address bar: http://localhost/iipimage and then hit return.
  • Hopefully the web page should load showing you two images.
Further Information:
  • For further information and contact details for the people responsible for producing the software, used here, please contact Joseph Padfield, or go directly to either of the primary source webpages; IIPImage or Drag & Drop.