Mod_python is an Apache module that embeds the Python interpreter within the server.
-4
votes
0answers
15 views
Python [ MOD-WSGI ] help needed to fix my wsgi script that writes a simple cookie to the browser and then reads it for testing purposes
Once the cookie is set, the script must re-fresh itself
to read the cookie that has been set.
i understand that, there is no confusion.
the only confusion is to get this script to work properly.
...
0
votes
0answers
17 views
apxs:Error: Command failed with rc=65536
Centos 6.4, WHM 11.38.1
I'm having trouble trying to make mod_python work.
I'm getting this error
apxs:Error: Command failed with rc=65536
I've already tried custom_easyapache_modules.
Also tried ...
0
votes
1answer
6 views
Implementation differences between mod_python and mod_wsgi
I have an webapplication that was originall implemented written with mod_python in mind.
I have been able to port it to mod_wsgi, but I worry that there might be some subtle differences in the way ...
1
vote
1answer
31 views
SuspiciousOperation :Attempted access to path default_storage django
I'm trying to save a PDF into a folder in my project the folder has the permissions read, write when I try to save the PDF I get this error:
SuspiciousOperation: Attempted access to ...
0
votes
1answer
33 views
Python + mod_wsgi/mod_python + Apache + user's public_html
I'm interested in making a pretty basic Python webapp, literally just a form that takes in some input, calls a Python function on that input, receives results returned from that function, and then ...
0
votes
0answers
26 views
ProxyRemoteMatch — Getting timeout, don't know how to debug
I am using ProxyRemoteMatch in my httpd.conf on a Centos 6 install like so:
ProxyRemoteMatch .*otile2\.mqcdn\.com/.* http://my.proxy.com:80/
In my error log I see the following messages (loglevel ...
1
vote
0answers
30 views
Does Apache really “fork” in mod_php/python way for request handling?
I am a dummy in web apps. I have a doubt regaring the functioning of apache web server. My question is mainly centered on "how apache handles each incoming request"
Q: When apache is running in the ...
-1
votes
1answer
112 views
Getting Error when trying to setup mod_python [closed]
After installing mod_python and changing the /etc/apache2/sites-available/default file.I am getting following error when I try to run
tail -f /var/log/apache2/error.log
ai-System-Product-Name ...
1
vote
1answer
85 views
Cherrypy behing apache with mod_python
I have problem with cherrypy deployment behind apache with mod_python.
I have this apache configuration:
4 <VirtualHost *>
5 ServerAdmin [email protected]
6 ServerName ...
-9
votes
5answers
241 views
Python : in python is it true you can import specific functions from a module unlike in php?
in php it is not possible to only get specific
functions from an included file.
i would usually create 5 different include files
and each would have like 5-6 functions in it.
this way it would be ...
0
votes
1answer
36 views
What's wrong with the Basic configuration of apache and mod_python?
the the Basic configuration of apache is:
LoadModule python_module /usr/lib64/httpd/modules/mod_python.so
<Location "/mysite/">
SetHandler python-program
PythonHandler ...
0
votes
1answer
85 views
Does Django-1.5.1 still support the mod_python-3.3.1?
My version of Django is 1.5.1, and the version of mod_python is 3.3.1.
Does django still support mod_python?
1
vote
1answer
94 views
apache server cant find static files in Django project
I'm trying to upload my code on an apache server using mod_python. I have tried a lot but the server is not able to access my static files (all my images, js and css).
Here are my Virtualhost ...
0
votes
2answers
257 views
How to run python script which require root privilage for execution in apache with mod_python at openbsd
I am trying to run python script in Apache 2.x with mod_python. I edited httpd.conf with publisher
LoadModule python_module /usr/local/apache2/modules/mod_python.so
<Directory ...
0
votes
0answers
62 views
Execute Python script from apache as a root
I am using mod_python for executing a Python script from Apache 2.2.x at OpenBSD 5.1.
I am successfully running a Python script which does not require root privilege.
But I am executing several ...