=pod =head1 NAME Apache2::ASP::Manual::ConfigXML - Documentation about the XML config file =head1 DESCRIPTION One benefit of keeping all of your application's configuration data in one place is ease of maintenance. Anyone who has had to deal with an application that used hard-coded database connection strings, hostnames or file paths would agree that an application can be rendered unmaintainable by poor configuration. =head1 FILE NAME The default filename of the XML config file is C =head1 CONTENTS The following is an example of the contents of C on B: ^.*$ 1 DefaultApp @ServerRoot@ @ServerRoot@/handlers @ServerRoot@/MEDIA @ServerRoot@/htdocs @ServerRoot@/PAGE_CACHE Apache2::ASP::ApplicationStateManager::SQLite DBI:SQLite:dbname=/tmp/apache2_asp_applications Apache2::ASP::SessionStateManager::SQLite localhost session-id DBI:SQLite:dbname=/tmp/apache2_asp_sessions 30 @ServerRoot@/lib DBI:mysql:databasename:localhost my-username swordfish The following is an example of the C file on B: .* 1 DefaultApp @ServerRoot@ @ServerRoot@\handlers @ServerRoot@\MEDIA @ServerRoot@/htdocs @ServerRoot@\PAGE_CACHE Apache2::ASP::ApplicationStateManager::SQLite DBI:SQLite:dbname=apache2-asp/tmp/sessiontest j@p@n root Apache2::ASP::SessionStateManager::SQLite 127.0.0.1 session-id DBI:SQLite:dbname=apache2-asp/tmp/sessiontest j@p@n root 30 @ServerRoot@\lib DBI:mysql:databasename:hostname j@p@n root =head1 DTD This is the DTD for the XML config file: And this is the XML schema for the config file: =head1 PARSING As of 2007-07-03, the XML config file is parsed by L. Anything that breaks XML::Simple will break Apache2::ASP::Config. =head1 BUGS It's possible that some bugs have found their way into this release. Use RT L to submit bug reports. =head1 HOMEPAGE Please visit the Apache2::ASP homepage at L to see examples of Apache2::ASP in action. =head1 AUTHOR John Drago L =head1 COPYRIGHT AND LICENSE Copyright 2007 John Drago, All rights reserved. This software is free software. It may be used and distributed under the same terms as Perl itself. =cut