Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

I need to execute PHP code as part of a webhook

Started by Astropotamus 2 years ago · 0 replies · 47 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 Jerry Hunt, 3 days ago
2 70 5 hours ago
General · by pamtbaau, 10 hours ago
1 45 9 hours ago
General · by Andy Miller, 22 hours ago
0 43 22 hours ago
General · by Marcel, 12 months ago
6 341 4 days ago
General · by Duc , 5 days ago
3 35 5 days ago