For example - I added /slots and put all of the contents of the website there but it is showing as a directory tree not as the functioning website.

http://sharedsquared.org/slots/

I have done this before successfully, I thought I just added the folder to the directory and it worked.

有帮助吗?

解决方案

Your CSS and JS code are not loading. In Chrome, open developer tools, and see the Javascript console. You're getting 3 404 errors. Your application is in a folder /slots, change the path to your css and js files to:

/slots/Content/reset.css  
/slots/Content/slots.css  
/slots/scripts/slots.js 

or:

./Content/reset.css  
./Content/slots.css  
./scripts/slots.js 

-Jim

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top