Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http://127.0.0.1/fcgi-bin/IIPImageServer.fcgi : Forbidden 403 Error #1

Open
ghost opened this issue Aug 1, 2018 · 1 comment
Open

Comments

@ghost
Copy link

ghost commented Aug 1, 2018

Hello there,

I am having some issues setting up IIpImageServer.
I followed this tutorial to the line:
http://iipimage.sourceforge.net/2008/06/how-to-install-iipimageserver-on-your-windows-computer-using-apache-22-in-11-easy-steps/ (besides I installed Apache to C:/ Apache24)
(I adjusted the directories in httpd-iipimage.conf to

C/:Apache24/fcgi-bin/

However, heading over to "http://127.0.0.1/fcgi-bin/IIPImageServer.fcgi", I receive
grafik

httpd-iimage.conf:
`# Settings for user home directories

Required module: mod_fcgid

Create a directory for the iipsrv binary

ScriptAlias /fcgi-bin/ "C:/Apache24/fcgi-bin/"

Set the options on that directory

<Directory "C:/Apache24/fcgi-bin/">
AllowOverride None
Options None
Order allow,deny
Allow from all

Set the module handler

AddHandler fcgid-script .fcgi

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`

I also added everything in the httpd.conf.

Any hints?

@ruven
Copy link
Member

ruven commented Aug 1, 2018

If you're using Apache 2.4, then the syntax has changed slightly for granting access to directories. So replace the 2 lines in the Apache configuration which read:

Order allow,deny
Allow from all

with this:

Require all granted

Also if you are using the windows binary for iipsrv 1.0, then the URL will be http://127.0.0.1/fcgi-bin/iipsrv.fcgi

This tutorial is from a many years ago - I'll do an updated one to reflect these changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant