I can't have a mess of craft stuff at the root of my server so I try to use the following directory structure, with craft files and folders gathered in a craft directory :
craft -- config -- modules -- storage -- vendor -- etc... www -- index.php -- web.config -- etc.
This structure gives me a 500 error. I assume I can change a path variable somewhere, but I just can't find where. Any ideas ?