#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
msgid ""
msgstr ""
"Project-Id-Version: Apache Traffic Server 4.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-11-08 17:57+0900\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: ../../reference/plugins/regex_remap.en.rst:4
msgid "Regex Remap Plugin"
msgstr ""

#: ../../reference/plugins/regex_remap.en.rst:24
msgid ""
"This allows you to configure mapping rules based on regular expressions. "
"This is similar to what you can accomplish using mod_rewrite in Apache "
"httpd, but obviously not as flexible or sophisticated (yet)."
msgstr ""

#: ../../reference/plugins/regex_remap.en.rst:28
msgid "To use this plugin, configure a remap.config rule like ::"
msgstr ""

#: ../../reference/plugins/regex_remap.en.rst:42
msgid ""
"An optional argument (``@pparam``) with the string \"``profile``\\ \" will "
"enable profiling of this regex remap rule, e.g. ::"
msgstr ""

#: ../../reference/plugins/regex_remap.en.rst:47
msgid ""
"Profiling is very low overhead, and the information is dumped to ``traffic."
"out``, located in the log directory. This information is useful to optimize "
"the order of your regular expression, such that the most common matches "
"appears early in the file. In order to force a profile dump, you can do ::"
msgstr ""

#: ../../reference/plugins/regex_remap.en.rst:56
msgid ""
"By default, only the path and query string of the URL are provided for the "
"regular expressions to match. The following optional parameters can be used "
"to modify the plugin instance behavior ::"
msgstr ""

#: ../../reference/plugins/regex_remap.en.rst:64
msgid ""
"If you wish to match on the HTTP method used (e.g. \"``GET``\\ \"), you "
"must use the option ``@pparam=method``. e.g. ::"
msgstr ""

#: ../../reference/plugins/regex_remap.en.rst:69
msgid ""
"With this enabled, the string that you will need to match will look like ::"
msgstr ""

#: ../../reference/plugins/regex_remap.en.rst:74
msgid ""
"The methods are always all upper-case, and always followed by one single "
"space. There is no space between the method and the rest of the URL (or URI "
"path)."
msgstr ""

#: ../../reference/plugins/regex_remap.en.rst:78
msgid ""
"By default, the query string is part of the string that is matched again, "
"to turn this off use the option 'no-query-string', e.g. ::"
msgstr ""

#: ../../reference/plugins/regex_remap.en.rst:83
msgid ""
"Finally, you can also include the matrix parameters in the string, using "
"the option 'matrix-parameters', e.g. ::"
msgstr ""

#: ../../reference/plugins/regex_remap.en.rst:88
msgid "A typical regex would look like ::"
msgstr ""

#: ../../reference/plugins/regex_remap.en.rst:92
msgid "The regular expression must not contain any white spaces!"
msgstr ""

#: ../../reference/plugins/regex_remap.en.rst:94
msgid ""
"When the regular expression is matched, only the URL path + query string is "
"matched (without any of the optional configuration options). The path will "
"always start with a \"/\". Various substitution strings are allowed on the "
"right hand side during evaluation ::"
msgstr ""

#: ../../reference/plugins/regex_remap.en.rst:118
msgid ""
"You can also provide options, similar to how you configure your remap."
"config. The following options are available ::"
msgstr ""

#: ../../reference/plugins/regex_remap.en.rst:127
msgid ""
"This can be useful to force a particular response for some URLs, e.g. ::"
msgstr ""

#: ../../reference/plugins/regex_remap.en.rst:131
msgid "Or, to force a 302 redirect ::"
msgstr ""

#: ../../reference/plugins/regex_remap.en.rst:135
msgid ""
"Setting the status to 301 or 302 will force the new URL to be used as a "
"redirect (Location:)."
msgstr ""

#: ../../reference/plugins/regex_remap.en.rst:32
msgid ""
"The file name parameter is always required. Unless an absolute path is "
"specified, the file name is assumed to be a path relative to the Traffic "
"Server configuration directory."
msgstr ""

#: ../../reference/plugins/regex_remap.en.rst:36
msgid ""
"The regular expressions listed in the configuration file are evaluated "
"sequentially. When a regular expression is positively matched against a "
"request URL, evaluation is stopped and the rewrite rule is applied. If none "
"of the regular expressions are a match, the default destination URL is "
"applied (``http://b.com`` in the example above)."
msgstr ""

#: ../../reference/plugins/regex_remap.en.rst:114
msgid ""
"The ``$0`` substitution expands to the characters that were matched by the "
"regular expression, not to the entire string that the regular expression "
"was matched against."
msgstr ""
