HI All,
Whats the minimum I need to parse php snippets within html on out of the box DietPi / Lighty?
In my lighty.conf file I have tried ;
Mapping html to php
fastcgi.map-extensions = ( ".html" => ".php" )
Commenting out
# compress.cache-dir = "/tmp/lighttpd/cache/compress/"
# compress.filetype = ("text/plain", "text/html")
And adding "mod_fastcgi", to the modules list
Have ended up with 'Access Denied' so reverted back to the original!
Any tips?
Ta!
[Solved] Parsing html as php on lighty
[Solved] Parsing html as php on lighty
Last edited by cpcnw on Wed Jul 18, 2018 10:40 am, edited 1 time in total.