Starting from version 4.5, EKP supports the Package Exchange Notification Services (PENS). The URL used for notifications is typically /ekp/pens.
If you see a 404 Not Found error when attempting to access this URL, it's likely that your web server (e.g. Apache HTTPD) is not configured to forward requests for this URL to your application server (e.g. Apache Tomcat).
If your web server is Apache, you can fix this by editing the httpd.conf configuration file, which is in the conf/ directory under the Apache installation directory. If you open this file in a text editor, you will find a series of "directives" such as the following:
JkMount /ekp/tx/* ajp13 JkMount /ekp/servlet/* ajp13 JkMount /ekp/*.jsp ajp13 JkMount /ekp/servlet/ekp/* ajp13 JkMount /ekp/*.tx ajp13 JkMount /ekp/xml/* ajp13
(Note: in some installations, the above directives might be in a file named mod_jk.conf under the directory conf/jk/, instead of in httpd.conf itself.)
To enable PENS support, you should add one more directive as follows:
JkMount /ekp/pens ajp13
You'll need to restart Apache for that change to take effect. Note also that if the prefix for your site is something other than /ekp, you'll need to modify the directive above as appropriate.
No comments:
Post a Comment