Tag

Rewrite

1 views collected around this technical thread.

Practical DevOps Architecture
Practical DevOps Architecture
Mar 31, 2025 · Backend Development

Understanding the Nginx try_files Directive

The article explains how Nginx's try_files directive, introduced after version 0.7, attempts to serve static files by checking the $uri and $uri/ variables, falls back to a named location when files are missing, and can replace traditional rewrite rules for more efficient request handling.

ConfigurationRewritebackend
0 likes · 4 min read
Understanding the Nginx try_files Directive
Aikesheng Open Source Community
Aikesheng Open Source Community
Feb 6, 2023 · Databases

Understanding Redis AOF Rewrite Mechanism and Its Implementation

This article explains Redis's Append‑Only File (AOF) rewrite mechanism, detailing how the rewrite buffer is defined, the fork‑based background process, inter‑process pipe communication, and the advantages and drawbacks of AOF rewriting, accompanied by relevant source code snippets.

AOFAppend Only FileDatabase
0 likes · 20 min read
Understanding Redis AOF Rewrite Mechanism and Its Implementation
Laravel Tech Community
Laravel Tech Community
Nov 16, 2022 · Backend Development

Implementing a Short URL Service with PHP and MySQL (Alternative INI‑Based Approach)

This article explains why short URLs are useful, describes the principle of mapping short codes to original URLs, and provides two complete PHP implementations—one using MySQL for storage and another using an INI file—along with the necessary rewrite rules for Apache and Nginx.

MySQLPHPRewrite
0 likes · 6 min read
Implementing a Short URL Service with PHP and MySQL (Alternative INI‑Based Approach)
Top Architect
Top Architect
Aug 26, 2022 · Operations

Comprehensive Guide to Nginx Rewrite, Anti‑Hotlinking, Static/Dynamic Separation, and Keepalived High‑Availability Configuration

This article provides a step‑by‑step tutorial on configuring Nginx rewrite rules, implementing anti‑hotlinking protection, separating static and dynamic resources, and building a high‑availability architecture using Keepalived with detailed code examples and deployment instructions.

ConfigurationHigh AvailabilityRewrite
0 likes · 23 min read
Comprehensive Guide to Nginx Rewrite, Anti‑Hotlinking, Static/Dynamic Separation, and Keepalived High‑Availability Configuration
Laravel Tech Community
Laravel Tech Community
Sep 28, 2021 · Operations

Nginx Rewrite Rules, Anti-Hotlinking, Static/Dynamic Separation, and Keepalived High‑Availability Configuration Guide

This article provides a comprehensive step‑by‑step guide on configuring Nginx rewrite rules, implementing anti‑hotlink protection, separating static and dynamic resources, and setting up Keepalived for high‑availability load balancing, complete with example configurations and shell scripts.

High AvailabilityLoad BalancingRewrite
0 likes · 21 min read
Nginx Rewrite Rules, Anti-Hotlinking, Static/Dynamic Separation, and Keepalived High‑Availability Configuration Guide
Top Architect
Top Architect
Sep 24, 2021 · Backend Development

Comprehensive Guide to Nginx Rewrite Rules, Anti‑Hotlinking, Static/Dynamic Separation, and Keepalived High‑Availability Configuration

This article provides a step‑by‑step tutorial on configuring Nginx rewrite rules, implementing anti‑hotlinking protection, separating static and dynamic resources, and setting up Keepalived for high‑availability, complete with detailed code examples and deployment instructions.

High AvailabilityLoad BalancingRewrite
0 likes · 22 min read
Comprehensive Guide to Nginx Rewrite Rules, Anti‑Hotlinking, Static/Dynamic Separation, and Keepalived High‑Availability Configuration
php中文网 Courses
php中文网 Courses
Nov 20, 2020 · Backend Development

Resolving Route Errors in ThinkPHP: Common Issues and Configuration Solutions

This article explains why ThinkPHP route errors occur, demonstrates how request methods and missing module prefixes affect URLs, and provides a step‑by‑step guide to fixing them by adding the correct entry script and configuring a rewrite rule in an nginx.htaccess file.

PHPRewriteRouting
0 likes · 2 min read
Resolving Route Errors in ThinkPHP: Common Issues and Configuration Solutions
php中文网 Courses
php中文网 Courses
Oct 30, 2020 · Backend Development

Enabling PathInfo Mode for ThinkPHP on Nginx: Configuration and Rewrite Solutions

This guide explains why Nginx may not support ThinkPHP's PathInfo mode, and provides two detailed solutions—enabling PathInfo in the fastcgi configuration and using rewrite rules to hide index.php—along with the exact code snippets needed to apply them.

PHPPathInfoRewrite
0 likes · 3 min read
Enabling PathInfo Mode for ThinkPHP on Nginx: Configuration and Rewrite Solutions