Author: mlibbey Date: Thu Jun 13 20:30:30 2013 New Revision: 1492851 URL: http://svn.apache.org/r1492851 Log: TS-1954 Update Regex Remap plugin doc to be more specific about maps.reg file
Modified: trafficserver/site/trunk/content/docs/trunk/admin/plugins/regex_remap/index.en.mdtext Modified: trafficserver/site/trunk/content/docs/trunk/admin/plugins/regex_remap/index.en.mdtext URL: http://svn.apache.org/viewvc/trafficserver/site/trunk/content/docs/trunk/admin/plugins/regex_remap/index.en.mdtext?rev=1492851&r1=1492850&r2=1492851&view=diff ============================================================================== --- trafficserver/site/trunk/content/docs/trunk/admin/plugins/regex_remap/index.en.mdtext (original) +++ trafficserver/site/trunk/content/docs/trunk/admin/plugins/regex_remap/index.en.mdtext Thu Jun 13 20:30:30 2013 @@ -99,13 +99,21 @@ option 'matrix-parameters', e.g. Note that the path to the plugin must be absolute, and by default it is /usr/local/libexec/trafficserver/regex_remap.so + +The config file ('maps.reg') must be created by you: + $ sudo touch maps.reg + +This file may be given any name as long as it is referenced correctly in the +@pparam field. This allows multiple config files to be used for different +mapping rules. + +This file can be placed anywhere provided you specify an absolute path. +If none is given, the default directory will be assumed to be: + /usr/local/etc/regex_remap -The config file (`maps.reg` above) can be placed anywhere, but unless you -specify an absolute path (as above), it will default to the directory - - /usr/local/etc/regex_remap - +In order for the plugin to load successfully, the config file must not be +empty. A typical regex would look like