IIPImage 0.9.8 Server Release

Server No Comments

Release of version 0.9.8 of the IIPImage server. This release contains some important security fixes and enhancements, improvements in performance and several new features. Notably, image export via the CVT command to arbitrary pixel sizes and support for both the Zoomify and DeepZoom protocols, allowing IIPImage to be used with several 3rd party clients. In addition there is image timestamping, improved HTTP header support and numerous bug fixes. Zoomify and DeepZoom support was carried out thanks to an R&D grant for the Old Maps Online project from the Ministry of Culture of the Czech Republic.

All users are advised to upgrade.

How-to install IIPImageServer on your Windows computer using Apache 2.2 in 11 easy steps!

Server No Comments

[Cross posted from Denis's Blog]

This is a small tutorial about how to install IIPImageServer on a Windows machine running Apache 2.2

This tutorial is intended for person with a minimum knowledge of configuration files and with a Windows server ;)

1) Download Apache 2.2.4 from ApacheLounge.com. We want to use version 2.2.4 because mod_fcgid have some problems with the latest (2.2.6) version. A last minute update of today says last version works now, but I still have not tryed.

2) Install Apache 2.2.4 using the simple installer and test it, if everything is ok and you get your first page, it works ;)

3) Now download mod_fcgid (always thanks to ApacheLounge.com) and unzip it on your computer.

4) Copy mod_fcgid.so (file provided by mod_fcgid-2.2-w32.zip) into your apache/modules folder (normally in C:\Program Files\Apache Software Foundation\Apache2.2\modules) .

5) Install the Visual C++ 2005 SP1 Redistributable Package (the binary is build with VC 2005 SP1)

- Download and install, if you not done it already, from the original Microsoft website.

6) Open your httpd.conf file (normally in C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf) and add that line somewhere at the beginning (close to the similar one):

# Load mod_fcgid
LoadModule fcgid_module modules/mod_fcgid.so

7) Download IIPImageServer and unzip it in a folder (like C:\Program Files\Apache Software Foundation\Apache2.2\fcgi-bin to do things more easier) .

8 ) Open your preferred editor and create a file called httpd-iipimage.conf in the C:\Program Files\Apache Software Foundation\Apache2.2\conf\extra directory and cut and paste this content:

# Settings for user home directories
#
# Required module: mod_fcgid
# Create a directory for the iipsrv binary
ScriptAlias /fcgi-bin/ "C:/Program Files/Apache Software Foundation/Apache2.2/fcgi-bin/"
# Set the options on that directory
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/fcgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
# Set the module handler
AddHandler fcgid-script .fcgi
</Directory>
# Set our environment variables for the IIP server
DefaultInitEnv VERBOSITY "0"
DefaultInitEnv LOGFILE "c:/windows/temp/IIPImageServer.log"
DefaultInitEnv MAX_IMAGE_CACHE_SIZE "10"
DefaultInitEnv JPEG_QUALITY "50"
DefaultInitEnv MAX_CVT "3000"
# Define the idle timeout as unlimited and the number of processes we want
IdleTimeout -1

save and close it.

9) Open (again) your httpd.conf file (normally in C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf) and add these lines at the end:

<IfModule fcgid_module>
# IIPImageServer configuration directory
Include conf/extra/httpd-iipimage.conf
</IfModule>

10) Here we are! Open your preferred browser and go to http://127.0.0.1/fcgi-bin/IIPImageServer.fcgi

11) Refer to the IIPImage website to set the client and the image format!

Now everything should work, if I’ve not forget something crucial! Send me your comments and I’ll correct the howto.

Enjoy IIPImage and don’t forget that you can contribute to the development with donations or with code!

IIS Support

IIS, Server No Comments

IIPImage server can also now run with IIS Internet Information Service (>5.1)! See the server section and this HowTo.

[Cross posted from Denis's blog]

In this HowTo I will explain what are the (easy, thanks IIS developers!) steps to run IIPImageServer on a Windows machine running IIS (at least, IIS 5.1)

This tutorial is intended for people with a minimum knowledge of how to manipulate a configuration file, a running Microsoft IIS server and who can not wait for an installer ;)

1) If is not installed on your machine, install IIS. To do this follow one of the millions of howtos or the originals Microsoft instructions.

2) Test it, if everything is ok and you get your first page, it works ;)

3) Download the latest version of FastCGI for IIS from IIS website (this step is only for IIS 5.1/6 as IIS 7 comes bundled with fastcgi) and install it.

4) Download IIPImageServer and unzip it in a folder (like C:\fcgi-bin for example) .

5) Open your Internet Information Service Manager and create a virtual directory (let me say fcgi-bin) that point to your fcgi repository and give the exec permission.

