Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update paragraph "using server variables in rewrite rules" #220

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ Server variables can be referenced by using the {VARIABLE\_NAME} syntax. For exa

Server variables can also be used to access HTTP headers from the current request. Any HTTP header supplied by the current request is represented as a server variable that has a name generated in accordance to this naming convention:

1. All dash ("-") symbols in the HTTP header name are converted to underscore symbols ("\_").
1. All underscore ("\_") symbols in the condition input are converted to dash symbols ("-") to match the http header.
2. All letters in the HTTP header name are converted to capital case.
3. "HTTP\_" prefix is added to the header name.

Expand Down