seems not to work also I think problem is actually on the backend part.
I run a perl program that is build in Mojolicious
http://mojolicious.org[root@chat ~]# curl -I http://127.0.0.1:3000
HTTP/1.1 200 OK
Server: Mojolicious (Perl)
So I guess the problem is that the first request "chat.pl" can't actually be sent to the backend because "http://127.0.0.1:3000/chat.pl" does not work.
it works all fine if I reverse proxy / to the app but due to some legacy I have to run some old .cgi scripts also by Hiawatha.
So to think of it I guess what I really need is the other way around all traffic except ".cgi" files should go to the reverse proxy.
so Hiawatha should handle the cgi files, is such a thing even possible?
or alternative I could run the perl script directly in Hiawatha without the mojolicious servers if I can fix the urls somehow, if i run it in Hiawatha it does this when I click a link: http://127.0.0.1/chat.pl/login but it should do http://127.0.0.1/login (but it has to be run by chat.pl).
Do you have any idea perhaps for one of the two?