Closed r-nikhil closed 7 years ago
Hello! I noticed from the log file it mentions "Apache/2.4.18 (Win64)", which the documentation doesn't covers yet. In this case you will need the Lua C libraries compiled for Win64 - the libraries included with the Lua For Windows installer, for example, are 32-bit.
You should consider a parallel 32-bit installation of Apache/2.4.18 - just make sure the LuaPackageCPath points to the right path where Lua for Windows is installed and it should work as expected
Okay. I downloaded the 32 bit version of Apache. I still get an 500 Internal Server error. Here is my error log
Could Lua have been installed to "C:/Program Files (x86)/Lua/" instead of "C:/Program Files/Lua/" as indicated in the LuaPackage* directives?
I was about to edit my previous comment with the updated error log. I noticed my mistake and changed it. This is the new log
It looks like you need some missing dependencies in the 'C:/Program Files (x86)/Lua/5.1/lua/' directory, this one: https://github.com/sailorproject/remy/tree/master/src
Yes. Noticed that in the logs. I was missing latclient also. Now, after installing both, when I point my browser at the Sailor sample app it just says "webpage not available" and "connection reset". Any pointers on that ?
Can you post the new log? These dependencies were included with this repo in the past. Now they are installed through luarocks. This is why they are missing here - an updated version of the doc should mention this.
Logs . Do you mind if I edit the docs to reflect the same ?. Anyone with a vanilla Lua installation on windows would be facing the same problem as me I think.
Yes, 0.4-1 is the latest. Please feel free to update the docs. Your contribution is very welcome.
I'm not sure what is wrong now - the log is not indicating the issue... I think.
I think I will just downgrade my Lua installation in my Linux system and poke around Sailor using that
Can you post a more clean version of the log without the previous errors that were fixed?
This is the final log. I am not able to find anything relevant from them
I will try to reproduce this later today. Are you using Windows 10 64-bit?
No. Windows 7. 64 bit
I am going to try a clean install of lua/luarocks now. Hopefully that solves the problem
I am going to try a clean install of lua/luarocks now. Hopefully that solves the problem
@rnikhil275 I didn't check your error logs (too lazy, sorry :P) but I did check your conf file.
Under <Directory "c:/Apache24/htdocs">
, you should change AllowOverride None
to AllowOverride All
. That is definitely an issue there (probably not the only one). You should restart apache after that.
I am sorry I don't have access to a windows machine now. It's at my home and I am staying at college hostel since my exams are going on. I cannot provide any updates on the issue for another 5 days. :worried:
When I visit "localhost/sailor" it just prints out what is inside the index.lua file. I added everything mentioned here in the apache conf file.
My conf file My error log
I can't seem to figure out where it's going wrong. I have Lua 5.1 installed. I was getting 500 Internal Server error in the beginning but after some refactoring of the conf file it changed to this