X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=doc%2FTroubleshooting.html;h=f43e6ed302660b61a2bb8c4082538cfb92aa8f5b;hb=807cade64c571929dc19afe3d44787c5abe84f57;hp=0d58f3214c0e3cbf2a85fd26ff04b9991fd2e033;hpb=fa72470d5d14082e6c05b83f3f32439298dbc0e3;p=github%2Fshaarli%2FShaarli.git diff --git a/doc/Troubleshooting.html b/doc/Troubleshooting.html index 0d58f321..f43e6ed3 100644 --- a/doc/Troubleshooting.html +++ b/doc/Troubleshooting.html @@ -52,29 +52,28 @@ code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Inf
@@ -133,6 +132,7 @@ code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Inf

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
@@ -174,7 +174,7 @@ Search for failed in this file to look for unauthorized login attem
  • If you have the error Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /…/index.php on line xxx, it means that your host has disabled the ability to fetch a file by HTTP in the php config (Typically in 1and1 hosting). Bad host. Change host. Or comment the following lines:
  • //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 
    +// 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);