Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

I need to execute PHP code as part of a webhook

Started by Astropotamus 2 years ago · 0 replies · 269 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 jeremycherfas, 4 days ago
3 92 11 minutes ago
General · by Old Man Umby, 2 days ago
1 60 2 days ago
General · by Sebastian, 4 days ago
1 81 4 days ago
General · by Andy Miller, 2 weeks ago
0 216 2 weeks ago
General · by ready-4-IT, 6 months ago
1 716 3 weeks ago