]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
Fix bug #3384416: Update documentation to explain HTTP/HTTPS root problem
authorChristian Weiske <cweiske@cweiske.de>
Sat, 6 Aug 2011 08:34:13 +0000 (10:34 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Sat, 6 Aug 2011 08:34:13 +0000 (10:34 +0200)
data/config.default.php
doc/ChangeLog
doc/configuration.rst

index c850521a9c8d7105e7f586eb83dc9a492f308ae9..9c2f7f352e6bd1ef0283db43acfd8a09dee32e95 100644 (file)
@@ -81,13 +81,15 @@ $theme = 'default';
 
 /**
  * SemanticScuttle root directory.
- *
  * Set to NULL to autodetect the root url of the website.
  *
  * If your installation is in a subdirectory like
  * "http://www.example.com/semanticscuttle/" then
  * replace NULL by your address (between "" and with trailing '/')
  *
+ * The autodetection works for both HTTP and HTTPS urls.
+ * If you offer HTTP *only*, then set your root url here.
+ *
  * @var string
  */
 $root = null;
index 860a213d29aeb78d023789aa188efbf779ed7a02..b7bf843b7015dfecaf9aba2db243aeb8201112cb 100644 (file)
@@ -7,6 +7,7 @@ ChangeLog for SemantiScuttle
 -------------------
 - Fix bug #3385724: Rename tag ends with XML Parsing Error
 - Fix bug #3386178: "system:unfiled" secret tag does not work
+- Fix bug #3384416: Update documentation to explain HTTP/HTTPS root problem
 
 Run ``scripts/fix-unfiled-tags.php`` to fix old bookmarks that miss the
 ``system:unfiled`` tags.
index f457ebbe7ee4e45304cf35cb3b3cf640a8724310..c34318a26d9d4d296f72f89d78bc4ffb05fa7242 100644 (file)
@@ -56,3 +56,24 @@ per-host configuration files:
 - ``data/config.$hostname.php``
 - ``/etc/semanticscuttle/config.$hostname.php``
 
+
+
+Configuration options
+=====================
+``$root`` URL
+-------------
+Normally, this configuration setting is detected automatically and will
+work for both HTTP and HTTPS installations.
+
+If your installation is available on **HTTP only**, then you need to configure
+it.
+
+The value is the full URL to your installation, including a trailing
+slash::
+
+    $root = "http://homepage.example.org/semanticscuttle/";
+
+or::
+
+    $root = "http://bookmarks.example.org/";
+