Project

General

Profile

Actions

Bug #3250

closed

403 Forbidden after Ubuntu 18 to 22 upgrade

Added by lighttpd2024 17 days ago. Updated 17 days ago.

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

Description

Hi,

I have recently upgraded my OS version and since then I'm unable to configure/run lighttpd for php files
I can access html files but not .php files when mod_fastcgi is added. I have also configured https
and here is my lighttpd.conf code for lighttpd version lighttpd/1.4.63

server.modules = (
  "mod_access",
  "mod_alias",
  "mod_deflate",
  "mod_redirect",
  "mod_rewrite",
  "mod_accesslog",
  "mod_status",
  "mod_fastcgi",

)

server.document-root        = "/var/www/html" 
server.upload-dirs          = ( "/var/cache/lighttpd/uploads" )

server.errorlog             = "/var/log/lighttpd/error.log" 
server.pid-file             = "/var/run/lighttpd.pid" 
server.username             = "www-data" 
server.groupname            = "www-data" 
server.port                 = 80

index-file.names = ( "index.php", "index.html", "index.lighttpd.html" )

static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )

deflate.cache-dir          = "/var/cache/lighttpd/compress/" 
deflate.mimetypes           = ( "application/javascript", "text/css", "text/html", "text/plain" )

# default listening port for IPv6 falls back to the IPv4 port
## Use ipv6 if available
include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
include_shell "/usr/share/lighttpd/create-mime.conf.pl" 
include_shell "/etc/lighttpd/conf-enabled/*.conf" 

fastcgi.debug = 1
Actions #1

Updated by gstrauss 17 days ago

  • Description updated (diff)
  • Status changed from New to Invalid

The lighttpd issue tracker is for issues in lighttpd, not user questions.

Please hover your mouse over the text that says "ASK QUESTIONS IN Forums" above, and follow the instructions.

Also, please carefully read How to get support before posting.

Actions #2

Updated by gstrauss 17 days ago

  • Target version deleted (1.4.xx)
Actions

Also available in: Atom