Fix bug #3384416: Update documentation to explain HTTP/HTTPS root problem

This commit is contained in:
Christian Weiske 2011-08-06 10:34:13 +02:00
parent 5571ec0a4d
commit 2807d04083
3 changed files with 25 additions and 1 deletions

View File

@ -81,13 +81,15 @@ $theme = 'default';
/** /**
* SemanticScuttle root directory. * SemanticScuttle root directory.
*
* Set to NULL to autodetect the root url of the website. * Set to NULL to autodetect the root url of the website.
* *
* If your installation is in a subdirectory like * If your installation is in a subdirectory like
* "http://www.example.com/semanticscuttle/" then * "http://www.example.com/semanticscuttle/" then
* replace NULL by your address (between "" and with trailing '/') * 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 * @var string
*/ */
$root = null; $root = null;

View File

@ -7,6 +7,7 @@ ChangeLog for SemantiScuttle
------------------- -------------------
- Fix bug #3385724: Rename tag ends with XML Parsing Error - Fix bug #3385724: Rename tag ends with XML Parsing Error
- Fix bug #3386178: "system:unfiled" secret tag does not work - 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 Run ``scripts/fix-unfiled-tags.php`` to fix old bookmarks that miss the
``system:unfiled`` tags. ``system:unfiled`` tags.

View File

@ -56,3 +56,24 @@ per-host configuration files:
- ``data/config.$hostname.php`` - ``data/config.$hostname.php``
- ``/etc/semanticscuttle/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/";