Screencast showing how to create a virtual directory

6) Also from the Internet Information Service Manager add the handler as described in the Microsoft pages.

7) Create an empty file called IIPImageServer.fcgi in your virtual directory and save it.

8 ) Using your preferred editor (vim) open the fcgiext.ini configuration file (must be in c:\WINDOWS\System32\inetsrv\fcgiext.ini) and substitute the content with:

[Types]
fcgi=c:\fcgi-bin\IIPImageServer.fcgi

ExePath=c:\fcgi-bin\IIPImageServer.fcgi
QueueLength=1000
MaxInstances=20
InstanceMaxRequests=100
IgnoreExistingFiles=1
EnvironmentVars=MAX_CVT:3000,LOGFILE:c:\tmp\iipimageserver.log,
VERBOSITY:5,JPEG_QUALITY:75,MAX_IMAGE_CACHE_SIZE:10

9) Here we are! Restart IIS from Internet Information Service Manager and open http://127.0.0.1/fcgi-bin/IIPImageServer.fcgi

10) Refer to the IIPImage website to configure the client and the image format!

Now everything should work unless I’ve forgotten something crucial! Send me your comments and I’ll correct the howto.

Stay tuned also for updates as I still need to fix the problems with the parameters to pass to IIPImageServer…

Enjoy IIPImage and don’t forget that you can contribute to the development with donations or with code!

mod_fcgid with Apache 2.2

Server No Comments

IIPImage server is now compatible with Apache 2.2 on Windows via mod_fcgid. This Howto is from Denis’s blog:

This is a small tutorial about how to install IIPImageServer on a Windows machine running Apache 2.2

This tutorial is intended for person with a minimum knowledge of configuration files and with a Windows server ;)

1) Download Apache 2.2.4 from ApacheLounge.com. We want to use version 2.2.4 because mod_fcgid have some problems with the latest (2.2.6) version. A last minute update of today says last version works now, but I still have not tryed.

2) Install Apache 2.2.4 using the simple installer and test it, if everything is ok and you get your first page, it works ;)

3) Now download mod_fcgid (always thanks to ApacheLounge.com) and unzip it on your computer.

4) Copy mod_fcgid.so (file provided by mod_fcgid-2.2-w32.zip) into your apache/modules folder (normally in C:\Program Files\Apache Software Foundation\Apache2.2\modules) .

5) Install the Visual C++ 2005 SP1 Redistributable Package (the binary is build with VC 2005 SP1)

- Download and install, if you not done it already, from the original Microsoft website.

6) Open your httpd.conf file (normally in C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf) and add that line somewhere at the beginning (close to the similar one):

# Load mod_fcgid
LoadModule fcgid_module modules/mod_fcgid.so

7) Download IIPImageServer and unzip it in a folder (like C:\Program Files\Apache Software Foundation\Apache2.2\fcgi-bin to do things more easier) .

8 ) Open your preferred editor and create a file called httpd-iipimage.conf in the C:\Program Files\Apache Software Foundation\Apache2.2\conf\extra directory and cut and paste this content:

# Settings for user home directories
#
# Required module: mod_fcgid
# Create a directory for the iipsrv binary
ScriptAlias /fcgi-bin/ "C:/Program Files/Apache Software Foundation/Apache2.2/fcgi-bin/"
# Set the options on that directory
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/fcgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
# Set the module handler
AddHandler fcgid-script .fcgi
</Directory>
# Set our environment variables for the IIP server
DefaultInitEnv VERBOSITY "0"
DefaultInitEnv LOGFILE "c:/windows/temp/IIPImageServer.log"
DefaultInitEnv MAX_IMAGE_CACHE_SIZE "10"
DefaultInitEnv JPEG_QUALITY "50"
DefaultInitEnv MAX_CVT "3000"
# Define the idle timeout as unlimited and the number of processes we want
IdleTimeout -1

save and close it.

9) Open (again) your httpd.conf file (normally in C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf) and add these lines at the end:

<IfModule fcgid_module>
# IIPImageServer configuration directory
Include conf/extra/httpd-iipimage.conf
</IfModule>

10) Here we are! Open your preferred browser and go to http://127.0.0.1/fcgi-bin/IIPImageServer.fcgi

11) Refer to the IIPImage website to set the client and the image format!

Now everything should work, if I’ve not forget something crucial! Send me your comments and I’ll correct the howto.

Enjoy IIPImage and don’t forget that you can contribute to the development with donations or with code!

0.9.7 Server Windows Release

Server No Comments

Release of the Windows binaries for version 0.9.7 of the IIPImage server

« Previous Entries