Jorey Bump writes:
Graham Dumpleton wrote:
The whole point of the changes which were made was to draw a well
defined line between the code modules used in the web application and
which reside in the document tree, or other specially specified areas
by way of mod_python module importer
In mod_python 3.2.x, if I set a directory to use mod_python with a
.htaccess file, I will find that directory in sys.path. That is, if:
/var/www/somedir/.htaccess
contains:
SetHandler python-program
then sys.path will have /var/www/somedir as element zero.
With 3.3.x this does not
In mod_python 3.2.x, if I set a directory to use mod_python with a
.htaccess file, I will find that directory in sys.path. That is, if:
/var/www/somedir/.htaccess
contains:
SetHandler python-program
then sys.path will have /var/www/somedir as element zero.
With 3.3.x this does not
Graham Dumpleton writes:
Read:
http://www.modpython.org/live/current/doc-html/pyapi-apmeth.html
Especially the area which starts just before:
PythonOption mod_python.importer.path ['~']
Your particular issue is mentioned just after this example.
Doesn't work, either in .htaccess
Graham Dumpleton (JIRA) writes:
If mod_python is to still support Python 2.2, which it looks like we
are still because of Nokia work, then can't use the Python bool type
yet as that was only added to Python 2.3.
But can't a decision be made? I think deciding by not deciding is
less than an
Gregory (Grisha) Trubetskoy writes:
On Thu, 9 Feb 2006, Jim Gallacher wrote:
Depending on Grisha's preference, I think we should either put the
content in svn and have a cron job on modpython.org do a nightly update,
or start using the Apache infrastructure for the website. See
Jim Gallacher writes:
Graham Dumpleton wrote:
To confirm Jim's arithmetic anyway, I say -1 on 3.2.6 as it stands.
As to 3.2.7, I say +1, subject to removal of problematic test case
as already raised and with us at least confirming tests run OK for
version out of SVN prior to
Jim Gallacher writes:
Daniel J. Popowich wrote:
Regardless, I do not think it is within the scope of mod_python
developers to keep users forward-compatible with the underlying python
version. Sorry, but IMHO, this is not scalable software engineering.
I'll re-read this paragraph after
Nicolas Lehuen writes:
I've just checked in some changes to the Python source code in order
to support Python 2.2. Now the test suite runs successfully on Python
2.2.3 on Windows 2000. I've checked that no regressions were
introduced in later Python versions, too.
The changes are pretty
Gregory (Grisha) Trubetskoy writes:
I think a properly designed site should insist on its host name, i.e. I
see you think I'm gobbledygook.bleh, but I'm going to redirect you to
http://www.modpython.org/ because that is my true name. This is very
common with sites that respond to both
Gregory (Grisha) Trubetskoy writes:
On Tue, 29 Nov 2005, Nicolas Lehuen wrote:
If I understand you correctly, req.hostname is not reliable in case where
virtual hosting is not used. What about server.server_hostname, which seems
to be used by the code from mod_rewrite you posted below ?
11 matches
Mail list logo