iipserver cgi program does not work with standard configuration of Apache 2.4

Bug #1612870 reported by Ulf Mehlig on 2016-08-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
iipimage (Ubuntu)
Undecided
Unassigned

Bug Description

The location of the iip image server cgi program is located in /usr/lib/iipimage-server/. However, the Apache 2.4 standard installation on Ubuntu prevents scripts from running outside /usr/share and /var/www by configuration in /etc/apache2/apache2.conf. To run http://127.0.0.1/iipsrv/iipsrv.fcgi successfully, it is necessary to change the path of the cgi program or to adapt /etc/apache2/apache2.conf, e.g. by including

<Directory /usr/lib/iipimage-server/>
        Options Indexes FollowSymLinks
        AllowOverride None
        Require all granted
</Directory>

I think packages like iipimage-server should work "out of the box", or at least feature a README.Debian instructing the user properly -- by running the suggested basic test in this file, one ends up with "Access denied".

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: iipimage-server 0.9.9-3
ProcVersionSignature: Ubuntu 4.4.0-34.53-generic 4.4.15
Uname: Linux 4.4.0-34-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Aug 12 21:45:12 2016
InstallationDate: Installed on 2016-07-03 (40 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: iipimage
UpgradeStatus: No upgrade log present (probably fresh install)

Ulf Mehlig (umehlig) wrote :
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers