Does this post help you?
http://community.wowza.com/t/what-needs-to-be-done-to-get-streampublisher-and-moduleloopuntillive-to-work/48418
We have a video tutorial as well that sets up stream publisher and discusses different options:
If you still need help with getting the path to work, please submit a support ticket so the engineers can review your configuration and logs.
Lastly, since you can configure this at the server or application level, please review the sample code we have on this as well here on our GitHub.