Skip to content

Commit 473d7e4

Browse files
committed
Add PerlAddVar before example in documentation.
1 parent e505218 commit 473d7e4

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

ModProxyPerlHtml.pm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -422,11 +422,11 @@ files. The result is that there could suffer of replacement inside and the file
422422
to prevent this you have the ProxyHTMLExcludeContentType configuration directive to exclude certain
423423
content-type. Here is the default value:
424424
425-
ProxyHTMLExcludeContentType (application\/vnd\.openxml)
425+
PerlAddVar ProxyHTMLExcludeContentType (application\/vnd\.openxml)
426426
427427
If you have problem with other content-type, use this directive. For example, as follow:
428428
429-
ProxyHTMLExcludeContentType (application\/vnd\.openxml|application\/vnd\..*text)
429+
PerlAddVar ProxyHTMLExcludeContentType (application\/vnd\.openxml|application\/vnd\..*text)
430430
431431
this regex will prevent any MS Office XML or text document to be parsed.
432432
@@ -436,8 +436,8 @@ detected as links and rewritten. The only way to fix that is to exclude those
436436
files from the URL rewritter by using the "ProxyHTMLExcludeUri" configuration
437437
directive. For example:
438438
439-
ProxyHTMLExcludeUri jquery.min.js$
440-
ProxyHTMLExcludeUri ^.*\/jquery-lib\/.*$
439+
PerlAddVar ProxyHTMLExcludeUri jquery.min.js$
440+
PerlAddVar ProxyHTMLExcludeUri ^.*\/jquery-lib\/.*$
441441
442442
Any downloaded URI that contains the given regex will be returned asis without
443443
rewritting. You can use this directive multiple time like above to match different

README

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,12 @@ APACHE CONFIGURATION
128128
you have the ProxyHTMLExcludeContentType configuration directive to
129129
exclude certain content-type. Here is the default value:
130130

131-
ProxyHTMLExcludeContentType (application\/vnd\.openxml)
131+
PerlAddVar ProxyHTMLExcludeContentType (application\/vnd\.openxml)
132132

133133
If you have problem with other content-type, use this directive. For
134134
example, as follow:
135135

136-
ProxyHTMLExcludeContentType (application\/vnd\.openxml|application\/vnd\..*text)
136+
PerlAddVar ProxyHTMLExcludeContentType (application\/vnd\.openxml|application\/vnd\..*text)
137137

138138
this regex will prevent any MS Office XML or text document to be parsed.
139139

@@ -143,8 +143,8 @@ APACHE CONFIGURATION
143143
fix that is to exclude those files from the URL rewritter by using the
144144
"ProxyHTMLExcludeUri" configuration directive. For example:
145145

146-
ProxyHTMLExcludeUri jquery.min.js$
147-
ProxyHTMLExcludeUri ^.*\/jquery-lib\/.*$
146+
PerlAddVar ProxyHTMLExcludeUri jquery.min.js$
147+
PerlAddVar ProxyHTMLExcludeUri ^.*\/jquery-lib\/.*$
148148

149149
Any downloaded URI that contains the given regex will be returned asis
150150
without rewritting. You can use this directive multiple time like above

0 commit comments

Comments
 (0)