You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2013/04/17 22:47:12 UTC
svn commit: r1469069 - in /trafficserver/site/trunk/content:
docs/trunk/admin/configuration-files/records.config.en.mdtext
docs/trunk/sdk/getting-started/a-simple-plugin.en.mdtext index.html
Author: zwoop
Date: Wed Apr 17 20:47:12 2013
New Revision: 1469069
URL: http://svn.apache.org/r1469069
Log:
TS-1709 Update the docs for how the plugin directories work
Modified:
trafficserver/site/trunk/content/docs/trunk/admin/configuration-files/records.config.en.mdtext
trafficserver/site/trunk/content/docs/trunk/sdk/getting-started/a-simple-plugin.en.mdtext
trafficserver/site/trunk/content/index.html
Modified: trafficserver/site/trunk/content/docs/trunk/admin/configuration-files/records.config.en.mdtext
URL: http://svn.apache.org/viewvc/trafficserver/site/trunk/content/docs/trunk/admin/configuration-files/records.config.en.mdtext?rev=1469069&r1=1469068&r2=1469069&view=diff
==============================================================================
--- trafficserver/site/trunk/content/docs/trunk/admin/configuration-files/records.config.en.mdtext (original)
+++ trafficserver/site/trunk/content/docs/trunk/admin/configuration-files/records.config.en.mdtext Wed Apr 17 20:47:12 2013
@@ -1692,8 +1692,9 @@ the `records.config` file.
*`proxy.config.plugin.plugin_dir`* {#proxy.config.plugin.plugin_dir}
: `STRING`
-: Default: `config/plugins`
-: Specifies the location of Traffic Server plugins.
+: Default: `libexec/trafficserver`
+: Specifies the location of Traffic Server plugins. This is based on
+: your build environment, and options given to the configure script.
# Sockets # {#Sockets}
Modified: trafficserver/site/trunk/content/docs/trunk/sdk/getting-started/a-simple-plugin.en.mdtext
URL: http://svn.apache.org/viewvc/trafficserver/site/trunk/content/docs/trunk/sdk/getting-started/a-simple-plugin.en.mdtext?rev=1469069&r1=1469068&r2=1469069&view=diff
==============================================================================
--- trafficserver/site/trunk/content/docs/trunk/sdk/getting-started/a-simple-plugin.en.mdtext (original)
+++ trafficserver/site/trunk/content/docs/trunk/sdk/getting-started/a-simple-plugin.en.mdtext Wed Apr 17 20:47:12 2013
@@ -72,23 +72,20 @@ file. The directory can be specified as
If a relative path is used, then the starting directory will be the Traffic
Server installation directory as specified in `/etc/traffic_server`. The default
-value is `config/plugins`, which tells Traffic Server to use the directory
-plugins located in the same configuration directory as `records.config`. It
-is common to use the default directory. Be sure to place the shared library
-`hello-world.so` inside the directory you've configured.
+value is `libexec/trafficserver`, but this can vary based on how the software was
+configured and built. It is common to use the default directory. Be sure to place
+the shared library `hello-world.so` inside the directory you've configured.
### Restart Traffic Server
The last step is to start/restart Traffic Server. Shown below is the output
displayed after you've created and loaded your `hello-world` plugin.
- # grep proxy.config.plugin.plugin_dir config/records.config
- CONFIG proxy.config.plugin.plugin_dir STRING config/plugins
- # ls config/plugins
+ # ls libexec/trafficserver
hello-world.so*
# bin/traffic_server
[Mar 27 19:06:31.669] NOTE: updated diags config
- [Mar 27 19:06:31.680] NOTE: loading plugin 'config/plugins/hello-world.so'
+ [Mar 27 19:06:31.680] NOTE: loading plugin 'libexec/trafficserver/hello-world.so'
hello world
[Mar 27 19:06:32.046] NOTE: cache disabled (initializing)
[Mar 27 19:06:32.053] NOTE: cache enabled
Modified: trafficserver/site/trunk/content/index.html
URL: http://svn.apache.org/viewvc/trafficserver/site/trunk/content/index.html?rev=1469069&r1=1469068&r2=1469069&view=diff
==============================================================================
--- trafficserver/site/trunk/content/index.html (original)
+++ trafficserver/site/trunk/content/index.html Wed Apr 17 20:47:12 2013
@@ -248,9 +248,8 @@
<div class="twelvecol">
<div id="blurbbox">
<ul>
- <li><b>March 14, 2013:</b> The Apache Traffic Server community
- is extremely pleased to announce the immediate availability of
- ATS v3.3.1-dev. It can be downloaded from the normal download page.</li>
+ <li><b>March 14, 2013:</b> Our latest developer release,
+ v3.3.1-dev, is now available from the download page.</li>
<li><b>March 11, 2013:</b> The Apache Traffic Server community
welcomes our latest committer, Uri Shachar. Welcome!</li>
<li><b>January 25, 2013:</b> The Apache Traffic Server community