|Version 1 (modified by Carl Karsten <carl@…>, 7 years ago) (diff)|
Differences between Devserver and Apache
Running with ./manage.py devserver is very handy, but it may allow you to create things that won't 'just work' when you move the site to Apache. (or other servers.)
As I run into troubles porting my site, I hear things like "maybe it is because X." I call this a rumor. I also hear "Yes, X happens because Y." If Y supports X, I call it a confirmed rumor. So onto the rumors.
- Devserver adds installed apps to PythonPath, Apache does not.
- Default Apache config does not follow SymLinks, Devserver does. (There are FollowSymLinks and other options if you need them. http://httpd.apache.org/docs/2.0/mod/core.html#options )