Thanks Jason. I'm trying to do some more systematic "debugging," if you can call it that, and it looks like I can get two kinds of erros when attempting to deploy the webhook. I can get both a 301 and a 404, and I think the 404 is a response to the htaccess.

I'm going to try and remove the block on php files in that folder now; just worried about the security implications. Not sure how many other PHP files there are in that folder, but it has to be worth a quick try.

Need help with a webhook question.

I'm following advice and trying to streamline the sync on my grav site so that only the /user folder is synced ffrom local to github and thence to production via a webhook. But I keep getting a 301 From github when the webhook tries to deliver the payload.

I found this in my htaccess

# Block access to specific file types for these user folders
RewriteRule ^(user)/(.*)\.(txt|md|yaml|php|pl|py|cgi|twig|sh|bat)$ error [F]

And I'm thinking, maybe that's it, because the webhook is a PHP file.

So, questions:

  1. Can I bypass that rule for a very specific URL to the webhook.php file? (How?)
  2. Is there some better way of doing what I want?

Thanks.

The stories the book's author told, about landlords etc. Corroborated by someone from the UK.

That book was the basis of a story on one of the podcasts recently. Planet Money? No, Thinking Allowed, and it was pretty awful.

What does "natural-processed" mean in coffee circles?

I can relate. I suppose what I'm doing is word crunching, and it is also boring and mindless.

Gold!

//

That does sound like a change for the better. Fingers crossed.

That's great. Is it something you want?

I should subcontract.Actually, that's not the prime purpose of the job, which is to revise a scheme of categories and tags. That requires me to check each of about 150 links, and along the way I am smugly finding broken links, typos etc.