I found this thread after I tried lychee on multiple of my sites when deploying them to a staging environment and always had problems of no results.
Basic auth is a must in these situations, so I was happy that lychee supports it.
As an additional complication, the CMS we’re using sends an X-Robots-Tag: none response header in staging environments, as it is deliberately not supposed to be indexed. Is that something that lychee supports, or does it ignore that header? From the messages in the above thread, I could not find out if robots.txt is ignored at the moment, or not.
Right now, I get the following response:
🔍 0 Total (in 0s) ✅ 0 OK 🚫 0 Errors
The format I’m using is:
lychee --basic-auth 'user:password https://subdomain.domain.tld' https://subdomain.domain.tld
There are about 500 links on that page, I verified with curl that the basic auth is working correctly. It returns the HTML response.
I found this thread after I tried lychee on multiple of my sites when deploying them to a staging environment and always had problems of no results.
Basic auth is a must in these situations, so I was happy that lychee supports it.
As an additional complication, the CMS we’re using sends an
X-Robots-Tag: noneresponse header in staging environments, as it is deliberately not supposed to be indexed. Is that something that lychee supports, or does it ignore that header? From the messages in the above thread, I could not find out if robots.txt is ignored at the moment, or not.Right now, I get the following response:
The format I’m using is:
There are about 500 links on that page, I verified with curl that the basic auth is working correctly. It returns the HTML response.