Doc: sync from Wiki, generate HTML
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
This commit is contained in:
parent
f8bf8d8e59
commit
6335a0fc0c
31 changed files with 128 additions and 3 deletions
|
@ -32,6 +32,7 @@
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
|
@ -51,6 +51,7 @@ code > span.er { color: #ff0000; font-weight: bold; }
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
|
@ -51,6 +51,7 @@ code > span.er { color: #ff0000; font-weight: bold; }
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
|
@ -51,6 +51,7 @@ code > span.er { color: #ff0000; font-weight: bold; }
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
|
@ -51,6 +51,7 @@ code > span.er { color: #ff0000; font-weight: bold; }
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
|
@ -51,6 +51,7 @@ code > span.er { color: #ff0000; font-weight: bold; }
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
|
@ -51,6 +51,7 @@ code > span.er { color: #ff0000; font-weight: bold; }
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
|
@ -51,6 +51,7 @@ code > span.er { color: #ff0000; font-weight: bold; }
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
|
@ -51,6 +51,7 @@ code > span.er { color: #ff0000; font-weight: bold; }
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
|
@ -51,6 +51,7 @@ code > span.er { color: #ff0000; font-weight: bold; }
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
|
@ -51,6 +51,7 @@ code > span.er { color: #ff0000; font-weight: bold; }
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
|
@ -51,6 +51,7 @@ code > span.er { color: #ff0000; font-weight: bold; }
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
|
@ -51,6 +51,7 @@ code > span.er { color: #ff0000; font-weight: bold; }
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
@ -74,6 +75,54 @@ code > span.er { color: #ff0000; font-weight: bold; }
|
|||
</ul>
|
||||
</div>
|
||||
<h1 id="troubleshooting">Troubleshooting</h1>
|
||||
<h2 id="browser">Browser</h2>
|
||||
<h3 id="redirection-issues-http-referer">Redirection issues (HTTP Referer)</h3>
|
||||
<p>Depending on its configuration and installed plugins, the browser may remove or alter (spoof) HTTP referers, thus preventing Shaarli from properly redirecting between pages.</p>
|
||||
<p>See:</p>
|
||||
<ul>
|
||||
<li><a href="https://en.wikipedia.org/wiki/HTTP_referer">HTTP referer</a> (Wikipedia)<a href=".html"></a></li>
|
||||
<li><a href="http://www.ghacks.net/2015/01/22/improve-online-privacy-by-controlling-referrer-information/">Improve online privacy by controlling referrer information</a><a href=".html"></a></li>
|
||||
<li><a href="http://b.agilob.net/better-security-privacy-and-anonymity-in-firefox/">Better security, privacy and anonymity in Firefox</a><a href=".html"></a></li>
|
||||
</ul>
|
||||
<h3 id="firefox-http-referer-options">Firefox HTTP Referer options</h3>
|
||||
<p>HTTP settings are available by browsing <code>about:config</code>, here are the available settings and their values.</p>
|
||||
<p><code>network.http.sendRefererHeader</code> - determines when to send the Referer HTTP header</p>
|
||||
<ul>
|
||||
<li>0: Never send the referring URL
|
||||
<ul>
|
||||
<li>not recommended, may break some sites</li>
|
||||
</ul></li>
|
||||
<li>1: Send only on clicked links</li>
|
||||
<li>2 (default): Send for links and images</li>
|
||||
</ul>
|
||||
<p><code>network.http.referer.XOriginPolicy</code> - Cross-domain origin policy</p>
|
||||
<ul>
|
||||
<li>0 (default): Always send</li>
|
||||
<li>1: Send if base domains match</li>
|
||||
<li>2: Send if hosts match</li>
|
||||
</ul>
|
||||
<p><code>network.http.referer.spoofSource</code> - Referer spoofing (~faking)</p>
|
||||
<ul>
|
||||
<li>false (default): real referer</li>
|
||||
<li>true: spoof referer (use target URI as referer)</li>
|
||||
</ul>
|
||||
<p><code>network.http.referer.trimmingPolicy</code> - trim the URI not to send a full Referer</p>
|
||||
<ul>
|
||||
<li>0 (default): send full URI</li>
|
||||
<li>1: scheme+host+port+path</li>
|
||||
<li>2: scheme+host+port</li>
|
||||
</ul>
|
||||
<h3 id="firefox-localhost-and-redirections">Firefox, localhost and redirections</h3>
|
||||
<p><code>localhost</code> is not a proper Fully Qualified Domain Name (FQDN); if Firefox has been set up to spoof referers, or anly accept requests from the same base domain/host, Shaarli redirections will not work properly.</p>
|
||||
<p>To solve this, assign a local domain to your host, e.g.</p>
|
||||
<pre><code>127.0.0.1 localhost desktop localhost.lan
|
||||
::1 localhost desktop localhost.lan</code></pre>
|
||||
<p>and browse Shaarli at <a href="http://localhost.lan/" class="uri">http://localhost.lan/</a>.</p>
|
||||
<p>Related threads:</p>
|
||||
<ul>
|
||||
<li><a href="https://bbs.archlinux.org/viewtopic.php?id=156064">What is localhost.localdomain for?</a><a href=".html"></a></li>
|
||||
<li><a href="https://github.com/shaarli/Shaarli/issues/311">Stop returning to the first page after editing a bookmark from another page</a><a href=".html"></a></li>
|
||||
</ul>
|
||||
<h2 id="login">Login</h2>
|
||||
<h3 id="i-forgot-my-password">I forgot my password!</h3>
|
||||
<p>Delete the file <code>data/config.php</code> and display the page again. You will be asked for a new login/password.</p>
|
||||
|
@ -83,6 +132,7 @@ code > span.er { color: #ff0000; font-weight: bold; }
|
|||
<h3 id="list-of-all-login-attempts">List of all login attempts</h3>
|
||||
<p>The file <code>data/log.txt</code> shows all logins (successful or failed) and bans/lifted bans.<br />Search for <code>failed</code> in this file to look for unauthorized login attempts.</p>
|
||||
<h2 id="hosting-problems">Hosting problems</h2>
|
||||
<h3 id="old-php-versions">Old PHP versions</h3>
|
||||
<ul>
|
||||
<li>On <strong>free.fr</strong> : Please note that free uses php 5.1 and thus you will not have autocomplete in tag editing. Don't forget to create a <code>sessions</code> directory at the root of your webspace. Change the file extension to <code>.php5</code> or create a <code>.htaccess</code> file in the directory where Shaarli is located containing:</li>
|
||||
</ul>
|
||||
|
|
|
@ -1,7 +1,53 @@
|
|||
#Troubleshooting
|
||||
## Browser
|
||||
### Redirection issues (HTTP Referer)
|
||||
Depending on its configuration and installed plugins, the browser may remove or alter (spoof) HTTP referers, thus preventing Shaarli from properly redirecting between pages.
|
||||
|
||||
See:
|
||||
- [HTTP referer](https://en.wikipedia.org/wiki/HTTP_referer) (Wikipedia)[](.html)
|
||||
- [Improve online privacy by controlling referrer information](http://www.ghacks.net/2015/01/22/improve-online-privacy-by-controlling-referrer-information/)[](.html)
|
||||
- [Better security, privacy and anonymity in Firefox](http://b.agilob.net/better-security-privacy-and-anonymity-in-firefox/)[](.html)
|
||||
|
||||
### Firefox HTTP Referer options
|
||||
HTTP settings are available by browsing `about:config`, here are the available settings and their values.
|
||||
|
||||
`network.http.sendRefererHeader` - determines when to send the Referer HTTP header
|
||||
- 0: Never send the referring URL
|
||||
- not recommended, may break some sites
|
||||
- 1: Send only on clicked links
|
||||
- 2 (default): Send for links and images
|
||||
|
||||
`network.http.referer.XOriginPolicy` - Cross-domain origin policy
|
||||
- 0 (default): Always send
|
||||
- 1: Send if base domains match
|
||||
- 2: Send if hosts match
|
||||
|
||||
`network.http.referer.spoofSource` - Referer spoofing (~faking)
|
||||
- false (default): real referer
|
||||
- true: spoof referer (use target URI as referer)
|
||||
|
||||
`network.http.referer.trimmingPolicy` - trim the URI not to send a full Referer
|
||||
- 0 (default): send full URI
|
||||
- 1: scheme+host+port+path
|
||||
- 2: scheme+host+port
|
||||
|
||||
### Firefox, localhost and redirections
|
||||
`localhost` is not a proper Fully Qualified Domain Name (FQDN); if Firefox has been set up to spoof referers, or anly accept requests from the same base domain/host, Shaarli redirections will not work properly.
|
||||
|
||||
To solve this, assign a local domain to your host, e.g.
|
||||
```
|
||||
127.0.0.1 localhost desktop localhost.lan
|
||||
::1 localhost desktop localhost.lan
|
||||
```
|
||||
|
||||
and browse Shaarli at http://localhost.lan/.
|
||||
|
||||
Related threads:
|
||||
- [What is localhost.localdomain for?](https://bbs.archlinux.org/viewtopic.php?id=156064)[](.html)
|
||||
- [Stop returning to the first page after editing a bookmark from another page](https://github.com/shaarli/Shaarli/issues/311)[](.html)
|
||||
|
||||
## Login
|
||||
### I forgot my password!
|
||||
|
||||
Delete the file `data/config.php` and display the page again. You will be asked for a new login/password.
|
||||
|
||||
### I'm locked out - Login bruteforce protection
|
||||
|
@ -10,11 +56,11 @@ Login form is protected against brute force attacks: 4 failed logins will ban th
|
|||
To remove the current IP bans, delete the file `data/ipbans.php`
|
||||
|
||||
### List of all login attempts
|
||||
|
||||
The file `data/log.txt` shows all logins (successful or failed) and bans/lifted bans.
|
||||
Search for `failed` in this file to look for unauthorized login attempts.
|
||||
|
||||
## Hosting problems
|
||||
### Old PHP versions
|
||||
* On **free.fr** : Please note that free uses php 5.1 and thus you will not have autocomplete in tag editing. Don't forget to create a `sessions` directory at the root of your webspace. Change the file extension to `.php5` or create a `.htaccess` file in the directory where Shaarli is located containing:
|
||||
|
||||
```ini
|
||||
|
@ -56,5 +102,4 @@ This can be caused by several things:
|
|||
Follow the instructions in the error message. Make sure you are accessing shaarli via a direct IP address or a proper hostname. If you have **no dots** in the hostname (e.g. `localhost` or `http://my-webserver/shaarli/`), some browsers will not store cookies at all (this respects the [HTTP cookie specification](http://curl.haxx.se/rfc/cookie_spec.html)).[](.html)
|
||||
|
||||
### pubsubhubbub support
|
||||
|
||||
Download [publisher.php](https://pubsubhubbub.googlecode.com/git/publisher_clients/php/library/publisher.php) at the root of your Shaarli installation and set `$GLOBALS['config'['PUBSUBHUB_URL']` in your `config.php`]('PUBSUBHUB_URL']`-in-your-`config.php`.html)
|
||||
|
|
|
@ -51,6 +51,7 @@ code > span.er { color: #ff0000; font-weight: bold; }
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
@ -74,6 +75,7 @@
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
- [Backup, restore, import and export](Backup,-restore,-import-and-export.html)
|
||||
- [Copy an existing installation over SSH and serve it locally](Copy-an-existing-installation-over-SSH-and-serve-it-locally.html)
|
||||
- [Download CSS styles from an OPML list](Download-CSS-styles-from-an-OPML-list.html)
|
||||
- [Datastore hacks](Datastore-hacks.html)
|
||||
- [Troubleshooting](Troubleshooting.html)
|
||||
- [Development](Development.html)
|
||||
- [GnuPG signature](GnuPG-signature.html)
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
<li><a href="Backup,-restore,-import-and-export.html">Backup, restore, import and export</a></li>
|
||||
<li><a href="Copy-an-existing-installation-over-SSH-and-serve-it-locally.html">Copy an existing installation over SSH and serve it locally</a></li>
|
||||
<li><a href="Download-CSS-styles-from-an-OPML-list.html">Download CSS styles from an OPML list</a></li>
|
||||
<li><a href="Datastore-hacks.html">Datastore hacks</a></li>
|
||||
</ul></li>
|
||||
<li><a href="Troubleshooting.html">Troubleshooting</a></li>
|
||||
<li><a href="Development.html">Development</a>
|
||||
|
|
Loading…
Reference in a new issue