I’m confused. What about your urls requires php? Can you give an example of exactly what each piece of code would be doing so I can understand what you need a little better?
You do not want to rewrite all the php code in GoLang but you still want to use the accounting package
in GoLang you have your routes and URL for /admin/accounting… How would you allow GoLang to bypass all of its stuff and directly hand everything off to php? So GoLang will just step out of the way on everything that is /admin/accounting URL
I need to put that php code and perl code and some python code under different URL’s in GoLang… So I am looking for a easy way to hand off in GoLang to those different kinds of languages… Fork is not passing the POST/GET data…and it’s not passing the HTML back to the browser…
I know someone most haft a simple solution for this…legacy code in newer languages…like GoLang
Not understanding what you are trying to say. Are you basically talking about channels or like unix pipe? Have php code run and pipe that into a channel in golang? Or some kind of socket.
PHP can run with or with out a webserver. I am not using Apache. I am on Nginx and I have a work around in Nginx with Nginx cutting off GoLang when it detects a PHP URL and dose not pass the traffic to GoLang but I would prefer to do everything inside of GoLang URL Routes not have Nginx heading off what goes to GoLang.