Archive > 16.7 Legacy Series

Captive Portal - PHP custom template



We trying to use a template with an index.html that POST some data to a backend written in PHP, this is working on a pfSense 2.2.X but on OPN simply don't execute the PHP code. I already tried to load fastcgi on the lighty conf file but still not working... any clues?

Our captive portal is a very different solution then the one pfSense has, scripting (other then Javascript in the browser) is not allowed on the pages served to the end user for security reasons.

You best read the docs first for a better understanding of the theme functionality

Custom functionality has to be hooked into the API, just like the authentication is done (for reference


[0] Message Index

Go to full version