1. In setting file: ROOT_PATH='/home/ronglian/project/taskschedule' STATIC_URL = '/static/' STATICFILES_DIRS=( # Put strings here, like "/home/html/static" or "C:/www/django/static". # Always use forward slashes, even on Windows. os.pa…
Today, I’d like to take a quick moment to demonstrate how to make a simple file server using Rewrite, and any Servlet Container, such as Tomcat, Wildfly, or Jetty. This can enable much easier file updates for static content, such as preventing the ne…