Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ISPConfig 3
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 550
    • Issues 550
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 41
    • Merge requests 41
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISPConfig
  • ISPConfig 3
  • Issues
  • #5065

Closed
Open
Created Jun 27, 2018 by Danny Wood@danwood76

Strict fcgi starter script permissions leads to a 500 server error on debian wheezy

short description

Due to the permissions of the fastcgi script directories you get a 500 server error when enabling fast-cgi on a server running debian wheezy after updating to the latest ISPConfig

correct behaviour

Sites should load with fast cgi enabled

environment

Server OS: Debian Server OS version: Wheezy ISPConfig version: 3.1.12

If it might be related to the problem

Server version: Apache/2.2.22 (Debian)
Server built:   May 30 2018 12:49:05
PHP 5.4.45-0+deb7u14 (cli) (built: May  9 2018 18:47:17) 
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans

proposed fix

The issue looks like it was introduced in this commit: a7c4cb62

After debugging the changes it looks like the directory permissions need to be 555 for fastcgi to work correctly in this setup

A quick patch that makes it function correctly on our server is attached.fcgi-scriptdir-permissions-fix.patch

Edited Aug 17, 2018 by Till Brehm
Assignee
Assign to
Time tracking