On Feb 1, 4:27 am, sandro dentella <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i'd like to make an application that should execute commands with
> permission that are not normally for www-data (eg: create user). Of
> course
> I know I could use sudo and execute the command via subprocess or
> sim
On Feb 1, 2:05 am, omat <[EMAIL PROTECTED]> wrote:
> When I install Django on Leopard, py files went into:
> /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/
> site-packages/django/
If you are running Python 2.5.1 that ships with Leopard,then the
directory:
/System/Libra
On Feb 1, 9:46 am, Alessandro Dentella <[EMAIL PROTECTED]> wrote:
> On Thu, Jan 31, 2008 at 02:30:02PM -0800, Graham Dumpleton wrote:
>
> > On Feb 1, 4:27 am, sandro dentella <[EMAIL PROTECTED]> wrote:
> > > Hi,
>
> > > i'd like to mak
On Feb 1, 9:25 pm, Eric Abrahamsen <[EMAIL PROTECTED]> wrote:
> On Feb 1, 5:47 pm, omat <[EMAIL PROTECTED]> wrote:
>
> > I am using the built-in Python that ships with Leopard. Unfortunately
> > I don't know what created the extra site-packages under /System/
> > Library/.../lib/python2.5/
>
> I d
The only other option is to upgrade to Python 2.5. In Python 2.5 it
correctly namespaces the copy of expat it contains thereby avoiding
the problem.
Graham
On Feb 5, 8:51 am, Giovanni Giorgi <[EMAIL PROTECTED]> wrote:
> Hi all,
> I have a problem.
> I have discovered my dear python 2.4 has a li
On Feb 7, 11:37 pm, Tony Winslow <[EMAIL PROTECTED]> wrote:
> Kenneth Gonsalves wrote:
> > On 06-Feb-08, at 7:41 PM, Tony Winslow wrote:
>
> >> I installed mod_python and do the configurations as the tutorial on
> >> the
> >> official site. But mod_python still can not find the mysite.settings
On Feb 8, 8:43 am, Richard Jones <[EMAIL PROTECTED]> wrote:
> I have noticed that apache's error log has tons of these entries at
> random (avg. 5 minutes) intervals:
>
> [Thu Feb 07 14:08:11 2008] [notice]mod_python: (Re)importing module
> 'django.cor
> e.handlers.modpython'
>
> The dates of thes
What are you using in urls.py file? This is more about what you have
in the urls.py file than it is an issue with mod_python or Apache. You
shouldn't need to be using rewrite rules.
Graham
On Feb 12, 7:04 am, <[EMAIL PROTECTED]> wrote:
> I looked at the sample code there, and it tells me how to
Are you trying to use mod_python 2.7.X on Apache 1.3 by chance?
From memory ap_auth_type attribute may only be in Apache 2.X and thus
you need to be using mod_python 3.X, preferably 3.3.1, on Apache 2.X.
Graham
On Feb 17, 8:47 am, msoulier <[EMAIL PROTECTED]> wrote:
> I'm trying to move an exis
On Feb 18, 2:14 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Does anyone have suggestions on how to make request.is_secure() work
> from behind a reverse proxy? I have nginx proxying to apache but since
> nginx (and not apache) is handling SSL the HTTPS environment variable
> that is_secur
If you want to use Django user database for HTTP Basic/Digest
authentication across static files and other non Django URLs, as well
as Django, then you can also use mod_wsgi 2.0 instead of mod_python.
See:
http://code.google.com/p/modwsgi/wiki/AccessControlMechanisms
When using the mod_python
On Feb 19, 3:36 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Mon, 2008-02-18 at 07:09 -0800, [EMAIL PROTECTED] wrote:
> > Hi,
>
> > that won't do it when I do something like:
> > return HttpResponseRedirect('/')
>
> > What I want is to be able to do the command above and I'll get to the:
On Feb 21, 2:37 am, Richard Dahl <[EMAIL PROTECTED]> wrote:
> If you are using Apache or other web server on the external site,
> changes will not propagate until you restart the web server.
Depending on the web server hosting solution you may not have to
restart the web server. If using mod_wsgi
On Feb 24, 11:08 am, Michael Hipp <[EMAIL PROTECTED]> wrote:
> Malcolm Tredinnick wrote:
>
> > On Sat, 2008-02-23 at 16:02 -0600, Michael Hipp wrote:
> >> Where in my Django code files can I set the current working directory
> >> (so that it applies to all my code)?
>
> >> I'm trying to make sure
On Feb 25, 9:53 pm, Aljosa Mohorovic <[EMAIL PROTECTED]>
wrote:
> django is not in system/pythonpath but is in '/var/sites/test' path
> which i define in PythonPath when i configure site/django project.
>
> is it possible not to have django in system wide path but to define in
> apache conf via Py
On Mar 4, 4:19 am, Matt <[EMAIL PROTECTED]> wrote:
> Hello group,
>
> I'm having some problems understanding the URL setup for mod_wsgi. The
> documentation at [1] is excellent, but all of the examples of the
> Apache configuration have a trailing slash appended to the Alias.
Did you also read:
On Mar 4, 11:44 am, Corey Oordt <[EMAIL PROTECTED]> wrote:
> Aljosa,
>
> The docs are really good.
> (http://www.djangoproject.com/documentation/modpython/
> ) I can attest that you should definitely use prefork instead of
> worker. I was getting random crashes on our server until I realized
>
might
be the issue there. From memory I believe the problems show up quite
readily if you enable the admin interface. Some embedded URLs get sent
back as /admin instead of /my_app/foo/admin.
> Simply matching something other than the empty string would avoid this
> problem, but if my surmisi
On Mar 5, 8:14 am, Pigletto <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I'm observing that "can't adapt" error appears on my Django powered
> site sometimes. After Apache restart everything is OK for few days and
> again... can't adapt appears. This is same thing as described
> there:http://groups.googl
On Mar 24, 5:29 pm, Peter Rowell <[EMAIL PROTECTED]> wrote:
> > He's running a site on vBulletin, so his PHP needs to stay, is there
> > any issues I should be careful of not upset the PHP, while still
> > getting Django and mod_python correctly installed on the server?
>
> The one thing I am awar
For the record, you could also have got it to work, as from memory
suggested elsewhere in mod_python mailing list archives, by adding
appropriate:
-Wl,-F/usr/local/python-3.0a3/frameworks
like option into mod_python makefiles at appropriate spot. Using
appropriate path of course as mod_python
On Mar 26, 3:43 pm, Floyd Arguello <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I've been working on this a few hours now, and I feel like someone has
> dropped a BFR on my head. Logging into the Django Admin returns a very
> informative 500 error. Anyone run into this before? Any ideas?
If it is so
On Mar 26, 7:58 pm, shabda <[EMAIL PROTECTED]> wrote:
> I response to some urls, my views need to start some potentially time
> taking actions. So how can I start background process, would it be as
> simple as
>
> ...
> t = threading.Thread(...)
> t.setDaemon(True)
> t.start()
> return HttpRespons
to provide as much information as possible, else we
cannot help you. Saying it doesn't work is not enough.
Graham
> Using latest stable Postgres and Python
> 2.4.3. RHEL5 64bit. Using lighttpd to serve the media files.
>
> Thanks,
> Floyd
>
> Graham Dumpleton wrote:
>
thread/thread/962cfdf7609839eb/),
>
> On Mar 23, 11:48 pm, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
> > For example, using prefork MPM because PHP is not thread safe in
> > conjunction with Python web applications in embedded mode in a memory
> > constrained
Now for some more comments.
On Mar 28, 2:01 am, Peter Rowell <[EMAIL PROTECTED]> wrote:
> In another thread (http://groups.google.com/group/django-users/
> browse_thread/thread/962cfdf7609839eb/),
>
> On Mar 23, 11:48 pm, Graham Dumpleton <[EMAIL PROTECTED]>
> wrot
On Mar 28, 9:32 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Thu, Mar 27, 2008 at 3:13 PM, Michael Wieher <[EMAIL PROTECTED]>
> wrote:
>
> > but this is the error message.
>
> > >ImportError: No module named django
>
> > shouldn't that mean that python can't find the django module? regardle
Variables set with SetEnv aren't available to authentication handlers,
only to the content handler. Thus, even if the Django authentication
handler is looking for it, it will not find it and thus would not be
able to update os.environ variable of same name from it. The only way
it could work is if
it works - is this expected behaviour or can I stop
> the login box appearing for users that have logged into django auth?
Yes it is expected behaviour. The recipe you are using is for HTTP
Basic Authentication, which makes use of a browser implemented popup
login window. In general you cann
On Mar 28, 9:41 pm, Tim Sawyer <[EMAIL PROTECTED]> wrote:
> On Friday 28 Mar 2008, Graham Dumpleton wrote:
>
> > On Mar 28, 9:21 pm, Tim Sawyer <[EMAIL PROTECTED]> wrote:
> > > I've done that and now it's prompting me to login a normal browser dialog
&
On Mar 29, 5:04 am, Slayer_X <[EMAIL PROTECTED]> wrote:
> Problem solved!
>
> I deleted the symlinks, delete de django-trunk dir and make a fresh
> install directly in
>
> /usr/lib/python2.4/site-packages/django
What do you mean by 'make a fresh install directly in'? Do you mean
you copied it in
On Mar 29, 8:43 am, hambaloney <[EMAIL PROTECTED]> wrote:
> Hello!
>
> I'm hoping to get an idea on how to approach a system setup I've been
> thinking about.
>
> In this system:
> - a group of users each has it's own Django site and database. (e.g.
> Group A has access only to Site A, etc)
> -
The best I have ever been able to get out of anyone associated with
Django development about thread safety is the comments by Jacob Kaplan-
Moss in the following thread:
http://groups.google.com/group/django-developers/browse_frm/thread/905f79e350525c95/dfed56f8ed65aed2
Graham
On Mar 29, 6:4
On Apr 1, 1:21 pm, [EMAIL PROTECTED] wrote:
> Hey,
>
> I am currently looking at installing multiple instances of Django on a server
> to use Django as a teaching and learning tool.
>
> What is the best way to go about this?
>
> I want to minimise the amount of storage needed and optimize the p
On Apr 2, 10:16 pm, Jarek Zgoda <[EMAIL PROTECTED]> wrote:
> Simon Oberhammer napisał(a):
>
> > anybody? after restartign apache everything is fine again.. i have to
> > do this once or twice a day.
>
> > On Apr 1, 9:15 pm, Simon Oberhammer <[EMAIL PROTECTED]>
> > wrote:
> >>> What version of Dja
On Apr 3, 12:54 am, JLathem <[EMAIL PROTECTED]> wrote:
> The first time I boot my server and view my django app I get the
> following message
>
> ===
> ExtractionError: Can't extract file(s) to egg cache
>
> The following er
On Apr 4, 8:37 am, Jared Dobson <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Have anyone ever seen this error i'm on the latest svn trunk for
> django, I have been searching the mailing list to find an answer.
>
> Mod_python is working because i mod_python.testhandler for the same
> apache config sect
b-dynload',
> '/usr/local/lib/python2.5/site-packages', '/home/']
> >>> import django.core.handlers.modpython
> >>> dir(django)
>
> ['VERSION', '__builtins__', '__doc__', '__file__', '__name__&
.. i am going to wipe it all right now...
> and try it on a fresh install or something.
>
> But for real, Thanks for making mod_wsgi. That is way generous of you to
> give like that.
> if i could just figure out what's up with my machine. :-P Go nube!
>
> Thanks,
> Ja
On Apr 6, 2:30 am, Eric Abrahamsen <[EMAIL PROTECTED]> wrote:
> Also, if you haven't already, I'd definitely recommend switching to
> mod_wsgi. I'm in the same boat as you - django apps on webfaction,
> running up against memory limits (to the point where I was getting my
> sites shut down);
Thanks for your quick response. It was a SELinux problem. And i realize
> > that chmoding to 777 is a bad idea, at the time I was just trying to get it
> > to work.
>
> > Jon
>
> > On Wed, Apr 2, 2008 at 5:47 PM, Graham Dumpleton <[EMAIL PROTECTED]>
> > w
On Apr 6, 5:23 pm, Will Boyce <[EMAIL PROTECTED]> wrote:
> Assuming your django project (mysite) is in /home/webmaster/
> public_html/django/ then you'll want a trailing "/" in your
> PythonPath.
No you don't. Trailing slash shouldn't make any difference.
What gives you that idea?
Graham
> H
Can someone who has access do me a favour and write a hello world
application which echos back the WSGI environment.
def application(environ, start_response):
status = '200 OK'
output = str(environ)
response_headers = [('Content-type', 'text/plain'),
On Apr 10, 1:54 am, Peter Rowell <[EMAIL PROTECTED]> wrote:
> > This means that a python version has to be selected before the PythonPath
> > directive is processed.
>
> "Selected" is not quite the right way to think of it.mod_pythonhas
> the Python interpreter linked in at build time, not run tim
Since you appear to be using MacPorts Python, suggest you go ask them
about the SDK warning and whether it is a problem or not.
Graham
On Apr 17, 5:11 am, Ron <[EMAIL PROTECTED]> wrote:
> Hello - massively frustrated.
>
> Python 2.5.2 installed and running
> Django latest build installed and run
On Apr 18, 7:58 am, Tim Sawyer <[EMAIL PROTECTED]> wrote:
> Hi Folks,
>
> I'm having trouble with Apache/Django memory usage on a Virtual Private
> Server. I only have 150Mb memory.
>
> I've turned KeepAlive off. I think I'm using prefork (how do I tell?) and
> it's set at the following:
>
>
>
On Apr 20, 3:54 pm, Lee Hinde <[EMAIL PROTECTED]> wrote:
> This is more venting than anything.
>
> As a long-time Mac fan boy I'm hugely disappointed at how much trouble
> it's been to get Apache/MySQL/Mod_Pythyon/django all working together
> on an Intel Mac running Leopard.
>
> This post:http:
On Apr 20, 3:51 am, yish <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am having a problem with Apache (prefork),mod_python, Django (trunk-
> version 6410) and python 2.5.1. I am currently testing my site with 5
> apache processes and haven't yet set up memcached (on the list but had
> some issue with
Andrew Durdin wrote:
> On Apr 4, 1:16�pm, Simon Oberhammer <[EMAIL PROTECTED]>
> wrote:
> > Magus on IRC told me that multiple django projects with different
> > timezones serverd by apache / mod_python could be a problem - ie one
> > changing TZ in a thread that also servers the other project.
On Apr 24, 12:57 am, Rufman <[EMAIL PROTECTED]> wrote:
> Hey
>
> I was wondering: Is Django faster and stabler using mod_python or
> fcgi?
>
> I read that mod_python can be a memory hog...what are the concrete
> advantages of using fcgi or mod_python for that matter?
That mod_python can be a memo
On Apr 25, 9:47 am, Don Spaulding <[EMAIL PROTECTED]> wrote:
> On Apr 24, 6:34 am, Rufman <[EMAIL PROTECTED]> wrote:
>
> > Hey Graham
>
> > thanks for the insight
>
> > Stephane
>
> I won't debate any of what Graham has said, as it's a pretty standard
> answer from what I've seen, and he's a lot s
On Apr 28, 5:44 pm, Jarek Zgoda <[EMAIL PROTECTED]> wrote:
> Christian Vest Hansen napisał(a):
>
> > On 4/28/08, rich <[EMAIL PROTECTED]> wrote:
> >> Yes, I too am at a similar level of confusion as to when django is not
> >> thread safe.
>
> > With the python GIL, is it even possible to create
On Apr 30, 3:26 am, Rajesh Dhawan <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
>
> > I could use some help getting my Django website back up after an
> > upgrade to Hardy Heron. Instead of using svn to get Django, I used
> > synaptic this time. Now my site doesn't work and I'm a bit confused
> > on path
On Apr 30, 11:44 am, vv2 <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I just noticed latest changeset in django-trunk (http://
> code.djangoproject.com/changeset/7510) and I started wondering if it
> is possible to pass file contents to output without actually storing
> it in memory.
>
> So, the que
On May 3, 3:10 am, Robin Becker <[EMAIL PROTECTED]> wrote:
> Djangophiles, is there any kind of analysis of the above combination with
> regard
> to efficiency. It seems that mod_fastcgi must talk to the flup server through
> a
> single socket (or rather each front end apache process must do so)
On May 7, 7:45 am, David Zhou <[EMAIL PROTECTED]> wrote:
> It works for me. Here's the body of that post:
>
> * Support formod_wsgi: Setting up a default Django app withmod_wsgi
> is now an option in our one-click installer. So if you prefermod_wsgi
> over mod_python you will no longer have to in
On May 9, 5:16 am, Pigletto <[EMAIL PROTECTED]> wrote:
> > The only thing thatmod_wsgiwould still give you through its daemon
> > mode is the ability to isolate WSGI applications into their own
> > processes so they do not interfere with each other. As I understand it
> > though, WebFaction has li
On May 9, 4:09 pm, Pigletto <[EMAIL PROTECTED]> wrote:
> > If you mean compared to Apache prefork and mod_python then answer is
> > yes.
>
> Yes
>
> > Even without using mod_wsgi though, one can do better than prefork
> > with mod_python by using Apache worker MPM instead. Because Apache
> > worke
> > Whether you use Apache worker MPM or not, when using mod_wsgi you can
> > also use it in daemon mode. This is similar to fastcgi in the sense
> > that your web application is run in separate process(es), but mod_wsgi
> > will handle all the management of those processes, starting them up
> >
On May 12, 8:04 am, Pigletto <[EMAIL PROTECTED]> wrote:
> > Obviously be aware that in daemon mode you will still have multithread
> > issues to contend with if they run with multiple threads. To avoid it
> > you would need a config such as:
>
> > ... processes=5 threads=1
>
> > Ie., use prefo
On May 13, 8:05 pm, Sebastian <[EMAIL PROTECTED]> wrote:
> Hi David,
>
> We have checked all possible timezone related issues with our server
> and everything seems fine. The problem is odd as the times keep
> changing back and forth. We have turned off all time daemons (ntpd
> etc...), which left
If you removed /usr/bin/python, the simple answer is that your broke
it by doing so.
MacPorts as far as I know should not have replaced /usr/bin/python and
instead installed its 'python' elsewhere and thus the standard version
should still have existed.
What do you get when you run:
ls -las /
On May 14, 1:16 pm, rcs_comp <[EMAIL PROTECTED]> wrote:
> On May 13, 5:20 pm, TP <[EMAIL PROTECTED]> wrote:
>
> > How about specifically whether mod_wsgi can be used to run many
> > threads serving web requests for Django?
>
> My understanding is that you can only run one instance of Django per
On May 15, 2:32 am, Jason Ourscene <[EMAIL PROTECTED]> wrote:
> Ok now that the shock has passed a bit, anyone know how to do this
> without reinstalling the OS.
Do you still have the directory:
/System/Library/Frameworks/Python.framework
and:
/Library/Python/2.5/site-packages
present o
On May 16, 12:21 am, "Norman Harman" <[EMAIL PROTECTED]> wrote:
> Alex Morega wrote:
> > On May 15, 2008, at 02:24 , David Zhou wrote:
> >> Are you restarting the server between module changes?
>
> > By default Django does no caching of responses. It's probably what
> > Viktor says: the server (
On May 16, 8:44 am, "Norman Harman" <[EMAIL PROTECTED]> wrote:
> Graham Dumpleton wrote:
> > On May 16, 12:21 am, "Norman Harman" <[EMAIL PROTECTED]> wrote:
> >> Alex Morega wrote:
> >>> On May 15, 2008, at 02:24 , David Zhou wrot
On May 16, 5:56 am, mw <[EMAIL PROTECTED]> wrote:
> Yeah I'm still at a loss on this bug.
>
> I ran the code provided in the thread.
> Django's
> django
> /Library/Python/2.5/site-packages/django/__init__.pyc
> pil
> /Library/Python/2.5/site-packages/PIL/__init__.pyc
>
> And then Apache's is
> dja
> * The bigger problem you will encounter isn't Django - it's the chain
> of support libraries. At the very least, you will need Python3000
> versions of mod_python and a database backend. To the best of my
> knowledge, these tools aren't available in Python3000 versions - until
> they are, there
On May 17, 5:18 am, mw <[EMAIL PROTECTED]> wrote:
> I'm having nothing but tons of trouble right now with the image field
> upload. I don't know what the problem is for sure, yet, but yeah I
> think that I'm willing to say that the ImageField isn't as easy to get
> working as it should be :-/
>
>
On May 20, 3:42 pm, Austin Govella <[EMAIL PROTECTED]> wrote:
> It was a PYTHONPATH problem. I fixed it using this tutorial:
> *http://emmby.blogspot.com/2008/05/installing-python-pil-on-mac-os-x-1...
>
> (I'm using python 2.4, so I adjusted the path accordingly.)
>
> Everything validates. Server
Aljosa Mohorovic wrote:
> IOError: Client read error (Timeout?)
>
> sometimes i get this error, any tips on how to handle this kind of
> errors?
> any comment related to this is welcomed.
Generally you can ignore it, it usually indicates that the user
pressed reload on a page or navigated off it
On May 20, 10:53 pm, "Rishabh Manocha" <[EMAIL PROTECTED]> wrote:
> Hey Guys,
>
> I have just deployed my code to my test server (from my laptop) and
> setup apache/mod_python to serve the pages. Everything works just fine
> when I work with Firefox, but whenever I access my pages using IE 6, I
On May 21, 12:49 am, Dougal <[EMAIL PROTECTED]> wrote:
> Say you have a hierarchy of apps, how can i easily require
> authentication to a whole app? or basically a whole folder.
Depends on what sort of authentication you want to use.
If you want to use HTTP Basic authentication, then put everyth
On May 21, 11:47 am, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On Tue, May 20, 2008 at 7:14 PM, Graham Dumpleton
>
> <[EMAIL PROTECTED]> wrote:
> > If you want to use HTTP Basic authentication, then put everything
> > under/behind Apache and u
On May 21, 11:57 am, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> On May 21, 11:47 am, "James Bennett" <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Tue, May 20, 2008 at 7:14 PM, Graham Dumpleton
>
> > <[EMAIL PROTECTED]> wrote:
> > > I
On May 21, 10:16 am, Aljosa Mohorovic <[EMAIL PROTECTED]>
wrote:
> On May 20, 12:26 pm, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
> > Generally you can ignore it, it usually indicates that the user
> > pressed reload on a page or navigated off it before t
On May 21, 12:04 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On Tue, May 20, 2008 at 8:57 PM, Graham Dumpleton
>
> <[EMAIL PROTECTED]> wrote:
> > Let me ask my own question then. If one is running multiple Django
> > instances, does Django p
On May 21, 10:37 pm, puff <[EMAIL PROTECTED]> wrote:
> As part of startup, the application needs to initialize itself from a
> number of external applications. We've Googled the issue and it
> appears that it is reasonable to do this initialization by putting
> code in startup.py. Is this the ca
On May 22, 9:41 am, Jason <[EMAIL PROTECTED]> wrote:
> On May 21, 4:17 pm, Jashugan <[EMAIL PROTECTED]> wrote:
>
> > On May 21, 4:10 pm, Jason <[EMAIL PROTECTED]> wrote:
>
> > > Hey folks--
>
> > > I'm trying to set up a mirror instance of Django on our webserver,
> > > having grown tired of bring
On May 22, 2:38 am, puff <[EMAIL PROTECTED]> wrote:
> Thanks Graham and Ben for the prompt feedback. It was most helpful.
>
> > Depending on the hosting mechanism has been configured, anyDjango
> > startup may only happen the first time a request comes in. This would
> > potentially delay request
directives separate
> > > interpreters"
>
> > > ...and my two Django installations are very much in different
> > > VirtualHosts. So maybe the docs could use a bit of revision there...?
>
> > > Also, I'd very much like to try themod_wsgistuff, so if an
#x27;s models are still regularly & reliably
> showing up in my main site's admin pages.
>
> So I'm flummoxed. Guess it's a separate test box for me for the time
> being. Thanks for trying though!
>
> On May 25, 2:34 am, Graham Dumpleton <[EMAIL PROTECTED]&g
On May 28, 8:28 am, konatufe <[EMAIL PROTECTED]> wrote:
> The problem is related to the apache directive SetEnv
>
> I detected that this directive isn't working good, they not set
> correctly the var DJANGO_SETTINGS_MODULE
>
> Any idea?
As per documentation at:
http://www.djangoproject.com/d
On May 29, 1:07 am, Michael Ellis <[EMAIL PROTECTED]> wrote:
> Thanks, John. I found a clunky solution (see next post), but I like
> your solution better. I'm usingmod_wsgiin daemon mode, but Django
> seems to be running as 'nobody'. Here's mymod_wsgidirective in
> httpd.conf's Virtualhost section
And what about if you run:
sudo -H -u apache python
and then try and import modules.
If you don't use -H then it will inherit your personal user
environment.
If it is depending on PYTHONPATH from your personal user environment,
it should then fail when using -H.
BTW, print out sys.path for
No, step 2.5 is needed.
Ask on Django list why you can't get it working, especially where you
couldn't be bothered to read the instructions properly. ;-)
On May 30, 3:23 am, "Guillaume Lederrey"
<[EMAIL PROTECTED]> wrote:
> I'm afraid you missed step 7 :
>
> 7) profit !
>
> 2008/5/29 Tim Chase <
On May 31, 6:07 am, GetFresh <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I'm trying to install Django on my web host but I'm running into some
> problems.
>
> When I initial tried to run the install ( pyhon setup.py install).
> The Django dir was created but it could not be copied to the /site
On May 31, 11:29 am, Manuel Meyer <[EMAIL PROTECTED]> wrote:
> Hey,
>
> I am using Free threaded comments on a 0.97-pre-SVN-7436 site.
> I am developing on Mac and run the site on debian/apache2/mod_python.
> under debian i found a strange behavior:
> Some comments are pre-dated 7 hours. ie.:
>
On May 31, 2:12 pm, dxLogan <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> I'm a new Django user and looks forward to it. I'm still playing with
> it and met some unexplained results. Hopefully masters here may shed
> some insight into the problem.
>
> So I set up the apache with mod_python as taug
On Jun 2, 10:57 am, slix <[EMAIL PROTECTED]> wrote:
> LoadModule python_module modules/mod_python.so
>
> this is weird, i open the file and add that then windows says the file
> cant be found and cant create the file either although it isclearly
> there.
Apache when run as a Windows service ru
change them in windows or apache?
It is a Windows thing.
> why is this anyway, is this a securitymeasure?
Yes.
> On 2 Juni, 03:30, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
> > On Jun 2, 10:57 am, slix <[EMAIL PROTECTED]> wrote:
> >
> > > LoadModule python_mo
How about having a go at Apache + mod_wsgi?
Graham
On Jun 7, 1:06 pm, msaelices <[EMAIL PROTECTED]> wrote:
> Buildout [1] is a great tool for deployment of projects created by
> zope3 and used in other projects like Plone. It is based on python
> "recipes" which could install whatever.
>
> I jus
On Jun 16, 11:22 pm, Florian Apolloner <[EMAIL PROTECTED]> wrote:
> I would stay with Apache, but I would drop mod_python in favor
> ofmod_wsgi[1].Mod_wsgiis pretty cool and written by the same person
> as mod_python and should be seen as it's successor.
The mod_wsgi code is not written by sam
On Jun 28, 12:52 am, "Leeland (The Code Janitor)" <[EMAIL PROTECTED]>
wrote:
> Specifically what I am trying to do is figure out if the server has
> been run as a mod_python, FCGI process, AJP process or by the built in
> test server. Then take the appropriate actions to so that print goes
> to
On Jun 30, 6:15 am, umrzyk <[EMAIL PROTECTED]> wrote:
> hi there,
> i would like to give my users ability to upload a huge (i.e. 10-20 MB)
> files, mostly images. standard uploading using django newforms and
> FileField is at the moment not an option. it kills my
> server immediately. recently i r
Was your mod_python setup using single threaded prefork? Is your
mod_wsgi setup also using single threaded prefork, or have you moved
to using multithread worker MPM and/or multithreaded daemon processes?
Maybe you are seeing a multithreading issue.
Graham
On Jun 29, 8:13 pm, Julien <[EMAIL PROT
On Jul 1, 7:48 am, umrzyk <[EMAIL PROTECTED]> wrote:
> On 30 Cze, 03:51, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
>
> > You may have to to ask the author of nginxmod_wsgiwhether streaming
> > uploads is even possible.
>
> > I vaguely remember from disc
On Jul 2, 10:20 pm, David Marko <[EMAIL PROTECTED]> wrote:
> I'm just considering using SQLite in small Django project(in
> production environment). I have no fear about performance but what
> troubles me is whether SQLite can be used in environment like Apache
> +mod_wsgi? As SQLite is file based
On Jul 4, 11:03 am, joshuajonah <[EMAIL PROTECTED]> wrote:
> I have a Media Temple DV server, it has 7 sites hosted on it, 5 of
> them are paying clients.
>
> The vhost file structure is like this:
>
> /var/www/vhosts/whatever.com/
> /var/www/vhosts/whatever2.com/
> /var/www/vhosts/whatever3.com/
On Jul 14, 11:42 am, Rickard <[EMAIL PROTECTED]> wrote:
> Hi,
>
> The documentation says "The value you use for PythonPath should
> include the parent directories of all the modules you are going to
> import in your application."
>
> If I have a typical Django project structure:
>
> root
> - mysit
701 - 800 of 1006 matches
Mail list logo