Re: libssl.so.1.1 / OPENSSL_1_1_1 not found after upgrade (ubuntu server 18.04 / apache / mod_wsgi)

2019-06-24 Thread Volker Kraut
Luke! That did the trick! Many thanks. Am Mo., 24. Juni 2019 um 01:19 Uhr schrieb Luke : > Hah! Found it! > > The psycopg2-binary module needed to be reinstalled (now version 2.8.3) > > I believe the old one must have been compiled against libssl1.1.0, which > was replaced by 1.1.1 in the upgrade

Re: libssl.so.1.1 / OPENSSL_1_1_1 not found after upgrade (ubuntu server 18.04 / apache / mod_wsgi)

2019-06-23 Thread Luke
Hah! Found it! The psycopg2-binary module needed to be reinstalled (now version 2.8.3) I believe the old one must have been compiled against libssl1.1.0, which was replaced by 1.1.1 in the upgrade which broke things. On Monday, June 24, 2019 at 11:11:11 AM UTC+12, Luke wrote: > > I'm having the

Re: libssl.so.1.1 / OPENSSL_1_1_1 not found after upgrade (ubuntu server 18.04 / apache / mod_wsgi)

2019-06-23 Thread Luke
I'm having the same problem, totally unable to find a resolution so far. I get no error messages of any use, even with all logging set to DEBUG. The only thing i'm seeing is "Truncated or oversized response headers received from daemon process" in the apache error log. Works fine when using the

libssl.so.1.1 / OPENSSL_1_1_1 not found after upgrade (ubuntu server 18.04 / apache / mod_wsgi)

2019-06-13 Thread Volker
Two days ago my django app which runs on an Ubuntu 18.04.2 LTS server with apache 2.4 (from repo9 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 belo

Re: can anyone tell django deployment process with apache, mod_wsgi using aws ec2 hosting requirements

2017-01-03 Thread Avraham Serour
https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-uwsgi-and-nginx-on-ubuntu-16-04 On Tue, Jan 3, 2017 at 1:58 PM, chowdam1992 wrote: > So i can thankfull. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" grou

can anyone tell django deployment process with apache, mod_wsgi using aws ec2 hosting requirements

2017-01-03 Thread chowdam1992
So i can thankfull. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@

Re: Apache, mod_wsgi and sharing videos to devices/machines

2014-04-11 Thread Adam Teale
Hmm seems that the error is just part of working with the development server. I shall work on trying to put this into production mode Cheers On Fri, Apr 11, 2014 at 10:31 AM, Adam Teale wrote: > Hi Guys, > > If someone has the time to take a look at this i'd really appreciate it. > > I am in th

Apache, mod_wsgi and sharing videos to devices/machines

2014-04-11 Thread Adam Teale
Hi Guys, If someone has the time to take a look at this i'd really appreciate it. I am in the process of developing a small django app to manage some aspects of our production company - users, projects etc... I am in a moment where I would like to get some people on the local network to start

Re: Apache + mod_wsgi

2013-01-04 Thread Tsolmon Narantsogt
Thanks you. I did it. :-) On Fri, Jan 4, 2013 at 10:23 PM, Tsolmon Narantsogt wrote: > Thanks you its works fine. > > But another issue > > Django Version: > 1.3.4Exception Type: > ImportErrorException Value: > > No module named base.urls > > base is my app. > my urls > > urlpatterns = patterns(

Re: Apache + mod_wsgi

2013-01-04 Thread Tsolmon Narantsogt
Thanks you its works fine. But another issue Django Version:1.3.4Exception Type:ImportErrorException Value: No module named base.urls base is my app. my urls urlpatterns = patterns('', url(r'^$', include('base.urls')), . On Fri, Jan 4, 2013 at 9:51 PM, Addy Yeow wrote: > You may w

Re: Apache + mod_wsgi

2013-01-04 Thread Addy Yeow
You may want to define WSGIDaemonProcess inside your VirtualHost, see http://modwsgi.readthedocs.org/en/latest/configuration-directives/WSGIDaemonProcess.html On Fri, Jan 4, 2013 at 9:36 PM, Tsolmon Narantsogt wrote: > Hello Comrades. > I have a problem when deploying django project. I installed

Apache + mod_wsgi

2013-01-04 Thread Tsolmon Narantsogt
Hello Comrades. I have a problem when deploying django project. I installed apache and mod_wsgi module and django. And i create virtual host in /etc/apache2/sites-available/mysite *content:* ServerName name ServerAdmin m...@email.com DocumentRoot /var/www/mydjangoproject/

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: Scaling django (nginx + apache + mod_wsgi + postgresql)

2012-10-30 Thread Cal Leeming [Simplicity Media Ltd]
, 2012 at 3:42 AM, Isaac XXX wrote: > >> Hi there, >> >> maybe you're right, but I'm not really worried about RAM footprint, or >> resources consumption. I'm concerned now on architecture, setting a right >> scalable system, and a right cluster of syste

Re: Scaling django (nginx + apache + mod_wsgi + postgresql)

2012-10-30 Thread Tom Evans
On Tue, Oct 30, 2012 at 7:35 AM, Isaac XXX wrote: > Hi Tom, > > you're right, I was not really explicit about what were my lacks of > information. Right now, the following points are the ones I can't found a > howto for the desired deployment: > > - Create a master-slave system on postgresql, main

Re: Scaling django (nginx + apache + mod_wsgi + postgresql)

2012-10-30 Thread Kurtis Mullins
ou're right, but I'm not really worried about RAM footprint, or > resources consumption. I'm concerned now on architecture, setting a right > scalable system, and a right cluster of systems, without lacks of > communications between them. > > Underlaying techno

Re: Scaling django (nginx + apache + mod_wsgi + postgresql)

2012-10-30 Thread Isaac XXX
s can be easily replaced (say apache-mod_wsgi for gunicorn or uwsgi), and some performance improvements can be made, but this is not what I'm looking for. I'm looking for the tools to generate a robust system, balancing requests through several systems, and allowing increase the size of

Re: Scaling django (nginx + apache + mod_wsgi + postgresql)

2012-10-30 Thread Isaac XXX
n Mon, Oct 29, 2012 at 2:42 PM, Isaac XXX <mailto:vyrp...@gmail.com>> wrote: Hi folks, I'm developing a new application that should get high traffic. Right now, I've other projects with the follow architecture: Nginx on front: serving static content and redirecti

Re: Scaling django (nginx + apache + mod_wsgi + postgresql)

2012-10-30 Thread Isaac XXX
grasp precisely what is required. IE, which of the following Qs are you stuck at: How to configure nginx to reverse proxy and balance to other http servers? How to configure apache, mod_wsgi and django? How to configure pgsql in a master/multiple slave environment? How to configure django to iss

Re: Scaling django (nginx + apache + mod_wsgi + postgresql)

2012-10-29 Thread Kurtis Mullins
The old rule of thumb is to avoid premature optimization. I'd build, profile, then scale or otherwise optimize as needed. This isn't a tutorial or really a discussion on all points of scaling a system; but identifying bottle necks will do wonders when it comes to deciding what, where, and how to sc

Re: Scaling django (nginx + apache + mod_wsgi + postgresql)

2012-10-29 Thread Cal Leeming [Simplicity Media Ltd]
her than a "this is how you should do things". Hope this helps a bit! Cal On Mon, Oct 29, 2012 at 2:42 PM, Isaac XXX wrote: > Hi folks, > > I'm developing a new application that should get high traffic. Right now, > I've other projects with the follow architecture

Re: Scaling django (nginx + apache + mod_wsgi + postgresql)

2012-10-29 Thread Some Developer
On 29/10/2012 16:03, Isaac XXX wrote: Hi there, thank you for response Tom. Actually, I've a complete idea at how to build this system, but I lack the exact information about how to join systems, and what I was looking for was a source of cohesive information on all systems. At least, when I

Re: Scaling django (nginx + apache + mod_wsgi + postgresql)

2012-10-29 Thread Tom Evans
E, which of the following Qs are you stuck at: How to configure nginx to reverse proxy and balance to other http servers? How to configure apache, mod_wsgi and django? How to configure pgsql in a master/multiple slave environment? How to configure django to issue write requests to the write master,

Re: Scaling django (nginx + apache + mod_wsgi + postgresql)

2012-10-29 Thread Isaac XXX
Nginx on front: serving static content and redirecting to apache for dynamic data Apache+mod_wsgi: serving dynamic pages PostgreSQL: backend for data storage (RDBM) Memcache: for caching purposes :) All my deployments use a single server, with single frontend/backend (1 nginx, 1 apache, 1 postgresql). T

Re: Scaling django (nginx + apache + mod_wsgi + postgresql)

2012-10-29 Thread Tom Evans
On Mon, Oct 29, 2012 at 2:42 PM, Isaac XXX wrote: > Hi folks, > > I'm developing a new application that should get high traffic. Right now, > I've other projects with the follow architecture: > > Nginx on front: serving static content and redirecting to apache for dyna

Scaling django (nginx + apache + mod_wsgi + postgresql)

2012-10-29 Thread Isaac XXX
Hi folks, I'm developing a new application that should get high traffic. Right now, I've other projects with the follow architecture: Nginx on front: serving static content and redirecting to apache for dynamic data Apache+mod_wsgi: serving dynamic pages PostgreSQL: backend for da

Re: Apache/mod_wsgi documentation problem

2012-06-18 Thread Daniel Roseman
On Monday, 18 June 2012 13:42:46 UTC+1, coolgeek wrote: > > Hello - > > Django newb. I hope this is the right place to post this. > > I had a problem with the virtualenv section of the Apache/mod_wsgi > documentation > > > https://docs.djangoproject.com/en/1.4

Apache/mod_wsgi documentation problem

2012-06-18 Thread coolgeek
Hello - Django newb. I hope this is the right place to post this. I had a problem with the virtualenv section of the Apache/mod_wsgi documentation https://docs.djangoproject.com/en/1.4/howto/deployment/wsgi/modwsgi/#using-a-virtualenv Please remove the line: "To do this, you ca

Re: Multiple Django Virtual Hosts on Apache+mod_wsgi but only one gets served

2012-02-10 Thread Tom Evans
On Tue, Feb 7, 2012 at 12:55 AM, Chris Cuilla wrote: > I've been struggling to figure out the following problem and am hoping > someone else has seen this. > > I have a server running Apache 2 w/mod_wsgi. I've setup multiple, > different Django apps. Each has its own virtual host configuration > (

Multiple Django Virtual Hosts on Apache+mod_wsgi but only one gets served

2012-02-06 Thread Chris Cuilla
I've been struggling to figure out the following problem and am hoping someone else has seen this. I have a server running Apache 2 w/mod_wsgi. I've setup multiple, different Django apps. Each has its own virtual host configuration (see below). This is on a local test server and my client machine

Re: Error with Apache + mod_wsgi

2012-01-27 Thread Reinout van Rees
On 13-01-12 23:09, polar wrote: ImproperlyConfigured: Error importing middleware django.middleware.csrf: "No module named csrf" I don't understand why because I didn't change anything in apache or in the django.wsgi files. I just restart my cloud server. In the same time, a php project running w

Error with Apache + mod_wsgi

2012-01-27 Thread polar
Hi, I deployed my django projects in virtual environnement with apache and mod_wsgi 10 monthes ago. I had not any problem with them but since three days, I can't get my websites under django, apache and wsgi. In the apache var logs, I have this errors when I restart apache and I try to get the u

Re: apache+mod_wsgi, redirect to https

2011-05-31 Thread refreegrata
Thanks men, I did this: -- ... ... RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} ... Works ok to me. Now I must to test the "Require Auth". Bye. On 31 mayo, 13:33, Michael Sc

Re: apache+mod_wsgi, redirect to https

2011-05-31 Thread Michael Scovetta
I usually set up two virtual hosts, one listening on port 80 and the other on 443. The virtual host listening on port 80 just redirects to the other one: ServerAdmin ad...@example.com ServerName domain.com HostnameLookups Off UseCanonicalName On ServerSignature Off Red

apache+mod_wsgi, redirect to https

2011-05-31 Thread refreegrata
Hello guys and girls. I have a question. In my apache configuration I have this: WSGIScriptAlias /misite "rute_to_file.wsgi" The users can access from: http://mysite/ and https://mysite/ I need to enable the access only from "https://mysite/";. Every access from "http://mysite/"; must to be red

Re: Apache + mod_wsgi deploy problem

2011-05-10 Thread Renato Beserra
Now I understand you, Stuart. Thanks to both yours and Tom's advices i was able to notice my network was fine and that still my apache did not get any external requests. I suspected that my ISP was blocking the port 80 and so i changed to 85 and everything is running smoothly. Thank you very much!

Re: Apache + mod_wsgi deploy problem

2011-05-10 Thread Stuart MacKay
The idea behind using telnet was simply to verify the network connections - that the web server is listening on the correct port and that your router was working correctly. Stuart I am not sure I got your suggestion and I don't have telnet working but i have similar rules for django productio

Re: Apache + mod_wsgi deploy problem

2011-05-10 Thread Renato Beserra
I am not sure I got your suggestion and I don't have telnet working but i have similar rules for django production server on port 8000 and ssh and they works just fine from external hosts. Does that help? Thanks. 2011/5/10 Stuart MacKay > Can you telnet to the web server: telnet 80 (assuming >

Re: Apache + mod_wsgi deploy problem

2011-05-10 Thread Stuart MacKay
Can you telnet to the web server: telnet 80 (assuming it is listening on port 80). That would at least tell you whether your LAN setup was correct. Stuart MacKay Lisboa, Portugal -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to thi

Re: Apache + mod_wsgi deploy problem

2011-05-10 Thread Renato Beserra
I guessed that the problem was at my httpd.conf because i am a newbie at apache configuration. But i looked at both logs you indicated and they show absolutely no response to external request. I checked my router again and the port 80 is forwarded to the right internal IP and the router firewall se

Re: Apache + mod_wsgi deploy problem

2011-05-10 Thread Tom Evans
On Tue, May 10, 2011 at 12:39 PM, Renato Beserra wrote: > Hi, > > I think I have a really basic problem but I didn't find a solution searching > the web. > > I have a Django application running on my local apache, and I can access > everything locally whitout any problems. But when i try to access

Apache + mod_wsgi deploy problem

2011-05-10 Thread Renato Beserra
Hi, I think I have a really basic problem but I didn't find a solution searching the web. I have a Django application running on my local apache, and I can access everything locally whitout any problems. But when i try to access it from an external host, the server timeout.I guess it has somethin

What's happen when using threadlocals with Apache/mod_wsgi?

2011-02-22 Thread Alisue
Hi, I have a question to using threadlocals trick on Apache/mod_wsgi. I built some SMS using threadlocals trick and FAILED. I was filtering blog post with current user, and blog post has publish policy like "public"(everyone can see) and "grouped"(user who joined in the group

Re: 4 different domains on single apache/mod_wsgi

2011-01-21 Thread Osiaq
Graham, daemonize is a trick a was looking for :) Thank you for the great idea :) Problem solved. On Jan 20, 3:16 am, Graham Dumpleton wrote: > Technically it should be able to made to work. I would recommend though you > use mod_wsgi daemon mode and delegate each Django site instance to its own

