trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Girish G <girish.vai...@gmail.com>
Subject regex_remap Can not load the remap table
Date Thu, 12 Jun 2014 07:10:41 GMT
Hi,
I am trying to get a regex_remap to remap all the js files to a different
port.

My remap.config file has

map / http://localhost:8080 @plugin=regex_remap.so @pparam=maps.reg

and my maps.reg has

^/(*.js) http://localhost:8080/$h/$0/$1

However, I am seeing the following in the diags logs.

[Jun 12 12:35:31.328] Server {0x2ba3200a8240} WARNING: Failed to create new
instance for plugin /opt/trafficserver/libexec/regex_remap.so (not a
TS_SUCCESS return)
[Jun 12 12:35:31.328] Server {0x2ba3200a8240} WARNING: Could not add rule
at line #199; Aborting!
[Jun 12 12:35:31.328] Server {0x2ba3200a8240} WARNING: [ReverseProxy] Can't
create new remap instance for plugin
"/opt/trafficserver/libexec/regex_remap.so" - Unknown plugin error at line
199
[Jun 12 12:35:31.328] Server {0x2ba3200a8240} WARNING: something failed
during BuildTable() -- check your remap plugins!
[Jun 12 12:35:31.328] Server {0x2ba3200a8240} WARNING: Can not load the
remap table, exiting out!


What am I doing wrong here?

-- 
______________________
​Thanks
,
Girish G Pillai

Mime
View raw message