Version 10 (modified by anonymous, 8 years ago) (diff)

fix typo

Differences between devserver and Apache

Running with ./ devserver is very handy, but things may not 'just work' when you move the site to Apache. (or other servers.)

  • devserver's current dir may not be the same as apache's. so if your view code references files with relative paths you will have trouble.
  • some request.META keys are different, e.g. on the devserver the Content-Type is in request.META['CONTENT_TYPE'] while on mod_python that key exists but the value is always None and the actual value is in request.META['HTTP_CONTENT_TYPE']

Back to Top