I have no idea. But funnily enough, I came across something similar, but not as slick, just yesterday, while preparing today's Pick of the Podcasts. I plan to write about it. This just gives me an extra reason.

That would be a boring use, like, you interviewed someone, you write and article, you quote the person, and you stick the sound under the quote. But they have other examples too.

I really, really cannot see the point. It reminds me of a very old TV ad for, I think, IBM, in which two guys were pleased that they had made some text display as if it were on fire.

"SoundCite [soundcite.knightlab.com] is a simple-to-use tool that lets you add inline audio to your story. The audio is not isolated; it plays right under the text you choose."

Really? Why?

Solved, finally, by putting the webhook.php file in the root; all works just fine now. I'm pleased.

On a somewhat related note, it is odd how just asking the questions out loud prompts me to think more deeply for myself. But I can't seem to trigger that in myself without first asking others for help.

//

Erk. Lots, including the Admin.php files and stuff.

I'm going to reinstate the block and get help from the developers.

//

That was it! I removed the block on PHP files and it went through fine.

Now to have a good look and see how many other PHP files there are in that folder.

//

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.