HPlogo Configuring and Managing MPE/iX Internet Services > Chapter 9 HP WebWise MPE/iX Secure Web Server

Testing a DSO

MPE documents

Complete PDF
Table of Contents
Glossary
Index

E0802 Edition 6 ♥
E0701 Edition 5
E0400 Edition 4

After configuration or at any time after modifying a DSO, restart Apache in order to load the module:

  shell/iX> cd /APACHE/PUB/logs
  shell/iX> kill -HUP `cat ./httpd.pid`

or

  kill -TERM 'cat httpd.pid`;callci stream ../JHTTPD

To execute the mod_hw DSO, access the <Location> specified in the httpd.conf file. A DSO may be executed in a different way, depending on the DSO's functionality:

http://yourserver.com/hw

The output of the mod_hw module prints "Hello World!" followed by the result of raising the number 12 to the power of 2. The following is the output seen in a browser:

  Hello World!

  The result of 12.00**2.00 is 144.00




Configuring Apache Modules


Sample Module Code (mod_hw)