Add URL rewrites/replacements
[phinde.git] / data / config.php.dist
index 9bd10e4a6d3eb3ff423cef61811aafcb6822c10c..38c04328e38659c816b63c64c72b0fc7ab136d57 100644 (file)
@@ -2,21 +2,25 @@
 $GLOBALS['phinde'] = array(
     //name of the app in the frontend
     'apptitle' => 'website search',
+    //needed for websub
+    'baseurl' => 'http://phinde.example.org/',
     'elasticsearch' => 'http://127.0.0.1:9200/phinde/',
     //whitelist of domains that shall be crawled
     'domains' => array(
         'www.example.org',
         'test.example.org'
     ),
-    //list of URL beginnings that should be ignored
-    'blacklist' => array(
-        'http://bad.example.org/'
-    ),
     //list of regexes for URLs that should not be crawled
     'crawlBlacklist' => array(
     ),
+    //modify URLs with regex
+    'urlRewrites' => array(
+        // '^http://example.org/' => 'https://example.org/',
+    ),
     //verbose output
     'debug' => true,
+    //full path to log file
+    'logfile' => null,
     //time in seconds after which URLs may be re-indexed
     'refreshtime' => 86400,
     //if directly linked URLs shall be indexed, even if they are