Index: trunk/FACT++/src/Configuration.cc
===================================================================
--- trunk/FACT++/src/Configuration.cc	(revision 19453)
+++ trunk/FACT++/src/Configuration.cc	(revision 19454)
@@ -468,4 +468,6 @@
     if (prgname.empty())
         return;
+
+    const boost::filesystem::path rc(fName+".rc");
 
     po::options_description generic("Generic options");
@@ -495,6 +497,6 @@
         ("database",    var<string>(), "Database link as in\n\t[user[:password]@]server.com[:port]/database[?compress=0|1]\nOverwrites options from the default configuration file.")
         ("no-database",                "Suppress any access to the database even if a database URL was set.")
-        ("default",     var<string>(fName+string(".rc")), "Default configuration file.")
-        ("prefix",      var<string>(), "Path to default configuration file.")
+        ("default",     var<string>(rc.filename().string()), "Name of default configuration file.")
+        ("prefix",      var<string>(rc.parent_path().string()), "Path to default configuration file.")
         ;
 
