Skip to content

Commit e983263

Browse files
Updating README
1 parent 3191e3c commit e983263

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

modules/domain/README

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ domain Module
1414
1.3.3. domain_table (string)
1515
1.3.4. domain_col (string)
1616
1.3.5. attrs_col (string)
17+
1.3.6. accept_subdomain_col (string)
1718

1819
1.4. Exported Functions
1920

@@ -57,9 +58,10 @@ domain Module
5758
1.3. Setting domain_table parameter
5859
1.4. Setting domain_col parameter
5960
1.5. Setting attrs_col parameter
60-
1.6. is_from_local usage
61-
1.7. is_uri_host_local usage
62-
1.8. is_domain_local usage
61+
1.6. Setting accept_subdomain_col parameter
62+
1.7. is_from_local usage
63+
1.8. is_uri_host_local usage
64+
1.9. is_domain_local usage
6365

6466
Chapter 1. Admin Guide
6567

@@ -139,6 +141,15 @@ modparam("domain", "domain_col", "domain_name")
139141
Example 1.5. Setting attrs_col parameter
140142
modparam("domain", "attrs_col", "attributes")
141143

144+
1.3.6. accept_subdomain_col (string)
145+
146+
Name of column containing accept_subdomain value in domain table.
147+
148+
Default value is “accept_subdomain”.
149+
150+
Example 1.6. Setting accept_subdomain_col parameter
151+
modparam("domain", "accept_subdomain_col", "accept_subdomain")
152+
142153
1.4. Exported Functions
143154

144155
1.4.1. is_from_local([attrs_var])
@@ -151,7 +162,7 @@ modparam("domain", "attrs_col", "attributes")
151162

152163
This function can be used from REQUEST_ROUTE.
153164

154-
Example 1.6. is_from_local usage
165+
Example 1.7. is_from_local usage
155166
...
156167
if (is_from_local()) {
157168
...
@@ -177,7 +188,7 @@ if (is_from_local($var(attrs))) {
177188
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE,
178189
BRANCH_ROUTE.
179190

180-
Example 1.7. is_uri_host_local usage
191+
Example 1.8. is_uri_host_local usage
181192
...
182193
if (is_uri_host_local()) {
183194
...
@@ -209,7 +220,7 @@ if (is_uri_host_local($var(attrs))) {
209220
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE,
210221
BRANCH_ROUTE.
211222

212-
Example 1.8. is_domain_local usage
223+
Example 1.9. is_domain_local usage
213224
...
214225
if (is_domain_local($rd)) {
215226
...

0 commit comments

Comments
 (0)