Project

General

Profile

Actions

Bug #2392

closed

fastcgi.map-extensions doesn't work

Added by CyberCr33p about 12 years ago. Updated almost 12 years ago.

Status:
Invalid
Priority:
Normal
Category:
mod_fastcgi
Target version:
-
ASK QUESTIONS IN Forums:

Description

On 1.4.28 the follow line works as expected:

fastcgi.map-extensions = ( ".html" => ".php" )

On 1.4.30 it doesn't work.

When I try to visit a html page I get the message:

"Access denied."

Config files on both 1.4.28 and 1.4.30 are the same.

Actions #1

Updated by CyberCr33p about 12 years ago

Looks like it was an issue with PHP and not Lighttpd:

https://bugs.php.net/bug.php?id=60763

Actions #2

Updated by stbuehler about 12 years ago

  • Status changed from New to Invalid
  • Target version deleted (1.4.31)
Actions #3

Updated by oio almost 12 years ago

Try remove "text/html"
from
compress.filetype = ("text/html", "application/x-javascript", "text/css")
and fastcgi.map-extensions = ( ".html" => ".php" ) will work.
everything in compress.filetype lighty decides as static.

Actions #4

Updated by stbuehler almost 12 years ago

oio wrote:

Try remove "text/html"
from
compress.filetype = ("text/html", "application/x-javascript", "text/css")
and fastcgi.map-extensions = ( ".html" => ".php" ) will work.
everything in compress.filetype lighty decides as static.

  • Read what have been written: the problem was already solved
  • if you load mod_compress before mod_fastcgi, it will trigger before fastcgi (unless check-local=>disable is set, which is a different trigger)
Actions

Also available in: Atom