I was wondering what type of server is using python & django because i don't know if can i use an .htaccess file and if there is something similar.


2 Answers 2


Python and Django can run on Apache so you can use an .htaccess file on that setup. It also runs on several other server setups which have support for .htaccess-like functions.

In short, you're good...go with it.


Apache is the one who uses .htaccess files. It is a modular server with many default modules plus ones you can install yourself.

If you want to use Python then you need the mod_python module. Depending on your installation, it may be there or not as a default module.

Django is a framework which depends on Python and a database which is often MySQL but can be Postgres or Oracle according to the installation docs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.