Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
ab6330f0
Commit
ab6330f0
authored
Jun 30, 2015
by
Jos Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(proxy) update examples of regular expressions for black and whitelist
parent
88758895
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
main.xml
...pnsense/mvc/app/controllers/OPNsense/Proxy/forms/main.xml
+9
-9
No files found.
src/opnsense/mvc/app/controllers/OPNsense/Proxy/forms/main.xml
View file @
ab6330f0
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
<subtab
id=
"proxy-general-cache-local"
description=
"Local Cache Settings"
>
<subtab
id=
"proxy-general-cache-local"
description=
"Local Cache Settings"
>
<field>
<field>
<id>
proxy.general.cache.local.enabled
</id>
<id>
proxy.general.cache.local.enabled
</id>
<label>
Enable local cache
.
</label>
<label>
Enable local cache
(requires service restart)
</label>
<type>
checkbox
</type>
<type>
checkbox
</type>
<help>
<![CDATA[Enable or disable the local cache.<br/>
<help>
<![CDATA[Enable or disable the local cache.<br/>
Curently only ufs directory cache type is supported.
<br/>
Curently only ufs directory cache type is supported.
<br/>
...
@@ -250,10 +250,10 @@
...
@@ -250,10 +250,10 @@
You may use a regular expression, use a comma or press Enter for new item.
<br/>
You may use a regular expression, use a comma or press Enter for new item.
<br/>
<div
class=
"alert alert-info"
>
<div
class=
"alert alert-info"
>
<b>
Examples:
</b><br/>
<b>
Examples:
</b><br/>
<b
class=
"text-primary"
>
.
mydomain.com
</b>
-> matches on
<b>
*.mydomain.com
</b><br/>
<b
class=
"text-primary"
>
mydomain.com
</b>
-> matches on
<b>
*.mydomain.com
</b><br/>
<b
class=
"text-primary"
>
^http
(s|)://([a-zA-Z]+)\.mydomain\.*
</b>
-> matches on
<b>
http(s)://*
.mydomain.*
</b><br/>
<b
class=
"text-primary"
>
^http
s?:\/\/([a-zA-Z]+)\.mydomain\.
</b>
-> matches on
<b>
http(s)://textONLY
.mydomain.*
</b><br/>
<b
class=
"text-primary"
>
\
\.+\
.gif$
</b>
-> matches on
<b>
\*.gif
</b>
but not on
<b
class=
"text-danger"
>
\*.gif\test
</b><br/>
<b
class=
"text-primary"
>
\.gif$
</b>
-> matches on
<b>
\*.gif
</b>
but not on
<b
class=
"text-danger"
>
\*.gif\test
</b><br/>
<b
class=
"text-primary"
>
\
\.+
[0-9]+\.gif$
</b>
-> matches on
<b>
\123.gif
</b>
but not on
<b
class=
"text-danger"
>
\test.gif
</b><br/>
<b
class=
"text-primary"
>
\[0-9]+\.gif$
</b>
-> matches on
<b>
\123.gif
</b>
but not on
<b
class=
"text-danger"
>
\test.gif
</b><br/>
</div>
</div>
<div
class=
"text-info"
><b>
TIP:
</b>
You can also paste a comma separated list into this field.
</div>
]]>
</help>
<div
class=
"text-info"
><b>
TIP:
</b>
You can also paste a comma separated list into this field.
</div>
]]>
</help>
<hint>
Regular expressions are allowed.
</hint>
<hint>
Regular expressions are allowed.
</hint>
...
@@ -268,10 +268,10 @@
...
@@ -268,10 +268,10 @@
You may use a regular expression, use a comma or press Enter for new item.
<br/>
You may use a regular expression, use a comma or press Enter for new item.
<br/>
<div
class=
"alert alert-info"
>
<div
class=
"alert alert-info"
>
<b>
Examples:
</b><br/>
<b>
Examples:
</b><br/>
<b
class=
"text-primary"
>
.
mydomain.com
</b>
-> matches on
<b>
*.mydomain.com
</b><br/>
<b
class=
"text-primary"
>
mydomain.com
</b>
-> matches on
<b>
*.mydomain.com
</b><br/>
<b
class=
"text-primary"
>
^http
(s|)://([a-zA-Z]+)\.mydomain\.*
</b>
-> matches on
<b>
http(s)://*
.mydomain.*
</b><br/>
<b
class=
"text-primary"
>
^http
s?:\/\/([a-zA-Z]+)\.mydomain\.
</b>
-> matches on
<b>
http(s)://textONLY
.mydomain.*
</b><br/>
<b
class=
"text-primary"
>
\
\.+\
.gif$
</b>
-> matches on
<b>
\*.gif
</b>
but not on
<b
class=
"text-danger"
>
\*.gif\test
</b><br/>
<b
class=
"text-primary"
>
\.gif$
</b>
-> matches on
<b>
\*.gif
</b>
but not on
<b
class=
"text-danger"
>
\*.gif\test
</b><br/>
<b
class=
"text-primary"
>
\
\.+
[0-9]+\.gif$
</b>
-> matches on
<b>
\123.gif
</b>
but not on
<b
class=
"text-danger"
>
\test.gif
</b><br/>
<b
class=
"text-primary"
>
\[0-9]+\.gif$
</b>
-> matches on
<b>
\123.gif
</b>
but not on
<b
class=
"text-danger"
>
\test.gif
</b><br/>
</div>
</div>
<div
class=
"text-info"
><b>
TIP:
</b>
You can also paste a comma separated list into this field.
</div>
]]>
</help>
<div
class=
"text-info"
><b>
TIP:
</b>
You can also paste a comma separated list into this field.
</div>
]]>
</help>
<hint>
Regular expressions are allowed.
</hint>
<hint>
Regular expressions are allowed.
</hint>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment