The django tag has no wiki summary.
0
votes
2answers
45 views
Nginx - when tunnel the url redirects without port number
My problem is very similar to this: nginx proxy pass redirects ignore port
I am using nginx 1.0.14.
I want to be able to ssh-tunnel into my Django website, so I can work remotely. I've tested a ...
-1
votes
0answers
38 views
django-gunicorn-nginx: 502 bad gateway
I'm trying to ship my web application to the server and this is my first time configuring the server. I'm using django-gunicorn-nginx setup by following this tutorial ...
0
votes
1answer
22 views
Deploying django project under sub-URL with Apache/FastCGi
I am trying to deploy a django project under a sub-URL on hostgator hosting. Here is the tutorial I was following: http://support.hostgator.com/articles/django-with-fastcgi
My index.fcgi looks like ...
0
votes
1answer
49 views
Nginx,Uwsgi and Django App Not Found
I have configured Nginx with uWSGI and Django on CentOS.
Django Directory(contains all my django app): /home
Django Project Directory: /home/hdblog
/home/hdapp.py contains below:
import os, sys
...
-2
votes
0answers
26 views
Low cost Django Hosting [closed]
I'm looking for a low cost web hosting for a simple shopping cart project in Django.
Is http://www.mochahost.com compatible Django? And how about http://www.webfaction.com? Some people said it only ...
1
vote
2answers
17 views
Why Won't Apache Fully Stop or Restart? I have to manually Kill every time
I have a configured EC2 server running Ubuntu 11.10 running a Django App on Apache2/WSGI. This server works perfectly, stops and restarts without any problems.
When I clone this instance, everything ...
2
votes
0answers
20 views
Running django custom management commands wirh supervisord
I'd like to use supervisord to run some commands for my django project but I keep getting the following error:
supervisor.log:
2012-05-18 17:52:15,784 INFO spawnerr: can't find command 'source'
...
0
votes
0answers
40 views
cx_Oracle - InterfaceError: Unable to acquire Oracle environment handle
I have installed Django on Ubuntu 12.04 behind NGINX with uWSGI.
I use Postgresql as the main database for the application however I need to retrieve some data from an Oracle database.
I have ...
0
votes
1answer
12 views
Serve PHP page mapped as part of Django's (Python's) virtualhost
I have a question similar to this: Apache : Map one virtualhost to a subdirectory of another virtualhost
Except mine is about serving PHP within Django's domain like that:
example.com serves ...
0
votes
1answer
21 views
ngnix on amazon ec2 instance which has RedHat 4.4.4-13?
I have an ec2 instance running on amazon which has AMI(ami-1b814f72).Its running RedHat 4.4.4-13 version.
I want to install ngnix and gunicorn on with django. According to ngnix ...
1
vote
1answer
40 views
uwsgi memory usage optimisation
I'm running several django sites on uwsgi, and I'm attempting to optimise my configuration for memory usage, but the --idle and --die-on-idle flags don't seem to be doing anything.
Each daemon starts ...
-4
votes
0answers
95 views
Using an old P4 as a web server [closed]
I have an old P4 that has been getting too much dust lately, and a shared hosting account whose provider forces me to stick with PHP5.3.10 (now that PHP5.3.13 and PHP5.4.3 have been released). There's ...
0
votes
1answer
30 views
Should I be setting up my Django app on my server via SSH or locally? [closed]
Ok noob question: I have a little micro AWS EC2 instance running, and I'm going through this Django tutorial. SSH'ing into my EC2 means that all the work I'm doing, like editing the config files, ...
0
votes
1answer
62 views
Django hosting on linux - what's the most memory-efficient technique?
I've got a VPS (Ubuntu 10.04, 512MB) on which I host 10-15 django sites, most of which have intermittent traffic. I'm wondering what the best hosting technique is in this situation, where the ...
-2
votes
1answer
62 views
Django: Nginx with wsgi or uwsgi
Which one has better performance, stability? Which monitoring tool should also be the best choice ? Thanks for your answers!
0
votes
0answers
24 views
Apache sethandler to execute .php files
I've a website made with Python/Django.
Actually I need to put a CRM made with php under the /crm location.
I came up with this configuration file, but it doesn't work as expected.
Apache always ...
0
votes
4answers
695 views
Postgres used in Ubuntu 12.04
I am trying to get django running on an ubuntu 12.04 release using postgres (clean install). To get it running it used to be that you would have to edit the /etc/postgresql/9.1/main/pg_hba.conf file. ...
0
votes
1answer
28 views
centos: unable to write to whoosh indexes
got a problem here. In my development server, I ran into a problem when I try to search using django/haystack with the whoosh backend engine.
The path to your Whoosh index ...
0
votes
0answers
72 views
Django and Ruby on Rails - What is more mature in terms of security and ease of use? [closed]
I am currently in the decision making process for a CMS system that does not depend on PHP out of security reasons and for personal taste.
Basically for me it comes down to the technical and security ...
3
votes
1answer
53 views
Should production web servers use a gateway host for SSH in Django apps even though Fabric doesn't support it?
My firm manages a fairly large array of production servers across a number of servers. Our production server, by convention, only allow SSH access from a handful of gateway hosts. Most of these web ...
2
votes
1answer
50 views
Apache with nginx front-end takes gets pegged 100% CPU with Django app
I recently launched a web app that gets constantly pegged at 100% CPU. My server is a 512 MB Linode with nginx sitting in front of Apache (MPM Worker) serving a Django app. This app is unusual in that ...
2
votes
1answer
59 views
Apache, mod_wsgi, Django Error When Not SSH'd In To Server
I'm getting some strange errors that I've worked through to this point.
I have an Ubuntu server setup with Apache + mod_wsgi + Django. When I'm SSH'd into the server, I can access the website fine ...
0
votes
2answers
66 views
Nginx Doesn't serve Static Files [closed]
Possible Duplicate:
nginx+django serving static files
I followed this guide to deploy Django + Nginx on Ubuntu 11.10. Django works well but doesn't serve any static files.
Here is an ...
1
vote
1answer
118 views
Arch Linux with an nginx/django setup refuses to display ANYTHING
I'm on Amazon Ec2, with an Arch Linux server. While I truly am loving it, I'm having the issue of actually getting nginx to display anything. Everytime I try to throw my hostname into the browser, the ...
2
votes
1answer
90 views
How to reduce celeryd memory consumption?
I'm using celery 2.5.1 with django on a micro ec2 instance with 613mb memory and as such have to keep memory consumption down.
Currently I'm using it only for the scheduler "celery beat" as a web ...
0
votes
1answer
107 views
Does uwsgi workers share a common memory ? [ With Nginx ]
I have configured my Nginx with Django uwsgi.
When the django server starts, it reads a 5MB file from the hard-disk.
Now,
Without Nginx with Django default server
python manage.py runserver => Runs ...
0
votes
1answer
289 views
How to run Django 1.3/1.4 on uWSGI on nginx on EC2 (Apache2 works)
I am posting a question on behalf of my administrator. Basically he wants to set up Django app (made on Django 1.3, but will be moving to Django 1.4, so it should not really matter which one of these ...
1
vote
1answer
71 views
EC2 configuration for medium load service on Django
I have created a very basic Django application which puts an email to the database (Coming soon page for a startup).
I launched a t1.micro instance to try out which load it can carry out.
...
2
votes
2answers
59 views
Any way to change the default umask for Apache2?
When Apache writes new files (static content, like writing to the cache file) it creates this file without the proper permissions. There's no write permission for the group by default and this causes ...
0
votes
0answers
16 views
Django cleanup blocking Mysql on Debian
A few minutes ago I had a perfectly working site with Django on Debian and Mysql and then decided to run django-admin.py cleanup. The process started but did not do anything for quite some time so I ...
1
vote
1answer
471 views
How do I upgrade Django 1.3.1 to 1.4? Any tips, tutorials, or warnings?
Django 1.4 was recently released. Almost all the information about Django 1.4 is in the release note, but I didn't see anything about how to upgrade. Should I just remove the django folder inside ...
2
votes
2answers
639 views
nginx+django serving static files
I have followed instruction for setting up django with nginx from the django wiki (https://code.djangoproject.com/wiki/DjangoAndNginx) and have nginx setup as follows (a few name changes to fit my ...
0
votes
1answer
64 views
Server performance worsened after a hardware upgrade: how should I reconfigure the server?
I'm running a site on an Ubuntu/Apache/Django/PostgreSQL stack. We upgraded our server recently from 1 processor with 2 Gb total RAM (with 0.5 Gb of that RAM assigned to memcached) to a new server ...
4
votes
1answer
92 views
Safely install MDM Certificate in MDM Server
I am new to server technology.I know how to obtain an Apple iOS MDM Certificate and
to use Apple iOS MDM features, we must:
1. Join Apple’s iOS Developer Enterprise Program.
2. Enroll
3. Register ...
1
vote
1answer
77 views
Django error saying “could not connect to server: Permission denied”
I am getting an error trying to visit my Django app. I am running Gentoo and the web server is Apache with the mod_wsgi module to display Django. The error says
OperationalError at /admin/
could not ...
1
vote
0answers
278 views
Enabling mod_wsgi in Apache for a Django app on Gentoo
I installed Apache, Django, and mod_wsgi on Gentoo using emerge (on Amazon EC2).
I know that the mod_wsgi is configured in /etc/apache2/modules.d/70_mod_wsgi.conf:
<IfDefine WSGI>
LoadModule ...
0
votes
1answer
78 views
Memcached and Django - When Ajax action is performed, ALL css and js is missing
I've got Django running and caching into Memcached. I have some ajax actions on a page and when those actions are performed, and the browser refreshd, the CSS and JS files are no where to be found. ...
4
votes
1answer
81 views
How to set up Django with IIS 8?
I have tried in the past to get Django running under IIS 8 in Windows 8 Developer Preview. Now that the Consumer Preview of Windows 8 is out, I was wondering if I could get some detailed instructions ...
1
vote
2answers
150 views
Celery daemon as a Ubuntu service does not consume tasks while running from terminal does
On Ubuntu 11.10,
I have to issue python tasks from django using celery.
I'm currently testing on the same machine but eventually the celery worker should run on a remote machine.
django uses the ...
0
votes
0answers
77 views
Django + Apache with mod_wsgi on Mac. Unable to load MySQLdb
I currently set up a virtual host on Apache to try to host my Django project at django.localhost
My apache configurations are correct:
hobbes3@hobbes3:~/Sites/mysite$ apachectl configtest
Syntax OK
...
1
vote
0answers
134 views
LDAP authentication with Graphite
I have setup Graphite Web 0.9.9 on CentOS 6.2 x86_64 at EC2 and I'm trying to get LDAP authentication to work against 389 Directory Server. I have configured local_settings.py with:
USE_LDAP_AUTH
...
0
votes
1answer
71 views
mod_wsgi overriding virtual hosts on Apache?
I have a working Django app hosted on my linode (Fedora 15), and I'm attempting to host a php-based site there as well. I'm using name-based virtual hosts to redirect requests based on the host name, ...
1
vote
1answer
110 views
Graphite not running
I'm currently trying to install graphite 0.9.9 on a gentoo box using these instructions from the graphite wiki. Essentially, it fronts graphite using apache and mod_wsgi.
Everything seems to have ...
0
votes
3answers
145 views
Debian 5 Lenny how to upgrade Python to 2.7 version to run Django app?
I'm configuring Debian 5 to run my Django app. The required application is required incompatible with Python 2.5 packages. I installed Python 2.7 and created the symlink python -> ...
0
votes
1answer
58 views
Django + Apache + mod_wsgi problems
I have spent the last 2 days attempting to deploy a Django application I've built and tested using the development server built into manage.py. I've read countless tutorials and snippets, and cannot ...
0
votes
1answer
117 views
Django/MySQL/Memcached for 10K user visitors
I'm currently using CentOS (512 RAM, Dual-core CPU) for my website. Here are the specs:
Django 1.3.1
Python 2.7.2
Apache 2 with mod_wsgi 3.3
MySQL 5 (about 5,000 records)
Memcached (120 MB for ...
1
vote
1answer
124 views
Nginx remove base url
I'm trying to setup Django through UWSGI using Nginx.
I got the UWSGI pass to work using this function
location / {
include uwsgi_params;
...
1
vote
1answer
177 views
UnicodeEncodeError when uploading files in Django admin
Note: I asked this question on StackOverflow, but I realize this might be a more proper place to ask this kind of question.
I'm trying to upload a file called 'Testaråäö.txt' via the Django admin ...
0
votes
1answer
43 views
Django Dynamic File Name
A beginner Django guy here, I am looking to change my csv export file name to be dynamic hopefully naming the file with the date it was generated.
My current code is
response['Content-Disposition'] ...
1
vote
1answer
197 views
Apache2 mod_wsgi python 2.6 Django very slow
I've tried about 1000x things, but I can't seem to figure out why a simple django website is slow using apache 2.2.14/wsgi latest / django 1.3. I've confirmed the problem isn't our database by turning ...