A
A
animr2017-05-26 13:36:39
Django
animr, 2017-05-26 13:36:39

How are the paths to django written on the hosting servers?

There is a ready-made project (source) written in django, which was previously served on the developer's server. I uploaded all the sources to the server of the company komtet.ru, there is full ssh access. I prescribe the paths as indicated in the documentation of the hoster. But the site gives an error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, re***@ya.ru and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache Server at www.powerinhunt.com Port 80
Please help to launch the project! Thank you!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
AlexandrBirukov, 2017-05-26
@animr

busy-brain.ru/post/9 - vps is best for django

A
Alexander, 2017-05-26
@syschel

The first and main mistake is that sites in Python and under the Django framework have their own installation and launch specifics. It needs, first of all, a very large tambourine and a lot of patience. What is written on the hosting is the rules for HTML (naked) or PHP sites, which are used by "web developers" in 98%. You need to google "install Django on %your_hosting%" or "Deploy django". The easiest way is to ask the hoster to help you, immediately saying that the site is in python`e, or find a freelancer for a one-time installation service, plus compiling step-by-step instructions for its actions.
upd: the difference between html(php) sites and python(django) in web hosting installations is that the former are usually limited to uploading files to a folder strictly specified by the hoster, just as a set of files. And the Django site is installed as a program, relatively speaking "through the installer" and therefore requires more ordinary user rights, more operator knowledge and does not give a damn about the "folder on the server".

A
Anatoly Scherbakov, 2017-05-26
@Altaisoft

The easiest way is to contact the author, which would be simple and natural.
If I read your question on freelancing as an order, then for me it would be a wake-up call. If we assume that the conflict between you and the author was your fault, the same situation can happen with another executor of your orders.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question