1👍
✅
You have set this up to listen on port 8001 and rooted at /basic
, so you need to access www.myhostname.com:8001/basic
.
Note that you shouldn’t set DocumentRoot
to the location of your Django files. It isn’t necessary to serve a Django app, and it could potentially be a security risk – a misconfiguration could mean that your code files, including any db passwords, might be served.
Source:stackexchange.com