django/apache/ubuntu server18.04 openssl not found after package upgrade / libssl.so.1.1: version `OPENSSL_1_1_1' not found

2019-06-13 Thread Volker
Two days ago my django app which runs on an Ubuntu 18.04.2 LTS server with apache and mod_wsgi in an venv with Python 3.6 throws an exception after https login - as it seems - after a package upgrade. To my understanding libssl/openssl is causing the error. The error message below states that op

Re: 1 project, X app = X subdomains (Django, Apache)

2019-05-23 Thread Aldian Fazrihady
Official way: 1. Run separate wsgi process for each subdomain. Each wsgi process uses unique Unix or TCP socket. 2. Each wsgi process uses its own Django settings that points to the specific app's urls.py 3. The web server configuration for each subdomain points to the socket of the Django app repr

Re: 1 project, X app = X subdomains (Django, Apache)

2019-05-23 Thread Tim Chase
On 2019-05-23 06:22, Jakub Jiřička wrote: > I want to ask you if someone has solved how to prove that is > possible the applications in one project run in different > subdomains? > > I have 1 project (projekt.cz) and provide of 3 applications (app1, > app2, app3) and I would like to get on my vps (

1 project, X app = X subdomains (Django, Apache)

2019-05-23 Thread Jakub Jiřička
Hi, I want to ask you if someone has solved how to prove that is possible the applications in one project run in different subdomains? I have 1 project (projekt.cz) and provide of 3 applications (app1, app2, app3) and I would like to get on my vps (CentOS, Apache, PostgreSQL, Django) app1.proj

Django + apache + mysql on mac

2016-04-07 Thread Akshay Rajput
Hi all, I am trying to install django apache and mysql on OS X 10.11 EL Capital, Since this OS comes with apache 2.4 already installed, please help me installing mysql and connecting it to phpmyadmin and configuring it in Django. I tried online tutorial but It did not help, as soon as

Re: Django + Apache Web server on Windows

2016-04-05 Thread Avraham Serour
you won't have problems until you try On Mon, Apr 4, 2016 at 8:12 PM, asimkon wrote: > > I would like to configure Django with Apache web server on Windows using > XAMPP or Wamp. I looked over the Web until i came across the following > video https://www.youtube.com/watch?v=VOkXG0jL_8U. Do you

Django + Apache Web server on Windows

2016-04-04 Thread asimkon
I would like to configure Django with Apache web server on Windows using XAMPP or Wamp. I looked over the Web until i came across the following video https://www.youtube.com/watch?v=VOkXG0jL_8U. Do you think i will have problem following all the steps along? From python installation, Django,

Re: Django apache mod_wsgi permission denied

2012-12-16 Thread Phang Mulianto
THank for the config , i do able to run the apache22 with mod_wsgi + python 2.7 in windows server. On Sun, Dec 2, 2012 at 3:03 PM, Loai Ghoraba wrote: > Thanks a million for the tip :) > > > On Sun, Dec 2, 2012 at 5:08 AM, Chris Cogdon wrote: > >> >> >> On Saturday, December 1, 2012 3:47:39 A

Re: Django apache mod_wsgi permission denied

2012-12-01 Thread Loai Ghoraba
Thanks a million for the tip :) On Sun, Dec 2, 2012 at 5:08 AM, Chris Cogdon wrote: > > > On Saturday, December 1, 2012 3:47:39 AM UTC-8, Loai Ghoraba wrote: >> >> no I mean the root of my project guys :) thanks a lot :D which lives in >> path/to/my/project :) >> > > Oh thank god for that! > > I

Re: Django apache mod_wsgi permission denied

2012-12-01 Thread Chris Cogdon
On Saturday, December 1, 2012 3:47:39 AM UTC-8, Loai Ghoraba wrote: > > no I mean the root of my project guys :) thanks a lot :D which lives in > path/to/my/project :) > Oh thank god for that! I'd actually done something similiar once... I'd removed a bunch of permissions using chmod -R / r

Re: Django apache mod_wsgi permission denied

2012-12-01 Thread Loai Ghoraba
no I mean the root of my project guys :) thanks a lot :D which lives in path/to/my/project :) On Sat, Dec 1, 2012 at 11:42 AM, Timothy Makobu wrote: > Root directory??? As in / ? Nooo nonono > > > On Sat, Dec 1, 2012 at 12:14 PM, Chris Cogdon wrote: > >> >> >> On Friday, November 30, 2012 8

Re: Django apache mod_wsgi permission denied

2012-12-01 Thread Timothy Makobu
Root directory??? As in / ? Nooo nonono On Sat, Dec 1, 2012 at 12:14 PM, Chris Cogdon wrote: > > > On Friday, November 30, 2012 8:53:42 PM UTC-8, Mike Dewhirst wrote: >> >> On 1/12/2012 3:48pm, Loai Ghoraba wrote: >> > I have ran chmod o+rx on the root directory, isn't this enough (isn't >>

Re: Django apache mod_wsgi permission denied

2012-12-01 Thread Chris Cogdon
On Friday, November 30, 2012 8:53:42 PM UTC-8, Mike Dewhirst wrote: > > On 1/12/2012 3:48pm, Loai Ghoraba wrote: > > I have ran chmod o+rx on the root directory, isn't this enough (isn't > > chmod applied to all folders down recursively ?) ? > > No. You need chmod -R o+rx > Oh hell no, don't

Re: Django apache mod_wsgi permission denied

2012-11-30 Thread Loai Ghoraba
okay it works now, I was just missing a trailing slash at Alias /static/ /home/loai/workspace/Faculty/Faculty/static/ On Sat, Dec 1, 2012 at 8:17 AM, Loai Ghoraba wrote: > a strange thing is that when I remove the directive so it > becomes: > > > Order deny,allow > Allow from all > > > inste

Re: Django apache mod_wsgi permission denied

2012-11-30 Thread Loai Ghoraba
a strange thing is that when I remove the directive so it becomes: Order deny,allow Allow from all instead of Order deny,allow Allow from all then trying to access any static or media file raises (not found) instead of permission denied ! On Sat, Dec 1, 2012 at 7:42 AM, Loai Ghoraba w

Re: Django apache mod_wsgi permission denied

2012-11-30 Thread Loai Ghoraba
thanks, but still I can't find what's wrong with the permission thing. The html pages are loaded without static content, no css or js or whatever, neither the media is accessible. On Sat, Dec 1, 2012 at 7:15 AM, Mike Dewhirst wrote: > On 1/12/2012 3:57pm, Loai Ghoraba wrote: > >> thanks, but I

Re: Django apache mod_wsgi permission denied

2012-11-30 Thread Mike Dewhirst
On 1/12/2012 3:57pm, Loai Ghoraba wrote: thanks, but I have tried this now and it also doesn't work :X though the author slides presentation mentioned chmod o+rx on the root dir only. On Sat, Dec 1, 2012 at 6:53 AM, Mike Dewhirst mailto:mi...@dewhirst.com.au>> wrote: chmod -R o+rx Here is

Re: Django apache mod_wsgi permission denied

2012-11-30 Thread Mike Dewhirst
On 1/12/2012 3:48pm, Loai Ghoraba wrote: I have ran chmod o+rx on the root directory, isn't this enough (isn't chmod applied to all folders down recursively ?) ? No. You need chmod -R o+rx and I have checked the directories from the root down to static, all have the permission of drwxr-xr-x

Re: Django apache mod_wsgi permission denied

2012-11-30 Thread Loai Ghoraba
I have ran chmod o+rx on the root directory, isn't this enough (isn't chmod applied to all folders down recursively ?) ? and I have checked the directories from the root down to static, all have the permission of drwxr-xr-x On Sat, Dec 1, 2012 at 2:21 AM, Chris Cogdon wrote: > Make sure all the

Re: Django apache mod_wsgi permission denied

2012-11-30 Thread Chris Cogdon
Make sure all the directories, from static leading all the way up to the root, are chmod a+x On Friday, November 30, 2012 4:00:55 PM UTC-8, Loai Ghoraba wrote: > > Hi > > I have installed apache and mod_wsgi and my basic site *skeleton is > running* on local host, but with NO static files loade

Django apache mod_wsgi permission denied

2012-11-30 Thread Loai Ghoraba
Hi I have installed apache and mod_wsgi and my basic site *skeleton is running* on local host, but with NO static files loaded such as css, when I try to access a static file (e.g:http://localhost/static/css/base.css) it says that I don't have permission to access the file, same goes to media

Re: django+apache

2012-07-18 Thread Иван Земцов
Using gunicorn in virtual environment. On 18 July 2012 04:03, Kurtis Mullins wrote: > Hello Carlos, > > I apologize but I am unable to understand your problem. It looks like you > are trying to use Apache to forward requests on to Django using > "mod_python". > > According to Django's web site,

Re: django+apache

2012-07-17 Thread Kurtis Mullins
Hello Carlos, I apologize but I am unable to understand your problem. It looks like you are trying to use Apache to forward requests on to Django using "mod_python". According to Django's web site, "mod_python" is deprecated and therefore shouldn't be used. (Source: https://docs.djangoproject.com

django+apache

2012-07-17 Thread Carlos Andre
hi programers, i'm with troble in apache with django connect! what i can make to connect! i start with mod_python, but have very troble! can Somebory help me? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to d

Django/Apache/FastCGI

2012-07-14 Thread Newt
I've spent a few days trying to get this to work on an Apache2 install. I have this in my httpd.conf file: Alias /django /stuff/django/proj1/proj1 Options +execCGI AllowOverride FileInfo Order allow,deny Allow from all This is the .htacess file: AddHandler f

Re: Mysterious Path Issue Django & Apache

2011-07-29 Thread Devon Young
I think I'm adding the directories to sys.path correctly. For example, in my wsgi file, this works: path = '/home/devon/django-projects/' if path not in sys.path: sys.path.append(path) ...but if I change the path value like this, then Apache gives a 500 server error: path = '/home/devon/code

Re: Mysterious Path Issue Django & Apache

2011-07-29 Thread Subhranath Chunder
Check if the base directory is added in you current python path when running from wsgi Putting a line like "print >> sys.stderr, sys.path" in your wsgi file right after the initial import should let you verify that. On Sat, Jul 30, 2011 at 1:25 AM, Devon Young wrote: > I apologize in advance i

Re: Mysterious Path Issue Django & Apache

2011-07-29 Thread Shawn Milochik
It's your PYTHONPATH environment variable. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.c

Mysterious Path Issue Django & Apache

2011-07-29 Thread Devon Young
I apologize in advance if this is actually a stupid question, but I'm thoroughly stumped since yesterday about this. First, it should be noted I come from a PHP background with a little experience in Perl, and I'm learning Python since Sunday. Also, I'm using: Python 2.7 Apache 2 (with mod_wsgi)

Re: Django, Apache, MySQL on Windows in Production

2011-07-26 Thread Dimitry Zolotaryov
Thanks to everyone for your time. Michael, I have found a similar GIL-related issue on ServerFault: http://groups.google.com/group/django-users/browse_thread/thread/4c42b458fd5bfba9 Are there ways to code around this limitation? What versions were you running when you encountered these issues? T

Re: Django, Apache, MySQL on Windows in Production

2011-07-26 Thread Michael Manfre
I have a decent amount of experience with running apache, mod_wsgi and django on windows (w/ MS SQL). Apache's process module on windows (mpm_winnt) may result in you having to configure around some serious GIL related performance issues. You might not hit the problems if the site is low traffic. Y

Re: Django, Apache, MySQL on Windows in Production

2011-07-26 Thread Andre Terra
I recently compiled nginx with an additional module on windows and so far, so good. I'm probably skipping Apache altogether for this small website. As far as PostgreSQL goes, from what I've seen, it works flawlessly on Windows. Never heard of anyone complaining about that. Cheers, AT On Tue, Ju

Re: Django, Apache, MySQL on Windows in Production

2011-07-26 Thread CrabbyPete
PS, I used mod_wsgi and make sure you have the latest pywin32 On Jul 26, 2:03 pm, CrabbyPete wrote: > I've run django on Windows Server with apache and it was easy to > deploy.  Forget IIS. I've deployed Nginx and uWSGI on linux and that > was even easier. > I've never done Nginx on windows, but

Re: Django, Apache, MySQL on Windows in Production

2011-07-26 Thread CrabbyPete
I've run django on Windows Server with apache and it was easy to deploy. Forget IIS. I've deployed Nginx and uWSGI on linux and that was even easier. I've never done Nginx on windows, but I don't think it would be a big deal. On Jul 26, 1:25 pm, Dimitry Zolotaryov wrote: > So if I run into perfo

Re: Django, Apache, MySQL on Windows in Production

2011-07-26 Thread Dimitry Zolotaryov
So if I run into performance issues, I can always pipe from Apache to something like gunicorn and keep Apache serving static media? Dimitry On 26 juil, 13:03, Javier Guerra Giraldez wrote: > On Tue, Jul 26, 2011 at 11:33 AM, Dimitry Zolotaryov wrote: > > Knowing this, any advice on the original

Re: Django, Apache, MySQL on Windows in Production

2011-07-26 Thread Javier Guerra Giraldez
On Tue, Jul 26, 2011 at 11:33 AM, Dimitry Zolotaryov wrote: > Knowing this, any advice on the original question would be greatly > appreciated. I haven't done any deployment on windows; but i do know some helpful facts: - microsoft invests a lot of money in making sure that high-profile OSS proj

Re: Django, Apache, MySQL on Windows in Production

2011-07-26 Thread Dimitry Zolotaryov
Javier, You're correct in assuming that these are the tools I'm most comfortable with. Knowing this, any advice on the original question would be greatly appreciated. Thanks. Dimitry On Jul 26, 11:03 am, Javier Guerra Giraldez wrote: > On Tue, Jul 26, 2011 at 9:23 AM, Andre Terra wrote: > >

Re: Django, Apache, MySQL on Windows in Production

2011-07-26 Thread Javier Guerra Giraldez
On Tue, Jul 26, 2011 at 9:23 AM, Andre Terra wrote: > You can take a look at using something like nginx for serving small static > files, which can otherwise keep Apache busy and therefore delay its response > for more important tasks. > > At the risk of flaming, I should note that I have never he

Re: Django, Apache, MySQL on Windows in Production

2011-07-26 Thread Andre Terra
Hello, Dimitry You can take a look at using something like nginx for serving small static files, which can otherwise keep Apache busy and therefore delay its response for more important tasks. At the risk of flaming, I should note that I have never heard of anything that MySQL does better than Po

Django, Apache, MySQL on Windows in Production

2011-07-26 Thread Dimitry Zolotaryov
Hi all, I was wandering if you could tell me what to look out for when installing Django with Apache on a Windows Server 2008 machine. Is there anything I should be aware of in terms of installation problems, performance issues or compatibility with some general purpose libraries? Thanks Dimitry

Re: Thread lifetime in Django/Apache environment

2011-07-06 Thread bruno desthuilliers
On 6 juil, 21:12, John wrote: > In my application I need to be able to overlap some processing, > collecting summary information from the database between HTTP > requests.  If I start a thread and then return a HTTP response I > presume that the process that was serving the request will continue >

Thread lifetime in Django/Apache environment

2011-07-06 Thread John
In my application I need to be able to overlap some processing, collecting summary information from the database between HTTP requests. If I start a thread and then return a HTTP response I presume that the process that was serving the request will continue until the thread completes. This makes i

Re: SSL with Django, Apache, mod_wsgi and nginx

2010-08-10 Thread Graham Dumpleton
0, 2010 5:25 PM > To: django-users@googlegroups.com > Subject: Re: SSL with Django, Apache, mod_wsgi and nginx > > On Tue, Aug 10, 2010 at 5:00 PM, Colleen A Josephson > mailto:cjos...@mit.edu>> wrote: > Unfortunately I'm not very well versed in proxying and SSL, e

RE: SSL with Django, Apache, mod_wsgi and nginx

2010-08-10 Thread Colleen A Josephson
That does exactly what I need, thank-you! From: django-users@googlegroups.com [django-us...@googlegroups.com] On Behalf Of Michael [newmani...@gmail.com] Sent: Tuesday, August 10, 2010 5:25 PM To: django-users@googlegroups.com Subject: Re: SSL with Django

Re: SSL with Django, Apache, mod_wsgi and nginx

2010-08-10 Thread Michael
On Tue, Aug 10, 2010 at 5:00 PM, Colleen A Josephson wrote: > Unfortunately I'm not very well versed in proxying and SSL, etc. > I'm not sure I understand how mod WSGi eliminates the need for SSLRedirect. > > I implemented the Lincoln Loop setup, but if I go to the http:// admin > page I am not re

RE: SSL with Django, Apache, mod_wsgi and nginx

2010-08-10 Thread Colleen A Josephson
like to be. From: django-users@googlegroups.com [django-us...@googlegroups.com] On Behalf Of Michael [newmani...@gmail.com] Sent: Tuesday, August 10, 2010 3:00 PM To: django-users@googlegroups.com Subject: Re: SSL with Django, Apache, mod_wsgi and nginx On Tue, Aug 10, 2010

Re: SSL with Django, Apache, mod_wsgi and nginx

2010-08-10 Thread Michael
On Tue, Aug 10, 2010 at 2:49 PM, Colleen A Josephson wrote: > I just set up a site that uses nginx to server static media and > Apache/mod_wsgi to deal with the Django stuff. > > How would I go about dealing with SSL? Would the setup be on the nginx end > or the Apache end? Could I still use SSLRe

SSL with Django, Apache, mod_wsgi and nginx

2010-08-10 Thread Colleen A Josephson
I just set up a site that uses nginx to server static media and Apache/mod_wsgi to deal with the Django stuff. How would I go about dealing with SSL? Would the setup be on the nginx end or the Apache end? Could I still use SSLRedirect middleware? Thanks, -Colleen -- You received this message

SSL with Django, Apache, mod_wsgi and nginx

2010-08-10 Thread Colleen A Josephson
I just set up a site that uses nginx to server static media and Apache/mod_wsgi to deal with the Django stuff. How would I go about dealing with SSL? Would the setup be on the nginx end or the Apache end? Could I still use SSLRedirect middleware? Thanks, -Colleen -- You received this message

Re: Serving media files with Django/Apache/Nginx

2010-06-01 Thread Vasil Vangelovski
Using the alias directive is much more easier and straighforward, for me at least. Here's an example configuration upstream django-backend { server testsite.local:4080; } server { listen 80; server_name testsite.com; location /{ proxy_re

Re: Serving media files with Django/Apache/Nginx

2010-06-01 Thread Daniel Roseman
On Jun 1, 10:40 pm, Corey wrote: > I am a Django newbie and Im using Django to build an application. Im > using Apache/mod_wsgi and Nginx as a proxy server to serve static > files.I am running Nginx on port 80 and have all the Django pages > forwarded to Apache. I have my media folder in the appli

Serving media files with Django/Apache/Nginx

2010-06-01 Thread Corey
I am a Django newbie and Im using Django to build an application. Im using Apache/mod_wsgi and Nginx as a proxy server to serve static files.I am running Nginx on port 80 and have all the Django pages forwarded to Apache. I have my media folder in the application root folder named media1. I cannot

Re: Django/Apache/mod_wsgi: How do I specify the SCRIPT_NAME for non-root URLs?

2010-01-08 Thread Tyler Erickson
Fixed it. It turned out to be a problem with how the django project templates were written. Both of the projects that I was experimenting with were using hardcorded href values, instead of using a url template tag. hardcoded example: Per-geometry styles url template tag example: Per-geometry sty

Re: Django/Apache/mod_wsgi: How do I specify the SCRIPT_NAME for non-root URLs?

2010-01-08 Thread Tyler Erickson
I added the WSGI logging middleware to write to the Apache log as described in: http://code.google.com/p/modwsgi/wiki/DebuggingTechniques#Tracking_Request_and_Response and yes it appears that my SCRIPT_NAME environment variable is being automatically set (see excerpts below). So I guess it is Djan

Re: Django, Apache, mod_wsgi, GET works, POST doesn't

2010-01-07 Thread Patrick May
On Jan 6, 3:22 pm, Rob wrote: > Have you managed to figure this out - I'm having a similar (I believe > the same) issue. It was the typo pointed out by Daniel Roseman. You may need to turn on a more detailed debugging level in your httpd.conf to see it in the log. Good luck, Patrick -- You re

Re: Django/Apache/mod_wsgi: How do I specify the SCRIPT_NAME for non-root URLs?

2010-01-06 Thread Karen Tracey
On Wed, Jan 6, 2010 at 2:39 PM, Tyler Erickson wrote: > I am trying to use Apache and mod_wsgi to serve multiple django > sites. The django sites are served up fine when at the root URL, but > when served from a sub-URL the portion of the the URL consumed by > Apache disappears from any links cre

Re: Django, Apache, mod_wsgi, GET works, POST doesn't

2010-01-06 Thread Rob
Have you managed to figure this out - I'm having a similar (I believe the same) issue. On Jan 5, 6:27 am, Patrick May wrote: > Can you make it fail in the development server, with DEBUG turned on? > > If so, you can get more helpful error display and/or do pdb.set_trace() and > poke around. > > I

Django/Apache/mod_wsgi: How do I specify the SCRIPT_NAME for non-root URLs?

2010-01-06 Thread Tyler Erickson
I am trying to use Apache and mod_wsgi to serve multiple django sites. The django sites are served up fine when at the root URL, but when served from a sub-URL the portion of the the URL consumed by Apache disappears from any links created in the django site pages. >From reading throught the WSGI

RE: Django, Apache, mod_wsgi, GET works, POST doesn't

2010-01-05 Thread Patrick May
Can you make it fail in the development server, with DEBUG turned on? If so, you can get more helpful error display and/or do pdb.set_trace() and poke around. I'll give that a try, thanks! -- You received this message because you are subscribed to the Google Groups "Django users" group. To p

RE: Django, Apache, mod_wsgi, GET works, POST doesn't

2010-01-05 Thread Patrick May
Assuming the code you've posted is a real cut and paste, you have "HTTPResponse" for POST but "HttpResponse" for GET. Python is case- sensitive, so only "HttpResponse" will work. Thanks, that was it. Are errors like that written to a log file anywhere? Thanks again, Patrick -- You received

Re: Django, Apache, mod_wsgi, GET works, POST doesn't

2010-01-04 Thread Bill Freeman
Can you make it fail in the development server, with DEBUG turned on? If so, you can get more helpful error display and/or do pdb.set_trace() and poke around. On Mon, Jan 4, 2010 at 4:25 PM, Patrick May wrote: > Hi, > > I have Django running under Apache with mod_wsgi.  I've got a simple URL >

Re: Django, Apache, mod_wsgi, GET works, POST doesn't

2010-01-04 Thread Daniel Roseman
On Jan 4, 9:25 pm, Patrick May wrote: > Hi, > > I have Django running under Apache with mod_wsgi.  I've got a simple URL > handler that looks like this: > > def handler(request): >     response = None > >     if request.method == 'POST' or request.method == 'PUT': >         response = HTTPRespons

Django, Apache, mod_wsgi, GET works, POST doesn't

2010-01-04 Thread Patrick May
Hi, I have Django running under Apache with mod_wsgi. I've got a simple URL handler that looks like this: def handler(request): response = None if request.method == 'POST' or request.method == 'PUT': response = HTTPResponse(status=201) elif request.method == 'GET':

Looking for Django/Apache/Plesk consultant

2009-11-18 Thread Hooshyar
Hello Djangoists, I am looking for a consultant who knows how to configure Django in relationship to Apache. This is a paid gig. please contact me at my e- mail hnara...@hanzinet.com we can discuss details. Brief statement of the problem I have had problem configuring Django to handle two projec

Re: A problem about django apache mod_wsgi with oracle

2009-06-30 Thread Graham Dumpleton
On Jun 30, 6:55 pm, "arli...@gmail.com" wrote: > I can use the oracle with django admin runserver, > but when i use apche withmod_wsgi, apache error log : > ImproperlyConfigured: Error loading cx_Oracle module: DLL load failed: > What's wrong with it ? Please clarify whether this is on Windows

Re: A problem about django apache mod_wsgi with oracle

2009-06-30 Thread Ian Kelly
On Jun 30, 2:55 am, "arli...@gmail.com" wrote: > I can use the oracle with django admin runserver, > but when i use apche with mod_wsgi , apache error log : > ImproperlyConfigured: Error loading cx_Oracle module: DLL load failed: > What's wrong with it ? Make sure you're using the same versions

A problem about django apache mod_wsgi with oracle

2009-06-30 Thread arli...@gmail.com
I can use the oracle with django admin runserver, but when i use apche with mod_wsgi , apache error log : ImproperlyConfigured: Error loading cx_Oracle module: DLL load failed: What's wrong with it ? --~--~-~--~~~---~--~~ You received this message because you are s

Re: Setting up Django, Apache and Nginx on Windows Vista

2009-06-27 Thread Ariel Nunez
On Sat, Jun 27, 2009 at 12:09 PM, Duvalfan23 wrote: > > Well I actually have Wubi (Ubuntu inside Windows) on my computer, but > do not feel nearly as comfortable as Windows since Ive been using > Windows for years. I also have all of my development tools on Windows > that Ive purchased. I do not

Re: Setting up Django, Apache and Nginx on Windows Vista

2009-06-27 Thread Duvalfan23
Well I actually have Wubi (Ubuntu inside Windows) on my computer, but do not feel nearly as comfortable as Windows since Ive been using Windows for years. I also have all of my development tools on Windows that Ive purchased. I do not get as good of productivity on Linux since Im not as used to it

Re: Setting up Django, Apache and Nginx on Windows Vista

2009-06-26 Thread iyank7
Duvalfan23 wrote: > I am a new user to Django and want to set it up with Apache, Nginx, > and MySQL on Windows Vista for testing. I will set up on Linux once I > get a shared hosting account. Does anyone know a website that explains > this very well from start to finish on Vista? Or can someone ex

Setting up Django, Apache and Nginx on Windows Vista

2009-06-25 Thread Duvalfan23
I am a new user to Django and want to set it up with Apache, Nginx, and MySQL on Windows Vista for testing. I will set up on Linux once I get a shared hosting account. Does anyone know a website that explains this very well from start to finish on Vista? Or can someone explain how to do this on Wi

Re: Django + Apache + mod_wsgi + Oracle -> threading problems?

2009-06-15 Thread Ian Kelly
On Jun 15, 11:11 am, Miles wrote: > Connections aren't thread safe - you have to ensure every thread gets > its own connection. You can create a new connection every request or > use a thread-local to cache connections. The latter is what Django does, although it's very easy to miss when perusin

Re: Django + Apache + mod_wsgi + Oracle -> threading problems?

2009-06-15 Thread James Gregory
> Connections aren't thread safe - you have to ensure every thread gets > its own connection. You can create a new connection every request or > use a thread-local to cache connections. > Ok, thanks for the explanation/confirmation James --~--~-~--~~~---~--~~ You

Re: Django + Apache + mod_wsgi + Oracle -> threading problems?

2009-06-15 Thread Miles
On Jun 15, 6:18 pm, James Gregory wrote: > I am creating a web app with Django. I use a local MySQL database to > store users etc, but also connect to a remote Oracle database to pull > in some information to display. > > Due to Django's lack of multiple database support I have written my > own v

Django + Apache + mod_wsgi + Oracle -> threading problems?

2009-06-15 Thread James Gregory
I am creating a web app with Django. I use a local MySQL database to store users etc, but also connect to a remote Oracle database to pull in some information to display. Due to Django's lack of multiple database support I have written my own very smalI Oracle wrapper, using cx_Oracle. In an effo

Django Apache configuration Help !

2009-05-07 Thread veeravendhan
Hi, I was trying to host 2 site in the one domain, the following was done by me I coudn't get the two site. NameVirtualHost domani ServerName domain/site DocumentRoot /home/somePath/ ServerPath /path/ SetHandler python-program PythonHandler django.core.handlers

Re: django apache on windows setting problem

2009-05-07 Thread zayatzz
hon > >     PythonOption django.root "C:/depot/projects/web/" > >     SetEnv DJANGO_SETTINGS_MODULE web.settings > >     PythonPath "['C:/depot/projects/web/'] + sys.path" > >     PythonDebug On > > > > >   > >     SetHandler None > >   > > >   > >     SetHandler None > >   > &

Re: django apache on windows setting problem

2009-05-07 Thread online
ETTINGS_MODULE web.settings >     PythonPath "['C:/depot/projects/web/'] + sys.path" >     PythonDebug On > > >   >     SetHandler None >   > >   >     SetHandler None >   > > > - > or you can see from this link: > > http://stackoverflow.co

django apache on windows setting problem

2009-05-07 Thread online
ath" PythonDebug On SetHandler None SetHandler None - or you can see from this link: http://stackoverflow.com/questions/823458/django-apache-on-windows-setting-problem Any help is much ap

Re: Optimal Django / Apache / mod_wsgi configuration

2009-04-19 Thread Graham Dumpleton
On Apr 20, 2:34 pm, Greg wrote: > Cheers for your suggestion Alex, I'll look into nginx. > > > How are you currently using mod_wsgi? Are you using embedded mode or > > daemon mode? Also, which Apache MPM are you using? Finally, do you > > have requirements to run crap like PHP on the same Apach

Re: Optimal Django / Apache / mod_wsgi configuration

2009-04-19 Thread Greg
Cheers for your suggestion Alex, I'll look into nginx. > How are you currently using mod_wsgi? Are you using embedded mode or > daemon mode? Also, which Apache MPM are you using? Finally, do you > have requirements to run crap like PHP on the same Apache? Currently I do run php... would rather n

Re: Optimal Django / Apache / mod_wsgi configuration

2009-04-19 Thread Graham Dumpleton
On Apr 20, 1:08 pm, Greg wrote: > Hi all, > > My django sites and static media are currently served by the same > multi-process apache installation, and I'm wondering if it would be > more efficient — memory-wise — to have a completely seperate apache > install for media (listening to a seperat

Re: Optimal Django / Apache / mod_wsgi configuration

2009-04-19 Thread Alex Gaynor
On Sun, Apr 19, 2009 at 11:08 PM, Greg wrote: > > Hi all, > > My django sites and static media are currently served by the same > multi-process apache installation, and I'm wondering if it would be > more efficient — memory-wise — to have a completely seperate apache > install for media (listenin

Optimal Django / Apache / mod_wsgi configuration

2009-04-19 Thread Greg
Hi all, My django sites and static media are currently served by the same multi-process apache installation, and I'm wondering if it would be more efficient — memory-wise — to have a completely seperate apache install for media (listening to a seperate IP etc). The media installation would have m

Re: Django-Apache internationalization issue

2009-04-18 Thread Graham Dumpleton
On Apr 18, 7:30 pm, gurcharan wrote: > Hi > > I've used Django i18n module to implement internationalization in my > site. I'm facing a strange issue - 118n is working on Django webserver > but not on Apache and also no error message is getting logged. > > Can anyone have any clue why it's happ

Django-Apache internationalization issue

2009-04-18 Thread gurcharan
Hi I've used Django i18n module to implement internationalization in my site. I'm facing a strange issue - 118n is working on Django webserver but not on Apache and also no error message is getting logged. Can anyone have any clue why it's happening. Thanks! Gurcharan --~--~-~--~~

Re: django apache authentication strange behavior with apache indexing.

2009-02-24 Thread Karen Tracey
On Fri, Feb 20, 2009 at 12:59 PM, Jlcarroll wrote: > > I posted this a couple of days ago and didn't get a response. Thought > that I might try again. > > I am creating a private genealogy web page of pictures/obituaries/data > files/census records etc... all just a set of files within a director

Re: django apache authentication strange behavior with apache indexing.

2009-02-24 Thread Jlcarroll
bump? On Feb 20, 10:59 am, Jlcarroll wrote: > I posted this a couple of days ago and didn't get a response. Thought > that I might try again. > > I am creating a private genealogy web page of pictures/obituaries/data > files/census records etc... all just a set of files within a directory > stru

Re: Django/Apache/wsgi problems -- help!

2009-02-20 Thread Polat Tuzla
I'm glad to hear that everything is solved. > One more question:  in what sense did you mean that MEDIA_ROOT > "is for file uploads"?  I have not begun working on file uploads > yet, but I will need that, and I see there is documentation on it > which talks about several configurable options.  Di

Re: Django/Apache/wsgi problems -- help!

2009-02-20 Thread Stephen Waterbury
Polat, Thank you, thank you!! That solved all the problems I had. I was really at a loss to know where to look -- perhaps I hadn't found the right docs, but this was the first time I had seen the things you suggested. One more question: in what sense did you mean that MEDIA_ROOT "is for file u

django apache authentication strange behavior with apache indexing.

2009-02-20 Thread Jlcarroll
I posted this a couple of days ago and didn't get a response. Thought that I might try again. I am creating a private genealogy web page of pictures/obituaries/data files/census records etc... all just a set of files within a directory structure. I just want Apache to index the directory's conten

Re: Django/Apache/wsgi problems -- help!

2009-02-20 Thread Polat Tuzla
Also the /admin/ url gives > an internal error, which in apache's errlog shows a traceback > that ends in "OperationalError: no such table: django_session". This is most probably due to the fact that you did not set your DB_NAME variable with the full path of your .db file. And sqlite3 is creatin

Django/Apache/wsgi problems -- help!

2009-02-19 Thread Stephen Waterbury
I am a developer with a deadline -- not even a perfectionist, I just want it to work! ;) I am running Django 1.0.2-final on Ubuntu gutsy with Python 2.5. I am also using * django-registration 0.7 * django-profiles 0.2 Everything works fine with django's runserver. In the wsgi environment,

Re: Django/Apache on Ubuntu - admin page looks weird

2009-01-09 Thread djangofett
Thanks a lot guys, that was it, should have looked at the official documentation more closely. On Jan 8, 9:27 pm, elithrar wrote: > Just in case you miss it - and this is the method I'd suggest, as it > makes updating easy: > > > Create a symbolic link to the admin media files from within your d

Re: Django/Apache on Ubuntu - admin page looks weird

2009-01-08 Thread elithrar
Just in case you miss it - and this is the method I'd suggest, as it makes updating easy: > Create a symbolic link to the admin media files from within your document > root. This way, all of your Django-related files -- code and templates -- > stay in > one place, and you'll still be able to sv

Re: Django/Apache on Ubuntu - admin page looks weird

2009-01-08 Thread Karen Tracey
On Thu, Jan 8, 2009 at 11:45 PM, djangofett wrote: > > Hi, I am trying to get Django running on an Ubuntu server with Apache. > Everything seems to be installed fine (mod_python, plus MySQL with > MySQLdb python bindings), and I am running the main tutorial on the > Django site. I am doing the se

Django/Apache on Ubuntu - admin page looks weird

2009-01-08 Thread djangofett
Hi, I am trying to get Django running on an Ubuntu server with Apache. Everything seems to be installed fine (mod_python, plus MySQL with MySQLdb python bindings), and I am running the main tutorial on the Django site. I am doing the second part of the tutorial, with the admin site, and noticed th

Django + Apache (FastCGI): how to spread 404 error

2008-11-29 Thread Alexey Moskvin
Hi, I am using Django + Apache (via FastCGI). I've made my own 404 page (404.html in templates dir) and turned debug mode off. When I'm requesting for non-existed page I see my custom error page, but in Apache's log there is something like this: "GET /authors/333.html HTTP/1

Re: How to setup django-apache-mod_wsgi without killing existing php site?

2008-10-31 Thread Ross Dakin
I run prefork with mod_wsgi (embedded) and mod_php. No troubles so far, though I'm using MySQL with PHP and Postgres with Django, so I'm not likely to experience the MySQL library issues Graham described. I've read that mod_php actually doesn't like worker MPM, because come common PHP extensions

Re: How to setup django-apache-mod_wsgi without killing existing php site?

2008-10-31 Thread Håkan Waara
31 okt 2008 kl. 04.23 skrev Graham Dumpleton: > > > > On Oct 31, 10:14 am, Håkan Waara <[EMAIL PROTECTED]> wrote: >> Hi folks, >> >> I'm in the process of for the first time deploying a django site that >> (unfortunately) needs to share its Apache with an existing PHP site. >> >> I've been readin

  1   2   >