Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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.

Thanks.

share|improve this question
add comment

2 Answers

up vote 0 down vote accepted

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.

share|improve this answer
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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