Skip to content

Apache to denying requests to .well-known #649

@noctiswhole

Description

@noctiswhole

Steps To Reproduce

  1. Start a laravel project
  2. Create the route /.well-known/ in web.php
    Route::get('/.well-known/', function () { return view('welcome'); });
  3. Start serversideup php apache docker container and mount laravel directory
  4. Go to /.well-known/

Outcome

What did you expect?

Laravel welcome screen

What happened instead?

403 Forbidden
php-1 | [Wed Feb 04 22:58:51.558942 2026] [authz_core:error] [pid 131:tid 196] [client xx:21475] AH01630: client denied by server configuration: /var/www/html/public/.well-known
php-1 | - - [04/Feb/2026:22:58:51 +0000] localhost 192.168.65.1 "GET /.well-known/ HTTP/1.1" 403 239 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:146.0) Gecko/20100101 Firefox/146.0"

Affected Docker Images

serversideup/php:8.2-fpm-apache-v4.3.0

Anything else?

I have an OIDC provider built in Laravel located at /.well-known/openid-configuration. When updating to v4.3.0, the new directives prevented access to that endpoint.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions