Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

I need to execute PHP code as part of a webhook

Started by Astropotamus 2 years ago · 0 replies · 461 views
2 years ago

I have a webhook that is expecting to hit a PHP target. I do not have full control over the web server that my Grav site is running on, but I have full control over the location that Grav was installed into. That part works. What I need is to know if I can modify the .htaccess file to allow direct PHP execution in a specific directory inside user/pages or if that will break something.

I do not have control over the name of the script that the webhook is expecting to execute, so I cannot adapt the source; I must adapt Grav.

Any help would be appreciated.

Suggested topics

Topic Participants Replies Views Activity
General · by Hanns Mattes, 7 days ago
0 96 7 days ago
General · by Dima, 2 weeks ago
1 123 2 weeks ago
General · by pamtbaau, 2 weeks ago
0 199 2 weeks ago
General · by lynbor, 2 months ago
5 702 4 weeks ago
General · by Andy Miller, 1 month ago
0 429 1 month ago