Practical mod_perl / HTML Book /



previous page: 6.8.2.3. Using Apache::Reload
  
page up: HTML Version of the book
  
next page: 6.8.2.4.1. Writing configuration files

6.8.2.4. Using dynamic configuration files


Sometimes you may want an application to monitor its own configuration file and reload it when it is altered. But you don't want to restart the server for these changes to take effect. The solution is to use dynamic configuration files.

Dynamic configuration files are especially useful when you want to provide administrators with a configuration tool that modifies an application on the fly. This approach eliminates the need to provide shell access to the server. It can also prevent typos, because the administration program can verify the submitted modifications.

It's possible to get away with Apache::Reload and still have a similar small overhead for the stat( ) call, but this requires the involvement of a person who can modify httpd.conf to configure Apache::Reload. The method described next has no such requirement.

 

Continue to:

  • prev: 6.8.2.3. Using Apache::Reload
  • Table of Contents
  • next: 6.8.2.4.1. Writing configuration files







TOP
previous page: 6.8.2.3. Using Apache::Reload
  
page up: HTML Version of the book
  
next page: 6.8.2.4.1. Writing configuration files


Menu

  • HTML Book
  • PDF Book
  • Download Code
  • Table of Contents
  • Errata
  • mod_perl2 User's Guide
  • Sitemap

Search


Add to Google




Creative Commons License


Written by
Eric Cholet (Logilune) and
Stas Bekman (StasoSphere & Free Books).


[ Privacy Policy | Terms of Use | About Us | Search ]

© 2007 StasoSphere.com