Re: 4 different domains on single apache/mod_wsgi

2011-01-19 Thread Graham Dumpleton
Technically it should be able to made to work. I would recommend though you use mod_wsgi daemon mode and delegate each Django site instance to its own process, rather than each sharing the same process but in different sub interpreters. See: http://code.google.com/p/modwsgi/wiki/QuickConfigu

Re: 4 different domains on single apache/mod_wsgi

2011-01-19 Thread Kenneth Gonsalves
On Wed, 2011-01-19 at 16:56 -0800, Osiaq wrote: > Hi Kenneth! > Distro: Ubuntu Server 10.04 well ubuntu follows the debian mode for setting up virtual hosts - you have virtual hosts files in /etc/apache/sites-available and you symlink them to /etc/apache/sites-enabled/. Here is a typical virtual

Re: 4 different domains on single apache/mod_wsgi

2011-01-19 Thread Osiaq
Hi Kenneth! Distro: Ubuntu Server 10.04 As I said the firs site, ELG is working OK. I just changed second site (cc4h) WSGI and it worked, printing "Hello World!" so domains are redirected OK. (please see code below) But the website itself is not working, still can't find the template Regards! --

Re: 4 different domains on single apache/mod_wsgi

2011-01-19 Thread Kenneth Gonsalves
On Wed, 2011-01-19 at 16:20 -0800, Osiaq wrote: > It doesnt seems as easy as I thought it will be. it is as easy as falling of a log! If you can tell us what distro you are using we can point the way. -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ --

4 different domains on single apache/mod_wsgi

2011-01-19 Thread Osiaq
Hi all! I have 2 separate projects, with 2 separate domains The problem: first website, ELG, is working OK. Another, cc4h, cannot find template index.html, but is working perfect on localhost with Django development server. Do you know any good tutorial regarding multiple domains on single Apache

Re: Apache & mod_wsgi are configured correctly. Need Django to recognize my django.wsgi file.

2010-12-12 Thread Mike Dewhirst
On 12/12/2010 10:55pm, Mike Dewhirst wrote: On 12/12/2010 12:35pm, jc wrote: I ran the Django develplment server and everything runs fine. It's only when I go back to the other web server that things start to break on me. In that case check out http://blip.tv/file/3840484 for Graham Dumpleton'

Re: Apache & mod_wsgi are configured correctly. Need Django to recognize my django.wsgi file.

2010-12-12 Thread Mike Dewhirst
On 12/12/2010 12:35pm, jc wrote: I ran the Django develplment server and everything runs fine. It's only when I go back to the other web server that things start to break on me. In that case check out http://blip.tv/file/3840484 for Graham Dumpleton's talk on precisely the problem you describe

Re: Apache & mod_wsgi are configured correctly. Need Django to recognize my django.wsgi file.

2010-12-11 Thread jc
I ran the Django develplment server and everything runs fine. It's only when I go back to the other web server that things start to break on me. On Dec 11, 8:06 pm, Mike Dewhirst wrote: > On 12/12/2010 10:56am, jc wrote: > > > > > > > > > > > I've tried to fix my config files and it gives me a 50

