Ivan Sagalaev napisał(a):
>> I have lighttpd+fastcgi configuration on the same host, but apache +
>> mod_python looked like a good idea (for a change).
>>
>
> Interesting I've just made as switch in other direction :-).
> Lighty+FastCGI just takes less memory...
If it was up to me, I'd
Ivan Sagalaev napisał(a):
> I also have a FreeBSD machine with Apache 2.2 but never tried to install
> mod_python since for the time being it did only support officially
> Apache 2.0. That's why I went with FastCGI server instead. Any reason
> why you do want mod_python?
>
I have
James Bennett napisał(a):
>>
>> Have you double-checked that you're not running into one of the problems
>> here?
>> http://www.djangoproject.com/documentation/modpython/#if-you-get-a-segmentation-fault
>>
Yup. Point number 2. Lesson taken, but what a waste of time :).
(honestly speaking:
I know, another boring configuration question. Most of you probably
prefer to do some python coding, but... I'm obsessive and it's not easy
to ignore that something as cool as django does not work for me :).
Shortly speaking, it dies :). Internal server error, nothing more
specific, despite
James Bennett napisa³(a):
> My initial guess is that the problem has to do with permissions on the
> filesystem; the built-in server and FastCGI both typically run as your
> user on the system, which means they have permission to access
> anything your user account can access.
>
> Apache,
Michael napisa³(a):
> I've hit the same problem :(
> after searching on this group and net I found that
> curently django dosen't work well with sqlite.
I can't believe it's that bad ;(, if so, I'll have to switch to mysql or
postgress. I hope it's gonna
be clarified/fixed soon.
W.
--
Hi.
Today I've been trying (preparing) to switch from my testing
configuration (lighttpd+flup+django-fastcgi) to apache+mod_python, so
far without success .
From my point of view, there is something wrong happening between
sqlite and mod_python, but the error messages look enigmatic. I've
Wiktor Grębla napisał(a):
> I was wondering, is there any way to set a cookie valid for the
> current session only, without setting global
> SESSION_EXPIRE_AT_BROWSER_CLOSE?
I should RTFM more (BTW, thanks for the great documentation):
#v+
from django.contrib.sessions.models impor
Wiktor Grębla napisał(a):
> I was thinking about it for a while, and I found another simple
> problem. Setting the cache the way I do is also error-prone. I use the
> same cache keys for different connections, so every time a user
> connects and the cache is saved (wherever I thi
Eugene Lazutkin napisał(a):
> 'locmem:///' is a thread-safe process-local memory cache. Every process
> has its own unique instance. Why? It was meant to be used for caching of
> immutable, but expensive-to-calculate values. In your case (making a
> global snapshot of a variable) it'll create
Hi.
I've a "testing" Django configuration with lighttpd (flup +
django-fastcgi.py) on FreeBSD. Everything seems to work fine, but there
is one thing "misbehaving": cacheing when CACHE_BACKEND = 'locmem:///'.
In my views I often use something like:
images = cache.get('images')
entries =
Wiktor Grêbla napisa³(a):
I've an impression that this message was not delivered to the list,
although google finds it...
> I was trying to add an rss feed with blog comments, and I'm mostly done,
> here are some snippets i pasted on irc this morning:
>
> http://paste.e-scribe.com/934/
>
> The
Hi.
I was trying to add an rss feed with blog comments, and I'm mostly done,
here are some snippets i pasted on irc this morning:
http://paste.e-scribe.com/934/
The problem is that i'd like to have unique_id for each item (comments
don't have unique links, as they're "attached" to the blog
13 matches
Mail list logo