Hey all,
am currently working on a project that interacts VERY closely with the underlying OS (Linux,BSD, etc). One of the functions I am wanting to integrate is an apache rewrite/redirect option that can be accessed from the backend.
The problem is that any/all modifications will need to be checked before implemented and so require, currently, a call to apache -f tmpconfigfile -t. unfortunately apache is not always in the same place and is not always called apache.
I would like to be able to conduct this check inline in the script. this will make it more reliable as well as offer up the ability to be able to report exactly where the error on the modification is.
so, my question is: does anyone here know of an existing class/function that offers these capabilities? if so I would be very grateful for a link as I am not looking forward to coding this myself (time constraints are a b*tch).
thanks