Re: Apache & mod_wsgi are configured correctly. Need Django to recognize my django.wsgi file.

2010-12-11 Thread jc
lockdown. > > To gain more info on wsgi scripts try ... > > http://code.google.com/p/modwsgi/wiki/DebuggingTechniques > > Good luck > > Mike > > > > > > > > > > > thanks for the reply back, I do appreciate it... > > > j. > > > On Dec

Re: Apache & mod_wsgi are configured correctly. Need Django to recognize my django.wsgi file.

2010-12-11 Thread Mike Dewhirst
On 12/12/2010 10:56am, jc wrote: I've tried to fix my config files and it gives me a 500 error, here is what i see n the logs. I've been told by someone else that they think it's still my mod_wsgi/Apache configuration and not the error that I'm getting in the log about missing modules. Any sugges

Re: Apache & mod_wsgi are configured correctly. Need Django to recognize my django.wsgi file.

2010-12-11 Thread Mike Dewhirst
he directory in which that script lives - in other words you create a hole in the entire filesystem lockdown. To gain more info on wsgi scripts try ... http://code.google.com/p/modwsgi/wiki/DebuggingTechniques Good luck Mike thanks for the reply back, I do appreciate it... j. On De

Re: Apache & mod_wsgi are configured correctly. Need Django to recognize my django.wsgi file.

2010-12-11 Thread Tim Sawyer
Here's the config I'm using for mod_wsgi: http://drumcoder.co.uk/blog/2009/nov/21/apache-mod_wsgi-config/ Hope that helps, Tim. On 11/12/10 23:35, jc wrote: You definitely lost me in some places but you've also cleared some things up in the process. I also noticed that I h

Re: Apache & mod_wsgi are configured correctly. Need Django to recognize my django.wsgi file.

2010-12-11 Thread jc
ntire filesystem", do  you mean *Apache* has done this > so that it will keep others out of my project (not that I've actually > done this somewhere, right?) > > After these changes, the project is still not running and I'm still > not sure if it's my django app t

Re: Apache & mod_wsgi are configured correctly. Need Django to recognize my django.wsgi file.

2010-12-11 Thread jc
t's the issue or wsgi and my Apache configs. :/ thanks for the reply back, I do appreciate it... j. On Dec 11, 5:29 pm, Mike Dewhirst wrote: > On 12/12/2010 7:14am, jc wrote: > > > Apache&  mod_wsgi are configured correctly (I've created a hello > > world .html ap

Re: Apache & mod_wsgi are configured correctly. Need Django to recognize my django.wsgi file.

