aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squidGuard/squidguard_rewr.xml
diff options
context:
space:
mode:
authorD. V. Serg <dvserg@pfsense.org>2007-11-08 12:12:39 +0000
committerD. V. Serg <dvserg@pfsense.org>2007-11-08 12:12:39 +0000
commit691da8b941d64ac8fe78c5517da00c453f2bab24 (patch)
treec0a706521de8989bcb445709afb3f30c5b413044 /packages/squidGuard/squidguard_rewr.xml
parent8a9ea051b652fdc909693f5e4b053a0bc6d509a6 (diff)
downloadpfsense-packages-691da8b941d64ac8fe78c5517da00c453f2bab24.tar.gz
pfsense-packages-691da8b941d64ac8fe78c5517da00c453f2bab24.tar.bz2
pfsense-packages-691da8b941d64ac8fe78c5517da00c453f2bab24.zip
*** empty log message ***
Diffstat (limited to 'packages/squidGuard/squidguard_rewr.xml')
-rw-r--r--packages/squidGuard/squidguard_rewr.xml131
1 files changed, 131 insertions, 0 deletions
diff --git a/packages/squidGuard/squidguard_rewr.xml b/packages/squidGuard/squidguard_rewr.xml
new file mode 100644
index 00000000..e5290d49
--- /dev/null
+++ b/packages/squidGuard/squidguard_rewr.xml
@@ -0,0 +1,131 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packagegui>
+ <include_file>squidguard.inc</include_file>
+ <name>squidguardrewrite</name>
+ <title>Proxy server filter SquidGuard: Rewrites</title>
+ <tabs>
+ <tab>
+ <text>General settings</text>
+ <url>/pkg_edit.php?xml=squidguard.xml&amp;id=0</url>
+ </tab>
+ <tab>
+ <text>Default</text>
+ <url>/pkg_edit.php?xml=squidguard_default.xml&amp;id=0</url>
+ </tab>
+ <tab>
+ <text>ACL</text>
+ <url>/pkg.php?xml=squidguard_acl.xml</url>
+ </tab>
+ <tab>
+ <text>Sources</text>
+ <url>/pkg.php?xml=squidguard_src.xml</url>
+ </tab>
+ <tab>
+ <text>Destinations</text>
+ <url>/pkg.php?xml=squidguard_dest.xml</url>
+ </tab>
+ <tab>
+ <text>Times</text>
+ <url>/pkg.php?xml=squidguard_time.xml</url>
+ </tab>
+ <tab>
+ <text>Rewrites</text>
+ <url>/pkg.php?xml=squidguard_rewr.xml</url>
+ <active/>
+ </tab>
+ <tab>
+ <text>Log</text>
+ <url>/pkg_edit.php?xml=squidguard_log.xml</url>
+ </tab>
+ </tabs>
+ <adddeleteeditpagefields>
+ <columnitem>
+ <fieldname>name</fieldname>
+ <fielddescr>Name</fielddescr>
+ </columnitem>
+ <columnitem>
+ <fieldname>description</fieldname>
+ <fielddescr>Description</fielddescr>
+ </columnitem>
+ </adddeleteeditpagefields>
+ <fields>
+ <field>
+ <fieldname>name</fieldname>
+ <fielddescr>Name</fielddescr>
+ <description>
+ You may enter name here. Name must consist of minimum 2 symbols, first from which letter. &lt;br&gt;
+ All other symbols must be [a-Z_0-9].
+ </description>
+ <type>input</type>
+ <required/>
+ <size>100</size>
+ </field>
+ <field>
+ <fieldname>enablelog</fieldname>
+ <fielddescr>Enable log</fielddescr>
+ <type>checkbox</type>
+ <description>Check this for enable log.</description>
+ </field>
+ <field>
+ <fieldname>description</fieldname>
+ <fielddescr>Description</fielddescr>
+ <description>You may enter a description here for your reference (not parsed).</description>
+ <type>input</type>
+ <size>100</size>
+ </field>
+ <field>
+ <fielddescr>
+ &lt;b&gt;Rewrite rule.&lt;/b&gt;&lt;br&gt;
+ Define how url will be replaced.</fielddescr>
+ <type>rowhelper</type>
+ <rowhelper>
+ <rowhelperfield>
+ <fielddescr>Target URL</fielddescr>
+ <fieldname>targeturl</fieldname>
+ <type>input</type>
+ <size>50</size>
+ </rowhelperfield>
+ <rowhelperfield>
+ <fielddescr>Replace to</fielddescr>
+ <fieldname>replaceto</fieldname>
+ <type>input</type>
+ <size>69</size>
+ </rowhelperfield>
+ <rowhelperfield>
+ <fielddescr>Case ins.</fielddescr>
+ <fieldname>caseins</fieldname>
+ <type>checkbox</type>
+ </rowhelperfield>
+ <rowhelperfield>
+ <fielddescr>Http 301</fielddescr>
+ <fieldname>http301</fieldname>
+ <type>checkbox</type>
+ </rowhelperfield>
+ <rowhelperfield>
+ <fielddescr>Http 302</fielddescr>
+ <fieldname>http302</fieldname>
+ <type>checkbox</type>
+ </rowhelperfield>
+ </rowhelper>
+ </field>
+ <field>
+ <fieldname>note</fieldname>
+ <fielddescr>Note</fielddescr>
+ <type>checkbox</type>
+ <description>
+ &lt;b&gt;Rewrite rule&lt;/b&gt;-define how url will are replaced.&lt;br&gt;
+ &lt;b&gt;Target url&lt;/b&gt;-contains destination url or his template. Url template example: */cc32e46.exe &lt;br&gt;
+ &lt;b&gt;Replace to&lt;/b&gt;-contains replacing url.
+ </description>
+ </field>
+ </fields>
+ <custom_php_after_form_command>
+ squidGuard_print_javascript();
+ </custom_php_after_form_command>
+ <custom_php_validation_command>
+ squidguard_validate_rewrite($_POST, &amp;$input_errors);
+ </custom_php_validation_command>
+ <custom_php_resync_config_command>
+// squidguard_resync_rewrite();
+ </custom_php_resync_config_command>
+</packagegui>