I am on SELinux and I downloaded the project from github. I have already built it with the autotools and I tried to start it with apache following the instructions given here: http://iipimage.sourceforge.net/documentation/server/
I have apache 2.2 and in httpd.conf I have:
ScriptAlias /fcgi-bin/ "/var/www/fcgi-bin/"
I also see the fastcgi.conf file in the conf.d directory and the fastcgi module is included.
I copied the executable iipsrv.fcgi in the fcgi-bin directory.
Everything seems correct but I still get the Internal server error. Any ideas where I am wrong ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am on SELinux and I downloaded the project from github. I have already built it with the autotools and I tried to start it with apache following the instructions given here: http://iipimage.sourceforge.net/documentation/server/
I have apache 2.2 and in httpd.conf I have:
ScriptAlias /fcgi-bin/ "/var/www/fcgi-bin/"
Set the options on that directory
<Directory "="" var="" www="" fcgi-bin="" "="">
AllowOverride None
Options None
# Apache 2.2
Order allow,deny
Allow from all
# Apache 2.4
# Require all granted
</Directory>
Set the handler
AddHandler fastcgi-script fcg fcgi fpl
Initialise the FCGI server - set some default values
FastCgiServer /var/www/fcgi-bin/iipsrv.fcgi \ -initial-env LOGFILE=/tmp/iipsrv.log \ -initial-env VERBOSITY=2 \ -initial-env JPEG_QUALITY=50 \ -initial-env MAX_IMAGE_CACHE_SIZE=10 \ -initial-env MAX_CVT=3000
I also see the fastcgi.conf file in the conf.d directory and the fastcgi module is included.
I copied the executable iipsrv.fcgi in the fcgi-bin directory.
Everything seems correct but I still get the Internal server error. Any ideas where I am wrong ?