2010-12-11 Thread Mike Dewhirst
On 12/12/2010 7:14am, jc wrote: Apache& mod_wsgi are configured correctly (I've created a hello world .html apache file and a hello world mod_wsgi application with no problems). I know need my Django app to recognize my django.wsgi file. What makes me think that it's not recog

Apache & mod_wsgi are configured correctly. Need Django to recognize my django.wsgi file.

2010-12-11 Thread jc
Apache & mod_wsgi are configured correctly (I've created a hello world .html apache file and a hello world mod_wsgi application with no problems). I know need my Django app to recognize my django.wsgi file. What makes me think that it's not recognizing my wsgi file is that

Re: Error Starting Django App using Apache+Mod_Wsgi

2010-11-22 Thread Graham Dumpleton
Have a read of: http://code.google.com/p/modwsgi/wiki/InstallationIssues It is likely that you have a conflicting mod_python module installed or that mod_wsgi is no finding the correct Python installation shared library at run time. Graham On Nov 22, 11:58 pm, Guddu wrote: > All, > > I have

Error Starting Django App using Apache+Mod_Wsgi

2010-11-22 Thread Guddu
All, I have a problem in starting my Django App using Apache and Mod_Wsgi I am using Django 1.2.3 and Python 2.6.6 running on Apache 2.2.17 with Mod_Wsgi 3.3 When I try to access the app from Web Browser, I am getting these errors. [Mon Nov 22 09:45:25 2010] [notice] Apache/2.2.17 (Unix) mod_ws

Re: apache, mod_wsgi, windows: config hints?

2010-08-26 Thread Reinout van Rees
On 08/26/2010 05:01 AM, Sam Lai wrote: On 25 August 2010 20:09, Reinout van Rees wrote: I normally deploy everything on linux, but a customer requires windows. I have a working setup with apache and mod_wsgi, but I wonder about the efficiency. I see hints like "mod_wsgi, daemon mode" includi

Re: apache, mod_wsgi, windows: config hints?

2010-08-25 Thread Sam Lai
On 25 August 2010 20:09, Reinout van Rees wrote: > Hi all, > > I normally deploy everything on linux, but a customer requires windows.  I > have a working setup with apache and mod_wsgi, but I wonder about the > efficiency. > > I see hints like "mod_wsgi, daemon mode" including "but that doesn't w

apache, mod_wsgi, windows: config hints?

2010-08-25 Thread Reinout van Rees
Hi all, I normally deploy everything on linux, but a customer requires windows. I have a working setup with apache and mod_wsgi, but I wonder about the efficiency. I see hints like "mod_wsgi, daemon mode" including "but that doesn't work on windows". Similarly with other apache settings li

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
, 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, etc. I'm not sure I understand how mod WSGi eliminates the need for SSLRedirect. I implemented the Lincoln

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? Co

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

Possible improved WSGI script file for Django when using Apache/mod_wsgi.

2010-03-28 Thread Graham Dumpleton
FWIW, have posted: http://blog.dscpl.com.au/2010/03/improved-wsgi-script-for-use-with.html This delves into issues as to why Django development server behaves differently to Apache/mod_wsgi and describes an alternate WSGI script file which should hopefully narrow the gap and get rid of some of

Re: Debugging Django project using Eclipse (Apache + mod_wsgi)

2010-03-16 Thread Stefan
Thanks. Good article. On 16 мар, 22:53, dan levine wrote: > this is a good place to get started: > > http://code.google.com/p/modwsgi/wiki/DebuggingTechniques > > On Mar 16, 10:11 am, Stefan wrote: > > > > > Hello, > > > When i used Django web-server there were no problems with debugging > > Dj

Re: Debugging Django project using Eclipse (Apache + mod_wsgi)

2010-03-16 Thread dan levine
this is a good place to get started: http://code.google.com/p/modwsgi/wiki/DebuggingTechniques On Mar 16, 10:11 am, Stefan wrote: > Hello, > > When i used Django web-server there were no problems with debugging > Django projects in Eclipse IDE. > I had to deploy it on Apache web server. > > How

Debugging Django project using Eclipse (Apache + mod_wsgi)

2010-03-16 Thread Stefan
Hello, When i used Django web-server there were no problems with debugging Django projects in Eclipse IDE. I had to deploy it on Apache web server. How can i debug the same project if it is deployed on Apache with module mod_wsgi? With regards, Stefan -- You received this message because you a

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':

  1   2   >