#41877 closed enhancement (fixed)
Caddy server support
Reported by: | viliamkopecky | Owned by: | swissspidy |
---|---|---|---|
Milestone: | 6.5 | Priority: | normal |
Severity: | normal | Version: | 4.8.1 |
Component: | Permalinks | Keywords: | has-patch needs-dev-note |
Focuses: | Cc: |
Description
Caddy behaves mostly as nginx. But unknown $_SERVER['SERVER_SOFTWARE']
caused default permalinks options to include index.php
. This patch replicates global $is_nginx
variable to Caddy's context.
Attachments (1)
Change History (11)
#2
follow-up:
↓ 3
@
7 years ago
I wonder if it's about the time that we can assume that all web servers have rewrites available?
We could keep the iis7/apache checks as they expose methods to check.. but most other server environments DO support it today - and any future server is likely to support it too given how relied upon it is today.
#3
in reply to:
↑ 2
@
7 years ago
- Focuses administration removed
- Keywords needs-refresh added
Replying to dd32:
I wonder if it's about the time that we can assume that all web servers have rewrites available?
We could keep the iis7/apache checks as they expose methods to check.
This sounds sensible.
#5
@
10 months ago
- Milestone changed from Awaiting Review to 6.5
- Owner set to swissspidy
- Status changed from new to assigned
What about CLI usage, Playground, or other unusual setups?
I‘d just add this patch for now & then revisit the suggested approach in a separate ticket.
This ticket was mentioned in PR #6096 on WordPress/wordpress-develop by @swissspidy.
10 months ago
#6
- Keywords needs-refresh removed
Trac ticket: https://core.trac.wordpress.org/ticket/41877
@swissspidy commented on PR #6096:
10 months ago
#9
Committed in https://core.trac.wordpress.org/changeset/57612
adding and using of $is_caddy global variable