Τη Τρίτη, 14 Ιουνίου 2016 - 3:36:23 μ.μ. UTC+3, ο χρήστης Pavel S έγραψε:
> Have you considered to use rather WSGI-based solution? (for Apache Httpd is
> mod_wsgi). Mod_python is totally obsolete.
Regarding my blog post, i would like to inform you that someone helped me to
overcome this error bu
Have you considered to use rather WSGI-based solution? (for Apache Httpd is
mod_wsgi). Mod_python is totally obsolete.
--
https://mail.python.org/mailman/listinfo/python-list
On Mon, 19 Jul 2010 09:12:20 -0700, li wang wrote:
> It's quite weird when I import cx_Oracle in python interactive shell, it
> works perfectly.
> but when I import cx_Oracle in a *,py script, handled by
> mod_python.publisher, it keep reportint :
>
> ImportError: libclntsh.so.10.1: cannot open s
If you send back a content type of "text/plain", your output
will not be rendered as HTML by a browser; it will just be
displayed as plain text.
Try "text/html".
John Nagle
On 6/24/2010 12:19 PM, Thomas Jollans wrote:
On 06/24/2010 09:10 PM, Bradley Hintze
I had some issues with WSGI install. It was duious at best as it
failed and seemed very unstable. Is this a trusted application?
On Thu, Jun 24, 2010 at 3:19 PM, Thomas Jollans wrote:
> On 06/24/2010 09:10 PM, Bradley Hintze wrote:
>> Hi all,
>
> about your question, no idea.
>
>>
>> the mod_pyth
On 06/24/2010 09:10 PM, Bradley Hintze wrote:
> Hi all,
about your question, no idea.
>
> the mod_python mailing list is pretty dead so I thought I'd try asking
> my question here.
It comes as no surprise to me that the mod_python mailing list is dead:
nobody uses mod_python anymore. For all I
Thanks Graham. Let me contact Admin.
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 25, 4:00 pm, David wrote:
> Thanks Graham. Let me contact Admin.
Hi Graham: you are right. it's fixed now. Thanks again.
--
http://mail.python.org/mailman/listinfo/python-list
disclaimer: i did not write this code. i copied it and inserted into
my cgi code. it is from
http://webpython.codepoint.net/mod_python_publisher_big_file_upload.
--
http://mail.python.org/mailman/listinfo/python-list
A little more info: "Defrosting.rtf" is a file that I wanted to
upload. This file was supposed to upload to folder '/var/www/keyword-
query/files/'.
My code runs in root.
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 26, 8:43 am, David wrote:
> Hello,
>
> I googled online however I did not find a clue my question. So I post
> it here.
>
> I created a mod_python CGI to upload a file and saves it in folder "/
> var/www/keyword-query/files/". My code runs in root.
>
> fileitem = req.form['file']
>
>
> Were you getting this issue with xml.dom showing on first request all
> the time, or only occasionally occurring? If the latter, were you
> running things in a multithreaded configuration and was the server
> being loaded with lots of concurrent requests?
It was the former.
> For your particul
On May 12, 1:59 am, dpapathanasiou
wrote:
> For the record, and in case anyone else runs into this particular
> problem, here's how resolved it.
>
> My original xml_utils.py was written this way:
>
> from xml.dom import minidom
>
> def parse_item_attribute (item, attribute_name):
> item_doc =
For the record, and in case anyone else runs into this particular
problem, here's how resolved it.
My original xml_utils.py was written this way:
from xml.dom import minidom
def parse_item_attribute (item, attribute_name):
item_doc = minidom.parseString(item)
...
That version worked und
> His problem is therefore likely to be something completely different.
You are correct.
As per the earlier advice, I switched from mod_python to mod_wsgi but
I still see the same error:
[Mon May 11 10:30:21 2009] [notice] Apache/2.2.11 (Unix) mod_wsgi/2.4
Python/2.5.2 configured -- resuming no
On May 10, 3:40 am, Paul Boddie wrote:
> On 9 Mai, 01:36, dpapathanasiou wrote:
>
>
>
> > Apache's configure utility (I'm using httpd version 2.2.11) doesn't
> > explicitly describe an expat library option.
>
> > Also, if libexpat is version 1.95.2, wouldn't I have to get version
> > 2.0 to be co
>
> My only advice is, don't use mod_python. The project is dead, you
> should use mod_wsgi instead: http://code.google.com/p/modwsgi/
>
To echo what Daniel said, mod_wsgi is really the way to go. It might still
not work in "embedded" mode where like mod_python the Python interpreter is
in the Ap
On 9 Mai, 01:36, dpapathanasiou wrote:
>
> Apache's configure utility (I'm using httpd version 2.2.11) doesn't
> explicitly describe an expat library option.
>
> Also, if libexpat is version 1.95.2, wouldn't I have to get version
> 2.0 to be compatible with pyexpat?
The aim would be to persuade A
Daniel Fetchinson wrote:
> On 5/8/09, dpapathanasiou wrote:
>> I wrote a python script called xml_utils.py which parses xml using
>> minidom.
>
> My only advice is, don't use mod_python. The project is dead, you
> should use mod_wsgi instead: http://code.google.com/p/modwsgi/
Now that we're at it
On 5/8/09, dpapathanasiou wrote:
> I wrote a python script called xml_utils.py which parses xml using
> minidom.
>
> It works when it's run on its own, but when I try to import it and run
> it inside a mod_python handler, I get this error:
>
> File "../common/xml_utils.py", line 80, in parse_ite
In message <0fc15bee-003a-45ca-
b6b6-21ed0645b...@q2g2000vbr.googlegroups.com>, psaff...@googlemail.com
wrote:
> I have a mod_python application that takes a POST file upload from a
> form. It works fine from my machine, other machines in my office and
> my home machine. It does not work from my
On Jan 14, 4:47 pm, p3dda.a...@googlemail.com wrote:
> Hi,
>
> I've got a python web-application being served by apache via
> mod_python, in which the users sessions are tracked via the mod_python
> Session module.
> Some of websites generated contain a java-script function which starts
> a jsonrpc
On 6 Jan, 23:31, Graham Dumpleton wrote:
> Thus, any changes to modules/packages installed on sys.path require a
> full restart of Apache to ensure they are loaded by all Apache child
> worker processes.
>
That will be it. I'm pulling in some libraries of my own from
elsewhere, which are still b
On Jan 6, 2:39 am, "psaff...@googlemail.com"
wrote:
> Maybe this is an apache question, in which case apologies.
>
> I am runningmod_python3.3.1-3 on apache 2.2.9-7. It works fine, but
> I find that when I alter a source file during development, it
> sometimes takes 5 seconds or so for the changes
I have never noticed any such delay. After making a change I just hit
F5 on my browser and its fine. Maybe its a browser issue
On 1/5/09, psaff...@googlemail.com wrote:
> Maybe this is an apache question, in which case apologies.
>
> I am running mod_python 3.3.1-3 on apache 2.2.9-7. It works
On Dec 20, 2:47 pm, "Anjanesh Lekshminarayanan"
wrote:
> Same requirement here.
> But isnt there any mod_python for Python 3.0 ?
> Or do we need to build it from source ourselves ?
>
> I was hoping there would bemod_wsgibinaries for Python 3.0.
At this stage it looks like there will not be a mod_
Same requirement here.
But isnt there any mod_python for Python 3.0 ?
Or do we need to build it from source ourselves ?
I was hoping there would be mod_wsgi binaries for Python 3.0.
--
http://mail.python.org/mailman/listinfo/python-list
> Here's my problem (it's a conceptual one). Coming from the world of
> mod_php, each file can represent a page with no intervention. I was
> not able to achieve the same with mod_python when I tried, and for
> that matter, couldn't put the pieces together in a usable way.
>
> Let me start simply:
Here's my problem (it's a conceptual one). Coming from the world of
mod_php, each file can represent a page with no intervention. I was
not able to achieve the same with mod_python when I tried, and for
that matter, couldn't put the pieces together in a usable way.
Let me start simply: If I wanted
On Dec 17, 11:10 am, Дамјан Георгиевски wrote:
> > I'm trying again because I'm stubborn. Maybe the fourth time will be
> > the charm...
>
> > Are there any good tutorials out there for setting up Apache with
> > mod_python?
>
> mod_python is depreceated, nobody uses it. usemod_wsgihttp://www.modw
> I'm trying again because I'm stubborn. Maybe the fourth time will be
> the charm...
>
> Are there any good tutorials out there for setting up Apache with
> mod_python?
mod_python is depreceated, nobody uses it. use mod_wsgi http://www.modwsgi.org/
--
дамјан ( http://softver.org.mk/damjan/
On Tue, Dec 16, 2008 at 8:22 PM, tmallen wrote:
> Are there any good tutorials out there for setting up Apache with
> mod_python?
Apart from the (clear and concise) information in the mod_python documentation?
Starts here: http://www.modpython.org/live/current/doc-html/installation.html
Compilin
On Monday 08 December 2008 10:31:28 Gabriel Genellina wrote:
> os.path.dirname(os.path.abspath(__file__))
thanks a lot it's working.
--
http://mail.python.org/mailman/listinfo/python-list
En Sat, 06 Dec 2008 09:26:40 -0200, mete <[EMAIL PROTECTED]> escribió:
but i want to take it somewhere else...i want to it work some other path
in
other system.
os.path.dirname(os.path.abspath(__file__))
returns the directory where the current file resides. Execute it early in
your code.
--
En Sat, 06 Dec 2008 09:26:40 -0200, mete <[EMAIL PROTECTED]> escribió:
but i want to take it somewhere else...i want to it work some other path
in
other system.
os.path.dirname(os.path.abspath(__file__))
returns the directory where the current file resides. Execute it early in
your code.
--
but i want to take it somewhere else...i want to it work some other path in
other system.
On Saturday 06 December 2008 12:34:07 Graham Dumpleton wrote:
> On Dec 6, 1:52 am, "mete bilgin" <[EMAIL PROTECTED]> wrote:
> > Hi all,
> > I try to make a websevice with python and mod_python. İ try to make
On Dec 6, 1:52 am, "mete bilgin" <[EMAIL PROTECTED]> wrote:
> Hi all,
> I try to make a websevice with python and mod_python. İ try to make a po
> files, but i can not reach them in the page. When i ask the page like "
> os.listdir('.') " but i want to get files directory, what can i do? sorry
> fo
Simo D wrote:
> Hello, I'm trying to configure the apache to handle the python scripts. My
> platform is a CentOs server.
> I wrote these directives in the conf.d/python.conf:
>
> Options Indexes FollowSymLinks MultiViews
> AllowOverride None
> Order allow,deny
> allow from all
> AddHand
Ok, solved: apache is unable to follow relative paths from the script.
Putting ol absolute paths it's ok!
Simo D wrote:
>
> Hi, I'm using a script.py to write a file in a dir on the server.
> Mod_python work but i get:
> Mod_python error: "PythonHandler mod_python.publisher"
>
> Traceback (most
On Mon, 18 Aug 2008 09:16:13 -0700 (PDT), Aaron Scott
<[EMAIL PROTECTED]> wrote:
>I have mod_python running on my server, but when I chance a Python
>file on the server, Apache needs to be restarted in order to have the
>changes take effect. I assume this is so mod_python can run
>persistently, bu
> I want to rewrite a request url under apache2.0 based on its special
> header, like, the "Accept-Encoding:" one.
>
> With C I think I can do it, but since I get begin with python,so I ask
> that can I do it under mod_python? what's the guide?
The guide is this: http://modpython.org/live/current/
En Thu, 10 Apr 2008 15:43:23 -0300, <[EMAIL PROTECTED]> escribió:
> Hi, I have a little python webservice that I created, and in one of
> the methods I need to store some binary data that was "posted"... I
> want to do something like this, but it doesn't work.
>
> username = form.get("username", "
Hey thanks a lot Sean.Setting the permissions on the directory path solved
the problem.
On Sun, Mar 2, 2008 at 11:09 AM, Sean Allen <[EMAIL PROTECTED]> wrote:
>
> On Mar 2, 2008, at 3:24 AM, kaush wrote:
>
> > On Mar 1, 11:24 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> >> On Sat, 01
On Mar 2, 2008, at 3:24 AM, kaush wrote:
> On Mar 1, 11:24 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
>> On Sat, 01 Mar 2008 22:47:02 -0800, kaush wrote:
>>> I am using Apache and mod_python to service POST/GET requests on MAC
>>> OS. My script tries to create a file
>>
>>> file = op
On Mar 1, 11:24 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> On Sat, 01 Mar 2008 22:47:02 -0800, kaush wrote:
> > I am using Apache and mod_python to service POST/GET requests on MAC
> > OS. My script tries to create a file
>
> > file = open(file_path, 'w')
>
> > This fails with the fo
On Sat, 01 Mar 2008 22:47:02 -0800, kaush wrote:
> I am using Apache and mod_python to service POST/GET requests on MAC
> OS. My script tries to create a file
>
> file = open(file_path, 'w')
>
> This fails with the following error
>
> EACCES
> Permission denied
>
> What is missing?
To state t
On Nov 24, 1:19 am, Vernon Wenberg III <[EMAIL PROTECTED]> wrote:
> Why do I receive a "File not found" error on a perfect good and simple
> script but properly receive errors when I deliberately add errors in the
> script? The file is there, it just doesn't do anything.
>
> Any help would be appre
On Nov 24, 1:19 am, Vernon Wenberg III <[EMAIL PROTECTED]> wrote:
> Why do I receive a "File not found" error on a perfect good and simple
> script but properly receive errors when I deliberately add errors in the
> script? The file is there, it just doesn't do anything.
>
> Any help would be appre
Vernon Wenberg III a écrit :
> Why do I receive a "File not found" error on a perfect good and simple
> script but properly receive errors when I deliberately add errors in the
> script? The file is there, it just doesn't do anything.
>
> Any help would be appreciated.
Sorry, my crystal ball is
On Oct 28, 3:02 am, Rajarshi <[EMAIL PROTECTED]> wrote:
> Hi, this is a slightly vague question but I'm really puzzled as to
> when I write a mod_python (3.1.3) program that makes use of
> ElementTree and call it via a URL, the program simply stops when I do
> something like
>
> s = # some XML docu
On Oct 18, 6:55 pm, Duncan Booth <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > I came across annoying problem during my fun with mod_python. I turned
> > out that mod_python load package only onca and don't care about any
> > changes to it. Obviously it makes sense on production server
On 18 Oct, 09:55, Duncan Booth <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > I came across annoying problem during my fun with mod_python. I turned
> > out that mod_python load package only onca and don't care about any
> > changes to it. Obviously it makes sense on production server bu
[EMAIL PROTECTED] wrote:
> I came across annoying problem during my fun with mod_python. I turned
> out that mod_python load package only onca and don't care about any
> changes to it. Obviously it makes sense on production server but
> during development is more then annoying.
Have you read the
Yes, use PythonInputFilter directive to specify an input filter.
http://www.modpython.org/live/current/doc-html/dir-filter-if.html
Input filters which modify the length of the data may be an issue
though when doing proxying however.
If you cant work it out, possibly more appropriate to take yo
In message <[EMAIL PROTECTED]>, Gabriel
Genellina wrote:
> If that's really actual code, looks wrong. You should double all your
> backslashes or use a raw string. And \\P:... doesn't look well formed
> either.
DOSlexia strikes again. :)
--
http://mail.python.org/mailman/listinfo/python-list
En Tue, 11 Sep 2007 15:35:00 -0300, Sjoerd <[EMAIL PROTECTED]> escribi�:
> The actual command:
>
> client = Client()
> repLog = client.log("\\P:\\tools\builds\publish\\")
> I used an UNC path. The forming of the repository path must be inside
> the pysvn
> library.
If that's really actual code, l
On Sep 11, 7:41 pm, Bjoern Schliessmann wrote:
> Tim Golden wrote:
> > Sjoerd wrote:
> >> ClientError: Unable to open an ra_local session to URL
> >> Unable to open repository 'file:///P:/tools/builds/repository'
>
> >> does anyone know how I can fix this?
>
> > Usually means that the process whic
Tim Golden wrote:
> Sjoerd wrote:
>> ClientError: Unable to open an ra_local session to URL
>> Unable to open repository 'file:///P:/tools/builds/repository'
>>
>> does anyone know how I can fix this?
>
> Usually means that the process which Apache is running under
> (may well be LocalSystem) do
Sjoerd wrote:
> Hello all,
>
> I have a script that uses pySVN. It gets the latest build information.
> I want to create a call to that function in a PSP file but everytime I
> try I get an error message:
>
> ClientError: Unable to open an ra_local session to URL
> Unable to open repository 'file
On Jul 5, 12:22 am, Jan Danielsson <[EMAIL PROTECTED]> wrote:
> Hello all,
>
>This is probably more of an apache question, but I'm guessing there
> will be other mod_python-beginners who are wondering the same thing.
>
>Let's say I have a web app called MyApp. It uses the usual images and
>
On May 21, 5:51 pm, Winfried Tilanus <[EMAIL PROTECTED]> wrote:
> On 05/20/2007 Graham Dumpleton wrote:
>
> Hi,
>
> > A more suitable example for comparison would have been:
>
> And are there any benchmarks with this new version available? Just
> curious...
Unless someone else posts that specific
On 05/20/2007 Graham Dumpleton wrote:
Hi,
> A more suitable example for comparison would have been:
And are there any benchmarks with this new version available? Just
curious...
best wishes,
Winfried
--
http://mail.python.org/mailman/listinfo/python-list
On May 20, 10:01 am, John Nagle <[EMAIL PROTECTED]> wrote:
> That's puzzling, because withmod_python, you're only invoking
> the compiler once per Apache restart. With CGI programs, you pay
> the loading penalty on every request.
>
> John Nagle
>
> [EMAIL PROTEC
That's puzzling, because with mod_python, you're only invoking
the compiler once per Apache restart. With CGI programs, you pay
the loading penalty on every request.
John Nagle
[EMAIL PROTECTED] wrote:
> Recently I've had to move my site to a new dedicated ser
Jan Danielsson wrote:
[---]
Never mind. Cookie objects have a "value" attribute -- that's what I
was doing wrong.
--
Kind regards,
Jan Danielsson
And now a word from our sponsor --
Want to have instant messaging, and chat rooms, and discussion
groups for your loca
En Wed, 14 Mar 2007 09:02:36 -0300, Jan Danielsson
<[EMAIL PROTECTED]> escribió:
> Hello all,
>
>I have written a web-based voting system (add question, add possible
> answers to that question, and let users vote) in python. It uses: [...]
>Is there any Python/web community site anywhere
"Graham Dumpleton" <[EMAIL PROTECTED]> writes:
> All headers which come from the client are available through the
> 'headers_in'
> attribute of the request object. Eg.
>
> def handler(req):
> ct = req.headers_in.get('Content-Type')
> ...
Thanks - it's even mentioned in the mod_python m
Paul Rudin wrote:
> I'm have a little experiment with mod_python. I'm trying to figure out
> how to get hold of the original Content-Type header.
>
> In my config file I have:
>
>
> AddHandler mod_python .py
> PythonHandler atomserv
> PythonDebug On
> PythonAutoReload
Maxim Sloyko wrote:
> Lad wrote:
> > In my web application I use Apache and mod_python.
> > I allow users to upload huge files( via HTTP FORM , using POST method)
> > I would like to store the file directly on a hard disk and not to
> > upload the WHOLE huge file into server's memory first.
> > C
Lad wrote:
> Maxim Sloyko wrote:
>> Lad wrote:
>>> In my web application I use Apache and mod_python.
>>> I allow users to upload huge files( via HTTP FORM , using POST method)
>>> I would like to store the file directly on a hard disk and not to
>>> upload the WHOLE huge file into server's memory
Maxim Sloyko wrote:
> Lad wrote:
> > In my web application I use Apache and mod_python.
> > I allow users to upload huge files( via HTTP FORM , using POST method)
> > I would like to store the file directly on a hard disk and not to
> > upload the WHOLE huge file into server's memory first.
> > C
Lad wrote:
> In my web application I use Apache and mod_python.
> I allow users to upload huge files( via HTTP FORM , using POST method)
> I would like to store the file directly on a hard disk and not to
> upload the WHOLE huge file into server's memory first.
> Can anyone suggest a solution?
Th
Damjan wrote:
> > For example, consider an extreme case such as WSGI. Through a goal of
> > WSGI being portability it effectively ignores practically everything
> > that Apache has to offer. Thus although Apache offers support for
> > authentication and authorisation, a WSGI user would have to imp
> For example, consider an extreme case such as WSGI. Through a goal of
> WSGI being portability it effectively ignores practically everything
> that Apache has to offer. Thus although Apache offers support for
> authentication and authorisation, a WSGI user would have to implement
> this functiona
Graham Dumpleton wrote:
> For example, consider an extreme case such as WSGI.
> Through a goal of WSGI being portability it effectively
> ignores practically everything that Apache has to offer.
> Thus although Apache offers support for authentication
> and authorisation, a WSGI user would have to
On 6 Dec 2006 16:32:14 -0800, "Graham Dumpleton"
<[EMAIL PROTECTED]> wrote:
>Getting perhaps back to the answer you were seeking right back at the
>start, that is if you are new to web application and development and
>Python, then you may well be better of just using a higher level
>framework as th
Vincent Delporte wrote:
> On 6 Dec 2006 14:55:58 -0800, "Graham Dumpleton"
> <[EMAIL PROTECTED]> wrote:
> >Although WSGI is an extreme case because of the level it pitches at,
> >other systems such as CherryPy and Django aren't much different as they
> >effectively duplicate a lot of stuff that co
On 6 Dec 2006 14:55:58 -0800, "Graham Dumpleton"
<[EMAIL PROTECTED]> wrote:
>Although WSGI is an extreme case because of the level it pitches at,
>other systems such as CherryPy and Django aren't much different as they
>effectively duplicate a lot of stuff that could be achieved using more
>basic f
Vincent Delporte wrote:
> On 5 Dec 2006 17:05:06 -0800, "fumanchu" <[EMAIL PROTECTED]> wrote:
> >In a nutshell, mod_python gives you
> >access from Python to the Apache API, whereas CherryPy and friends give
> >you their own API.
>
> I didn't know Apache had an API of its own, or that it was even
Vincent Delporte wrote:
> On 5 Dec 2006 17:05:06 -0800, "fumanchu" <[EMAIL PROTECTED]> wrote:
> >In a nutshell, mod_python gives you
> >access from Python to the Apache API, whereas CherryPy and friends give
> >you their own API.
>
> I didn't know Apache had an API of its own, or that it was even n
On 5 Dec 2006 17:05:06 -0800, "fumanchu" <[EMAIL PROTECTED]> wrote:
>In a nutshell, mod_python gives you
>access from Python to the Apache API, whereas CherryPy and friends give
>you their own API.
I didn't know Apache had an API of its own, or that it was even needed
when writing a web applicatio
Vincent Delporte wrote:
> I'm still a newbie when it comes to web applications, so would like
> some help in choosing a solution to write apps with Python: What's the
> difference between using running it through mod_python vs. building an
> application server using Python-based tools like CherryPy
boney wrote:
> On doing this and duly following the installation and testing
> instructions at www.modpython.org and then pointing the url as
> http://localhost/test/mptest.py, i get the following error on the
> server log file:
>
> [Tue Nov 14 15:17:47 2006] [error] make_obcallback: could not impo
> Uh... this may sound silly, but aren't .so files UNIX/Linux/Solaris
> "shared object" files...
Yes, but apache uses them (or at least the same file extension) for
modules on Windows and Linux, so mod_python.so is correct.
--
http://mail.python.org/mailman/listinfo/python-list
> I suggest you search the download files on Xampp's sourceforge site and
> look for an older version with Apache 2.0.55 . I'm not sure, but I
> think xampp version 1.5.1 will be ok
I did this just a few days ago, you could be right, but version 1.5.1
had no release notes, and a dodgy release num
Gaurav Agarwal wrote:
> Hi,
>
> Am using WAMP5 and python 2.4.3. I tried to install mod_python 3.2.5
> for python2.4. When i tried starting wamp, Firstly there was no error
> message in the apache error log. I saw error message in windows event
> viewer :
>
> "The Apache service named Apache.exe re
> "The Apache service named Apache.exe reported the following error:
> >>> Cannot load c:/wamp/apache/modules/mod_python.so into server: (126) The
> >>> specified module could not be found: <<<
> before the error.log file could be opened."
I have just had a similar problem (same error message),
[EMAIL PROTECTED] wrote:
See:
>
> http://www.modpython.org/pipermail/mod_python/2005-May/018102.html
>
> Comment hints may still be needed in certain cases to turn off scopes
> even if 8 space or tab indents are needed so it is good to understand
> what they are about.
>
Thank you. That solves m
cloc3 wrote:
> I'm a newbie in python, and I'm fighting against nested blocks in psp.
> Thats a little example with a funny behaviour:
> [code]
>
>
>
>
>
> <%
> for i in range(50, 350, 50):
> if 'List' in form and int(form['List'])==i:
> sel="selected"
> else:
> sel="pippo"
> %> ><%=i%>
Some details, and this is weirder than I thought.
It is working fine with internet explorer or mozilla as the client, but only
crashes with Firefox. Moreover, even while firefox is getting errors, IE
stilll works fine.
The error I get is:
Mod_python error: "PythonHandler mod_python.publisher"
[EMAIL PROTECTED] writes:
>What about if there existed a mod_dav_python for Apache. Would
>that be of interest.
To me it would only be of interest if it's combined with Apache's
suid capabilities.
> The idea is that the module could bridge the
>C API hooks and structures of mod_dav module to Pyt
Kyler Laird wrote:
> Damjan <[EMAIL PROTECTED]> writes:
>
> >Now I've been thinking that it might be pretty easy to implement a
> >authorization layer with mod_python (but living handling of the web-dav
> >protocol to apache)... So, has anyone already done something similar?
>
> Yup. I'm in the p
Damjan <[EMAIL PROTECTED]> writes:
>I wouldn't use Zope as file storage. The ZODB is inefficient for storing big
>files.
It sounds like you're describing Zope FileStorage. There are
certainly other options for Zope storage. I still use
DirectoryStorage sometimes but Zope Local File System
Damjan <[EMAIL PROTECTED]> writes:
>Now I've been thinking that it might be pretty easy to implement a
>authorization layer with mod_python (but living handling of the web-dav
>protocol to apache)... So, has anyone already done something similar?
Yup. I'm in the process. I'm using mod_python to
yep
--
http://mail.python.org/mailman/listinfo/python-list
Hi Jim,
Thanks, I'll sign up for the mailinglist, but to finish the story here:
- I only have one version of Python installed
- From the Python interpreter I can import the mod_python module just
fine
- At starup the Apache log states:
[Sun Apr 09 22:16:38 2006] [notice] Apache/2.0.55 (Win32)
mod
cyberco wrote:
> Thanks Jim, I indeed did not look in the mailinglist archive (you have
> to subscribe for that and Google didn't cache it yet).
>
> The problem was indeed the missing .DLL's. After adding them to my
> 'PATH' variable apache was at least able to start. Unfortunately things
> still
Thanks Jim, I indeed did not look in the mailinglist archive (you have
to subscribe for that and Google didn't cache it yet).
The problem was indeed the missing .DLL's. After adding them to my
'PATH' variable apache was at least able to start. Unfortunately things
still don't work. When I try to l
> to apache's httpd.conf, apache refuses to start, saying:
> "cannot load c://mod_python.so into server: the specified module
> could not be found"
which probably means that mod_python.so is not in that directory?
--
http://mail.python.org/mailman/listinfo/python-list
Fuzzyman wrote:
> cyberco wrote:
>
>>And I thought this would be trivial...getting mod_python to run within
>>apache on windows XP.
>>
>>=
>>mod_python 3.2.8
>>apache 2.0.55
>>python2.4
>>winxp
>>=
>>
>>After adding:
>>"LoadModule python_module modules/mod_python.so"
>>
>
1 - 100 of 157 matches
Mail list logo