How to deploy a HTML5 game on Apache?
I have packaged a game on HTML5 and it works fine when using the HTML5LauncherHelper.exe.
However I then uploaded everything to my web server and couldn't get it to work.
Sometimes I would get a 500 internal server error, probably because of a bad .htaccess file edit.
Sometimes the page would load but the game wouldn't work. It says in a red rectangle in the middle, "Uncaught Syntax Error: Unexpected token ILLEGAL", and the log stops at "downloading symbols file".
So this is overall very confusing, I have absolutely no knowledge of .htaccess files, http.conf, apache, etc. So how do I properly edit the htaccess to get it working, in a very noob language please?
By the way: the documentation seems to be very outdated: we no longer need to dowload emscriptem, python, etc. Also it needs info on how to deploy for the web.
Got it working! I had the server 500 error as well as a bunch of other ones.
Changed the .htaccess file to this;
No directory required!
Courtesy of Froffs at the forums; https://forums.unrealengine.com/showthread.php?87438-html5-SimpleHTTPServer-how-to-run-another-server
Follow this question
Once you sign in you will be able to subscribe for any updates here