Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
I'm trying to get iipsrv.fcgi running on Ubuntu 8.04 with apache2 and mod_fastcgi. The suggestion on the troubleshooting page (), to use the IIP protocol directly, as a test, works just fine (i.e., entering a URL of the form http://localhost/fcgi-bin/iipsrv.fcgi?FIF=/path/myimage.tif&wid=200&cvt=jpeg).
I downloaded IIPMooViewer 1.1 and modified two paths in the iipmooviewer.html, one to the test image and the other to iipsrv.fcgi. When I direct my browser to load the directory in which iipmooviewer.html resides, I get a popup dialog from the browser (Firefox 2) saying:
"The page at <my URL> says:
No response from server
The log file at /tmp/iipsrv.log shows no activity, even at the highest verbosity level (4). It logs plenty of information when I try the direct URL method.
Despite the fact that I followed the install documentation (http://iipimage.sourceforge.net/documentation/server/) as carefully as I could, I suspect some simple configuration issue, since I am totally new to apache administration, fastcgi, etc.
Does anyone have any suggestions?
Thanks very much,
You seem to have CSS turned off.
Please don't fill out this field.
What path did you put for iipsrv.fcgi? "/fcgi-bin/iipsrv.fcgi" or "/var/lib/apache2/fastcgi/iipsrv.fcgi"? For your installation it should be the former. This is in fact also the default, so you don't really need to specify this.
I inadvertently posted my answer to your question in a reply to my original post, rather than to your post. (Getting used to the sourceforge website.)
Any thoughts? I appreciate any help you can give, I'd like to get this working, I have some very large images I'd like to be able to share with people.
Thanks, that fixed it.
My install process was something like:
1) sudo apt-get install libapache2-mod-fastcgi
2) see in /etc/apache2/mods-enabled/fastcgi.conf that /var/lib/apache2/fastcgi seems to be where it expects to find fastcgi binaries
3) download + build iipsrv-0.9.7; copy iipsrv.fcgi to /var/lib/apache2/fastcgi/
4) Following IIPImage server install directions, but modifying to use this path to fastcgi, I add the following to /etc/apache2/apache2.conf:
<Directory "/var/lib/apache2/fastcgi/">AllowOverride None
Order allow,denyAllow from all
FastCgiServer /var/lib/apache2/fastcgi/iipsrv.fcgi \
-initial-env LOGFILE=/tmp/iipsrv.log \
-initial-env VERBOSITY=2 \
-initial-env JPEG_QUALITY=50 -initial-env MAX_IMAGE_CACHE_SIZE=10 \
5) sudo apache2ctl restart
6) download iipmooviewer-1.1 to my ~/public_html directory, decompress it, and then download the PalaisDuLouvre.tif sample image into the iipmooviewer directory
9) browse to <my url>/~<my username>/iipmooviewer-1.1/
10) get the 'no response from server' error message from the browser
11) following the IIP troubleshooting page, browse to <my url>/fcgi-bin/iipsrv.fcgi; unsurprisingly, this results in a "page not found"
12) to /etc/apache2/sites-available/default, add:
ScriptAlias /fastcgi/ /var/lib/apache2/fastcgi/
and restart apache
13) now browse to <my url>/fastcgi/iipsrv.fcgi, it works
14) try the direct URL method suggested in the troubleshooting page as follows:
and this works fine.
But, browsing to <my url>/~<my username>/iipmooviewer-1.1/ gives the 'no response from server /var/lib/apache2/fastcgi/iipsrv.fcgi' error.