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
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
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
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
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
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@
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
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
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(
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
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
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/
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
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
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
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
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
>>
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
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
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
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
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
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
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
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
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
, 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
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
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
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
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
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
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
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
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
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,
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
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
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
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
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
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
> (
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
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
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
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
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
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
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!
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
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
>
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
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
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
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
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
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
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
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
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!
--
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/
--
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
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'
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
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
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
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
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
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
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
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
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 (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
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
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
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
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
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
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
, 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
>
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
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 - 100 of 155 matches
Mail list logo