Get the default configuration file iipsrv.conf for Apache, optimized for CentOS Linux 7. This example configuration ensures optimal compatibility and performance for Apache, making it easy to set up and adjust to meet your needs.
Find and download the configuration file here: /etc/httpd/conf.d/iipsrv.conf.
For more configurations and setup guides, visit our related files section to further customize your system.
ScriptAlias /iipsrv /usr/libexec/iipsrv/iipsrv.fcgi
# Set our environment variables for the IIP server
DefaultInitEnv VERBOSITY "1"
DefaultInitEnv LOGFILE "/var/log/httpd/iipsrv.log"
DefaultInitEnv MAX_IMAGE_CACHE_SIZE "10"
DefaultInitEnv JPEG_QUALITY "90"
DefaultInitEnv MAX_CVT "3000"
# Define the idle timeout as unlimited and the number of
# processes we want
FcgidIdleTimeout -1
FcgidMaxProcessesPerClass 1
<Directory /usr/libexec/iipsrv/>
<IfModule mod_authz_core.c>
# Apache 2.4
Require all granted
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order allow,deny
Allow from All
</IfModule>
</Directory>
Download the raw file with wget or curl
wget -O iipsrv.conf.example https://exampleconfig.com/static/raw/apache/centos7/etc/httpd/conf.d/iipsrv.conf
curl https://exampleconfig.com/static/raw/apache/centos7/etc/httpd/conf.d/iipsrv.conf > iipsrv.conf.example
Other config files you might find useful