X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=doc%2FTroubleshooting.html;h=ed1c6f09fa1ae285346f37ff14eda53faefd140c;hb=75f7adee19f3cced8a2d5eb134e9d6723a69a474;hp=98fd53549733eac259c43c1f27ac38b4ef4d4b52;hpb=f8b936e7e75601b5d96525f25d5b52dbabd909b4;p=github%2Fshaarli%2FShaarli.git diff --git a/doc/Troubleshooting.html b/doc/Troubleshooting.html index 98fd5354..ed1c6f09 100644 --- a/doc/Troubleshooting.html +++ b/doc/Troubleshooting.html @@ -4,46 +4,69 @@ - Shaarli - Troubleshooting + Shaarli – Troubleshooting - +
@@ -106,6 +130,7 @@ code > span.er { color: #ff0000; font-weight: bold; }

network.http.referer.trimmingPolicy - trim the URI not to send a full Referer

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.

+

localhost is not a proper Fully Qualified Domain Name (FQDN); if Firefox has been set up to spoof referers, or only 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
@@ -131,23 +156,24 @@ code > span.er { color: #ff0000; font-weight: bold; }

Login form is protected against brute force attacks: 4 failed logins will ban the IP address from login for 30 minutes. Banned IPs can still browse links.

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.

+

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

-
<IfDefine Free>
+
<IfDefine Free>
 php56 1
-</IfDefine>
+</IfDefine>
-
//list($status,$headers,$data) = getHTTP($url,4); // Short timeout to keep the application responsive.
+
//list($status,$headers,$data) = getHTTP($url,4); // Short timeout to keep the application responsive.
 // FIXME: Decode charset according to charset specified in either 1) HTTP response headers or 2) <head> in html 
-//if (strpos($status,'200 OK')) $title=html_extract_title($data);
+//if (strpos($status,'200 OK')) $title=html_extract_title($data);