(Take1Func) cmd_rack_base_uri,
NULL,
RSRC_CONF,
-diff -wur ext/apache2/Configuration.h ext/apache2/Configuration.h
---- ext/apache2/Configuration.h 2008-08-09 15:19:33.000000000 +0300
-+++ ext/apache2/Configuration.h 2008-09-23 22:06:15.000000000 +0300
-@@ -41,20 +41,25 @@
+diff -wur ext/apache2/Configuration.hpp ext/apache2/Configuration.hpp
+--- ext/apache2/Configuration.hpp 2008-08-09 15:19:33.000000000 +0300
++++ ext/apache2/Configuration.hpp 2008-09-23 22:06:15.000000000 +0300
+@@ -41,21 +41,25 @@
+
+ using namespace std;
+
++struct BaseURIConfig {
++ std::string baseURI;
++ std::string publicDirectory;
++};
- using namespace std;
-
-+ struct BaseURIConfig {
-+ std::string baseURI;
-+ std::string publicDirectory;
-+ };
-+
- /**
- * Per-directory configuration information.
- *
- * Use the getter methods to query information, because those will return
- * the default value if the value is not specified.
- */
- struct DirConfig {
- enum Threeway { ENABLED, DISABLED, UNSET };
- enum SpawnMethod { SM_UNSET, SM_SMART, SM_SMART_LV2, SM_CONSERVATIVE };
-
- Threeway enabled;
-
-- std::set<std::string> railsBaseURIs;
-- std::set<std::string> rackBaseURIs;
-+ std::set<BaseURIConfig*> railsBaseURIs;
-+ std::set<BaseURIConfig*> rackBaseURIs;
-
- /** Whether to autodetect Rails applications. */
- Threeway autoDetectRails;
+ /**
+ * Per-directory configuration information.
+ *
+ * Use the getter methods to query information, because those will return
+ * the default value if the value is not specified.
+ */
+ struct DirConfig {
+ enum Threeway { ENABLED, DISABLED, UNSET };
+ enum SpawnMethod { SM_UNSET, SM_SMART, SM_SMART_LV2, SM_CONSERVATIVE };
+
+ Threeway enabled;
+
+- std::set<std::string> railsBaseURIs;
+- std::set<std::string> rackBaseURIs;
++ std::set<BaseURIConfig*> railsBaseURIs;
++ std::set<BaseURIConfig*> rackBaseURIs;
+
+ /** Whether to autodetect Rails applications. */
+ Threeway autoDetectRails;
diff -wur ext/apache2/DirectoryMapper.h ext/apache2/DirectoryMapper.h
--- ext/apache2/DirectoryMapper.h 2008-08-09 15:19:15.000000000 +0300
+++ ext/apache2/DirectoryMapper.h 2008-09-23 22:13:36.000000000 +0300