In general, installed django on the openserver. The installation (it seemed to copy) everything to the python, but also left it in the folder where django was (downloaded from the off. Archive and unzipped). In general, I installed 2 domains for each folder, when entering a domain - just the folder structure is displayed (According to the idea, the start page should start, I understand that you need to specify something like Rewrite On, but did not find anything for django) And another problem with the actual display of the .py files (mod_wsgi is installed, without the frame, everything works) Error: Either the CGI script is overloaded. Or: Error message: End of script output before headers: test.py (If I create a clean file and prescribe the path to Perl)

  • What is used openserver describe in detail. Running on windows from under apache2 is possible, but it looks like the instruction will be superfluous, since I see no real need. - Igor

1 answer 1

Openserver for Django is not needed, as well as for the new php is not required.

Django has its own built-in web development server. It starts.

python manage.py runserver 

The default will work on port 8000, http: // localhost: 8000

We launch the second site on another port.

 python manage.py runserver 0.0.0.0:8001 

if we run it like this, it will be accessible from the local network

http: // localhost: 8001 / - local http://192.168.1.141/ - intranet.

Running uwsgi applications like cgi perl is not possible.