Forum

500 Internal server error

Aashish
16 June 2011, 18:47


Hiawatha version:
Operating System: Linux

I have cross - compiled Hiawatha for Arm using arm-linux-gcc. I have placed the hiawatha executable on my target arm board with necessary configuration files. When i access my webserver with url as http://xx.xx.xx.xx , It loads up the web page configured as StartFile. However when i try to access the same webpage like
http://xx.xx.xx.xx/index.html
I am not able to load web page and instead it gives 500 Internal Server Error. This is happening for any webpage.

Please suggest in this regard.
Aashish
16 June 2011, 18:51
Also it is not showing anything in error.log file, it is empty. It is showing access.log file with logs for files accessed.
Hugo Leisink
16 June 2011, 21:12
I've heard more problems with cross compiling. All were weird unexplainable errors and not reproducible for me. I have no idea what could possibly go wrong.
Aashish
20 June 2011, 13:26
Please provide some info how to debug this issue? Should i look into code? I tried debug version as well but its not generating anything in debug.log file.Why the logs are not getting printed.
Hugo Leisink
22 June 2011, 12:01
Use a lot of print statements to see where things go wrong. Print to stderr and start hiawatha with the -d option, otherwise the messages to stderr will be lost.
This topic has been closed.