[NOT SOLVED][NOT REQUIRED ANYMORE] Apache 1.3.37 + mod_python 2.7.11
Hi,
My main goal is get Django framwork running in any of my customers accounts.
What I did:
I compiled mod_python 2.7.11 with OPT = -DEAPI:
./configure
edited src/MakeFile for get OPT variable set to -DEAPI
make
make install
I restarted apache, I got mod_python loaded message at log.
All fine up to here, but when I try to run any python scrip it just shows the content of the script file.
My first sub-goal is to guet any python script running without configure .httaccess I want to do it using VirtualHost directive, I tried to access mydomain.com/path_to_app/, but I get an message saying that I don't have permissions to acces that directory. I tried to acces the file by itself but I get some python errors, mostly related to python can't find name.class
I tried every example and direction that I found on some related forums for get mod_python running. I tried the Django VirtualHost configuration as is stated at their doc page but it didn't work.
If some one can give me every needed direction/step for get mod_python and django working at my server I will apreciate that very much.
I'm running CentOS 5.0 with Apache 1.3.37 and compiled mod_python 2.7.11 by myself.
Thanks in advance,
Taguapire.
I can't do use of mod_python with django at my actual server, I will move my project to mod_wsgi, it uses less memory and is supossedly more easy to deploy.
Tanks to any person who replied to this topic.
Hi,
My main goal is get Django framwork running in any of my customers accounts.
What I did:
I compiled mod_python 2.7.11 with OPT = -DEAPI:
./configure
edited src/MakeFile for get OPT variable set to -DEAPI
make
make install
I restarted apache, I got mod_python loaded message at log.
All fine up to here, but when I try to run any python scrip it just shows the content of the script file.
My first sub-goal is to guet any python script running without configure .httaccess I want to do it using VirtualHost directive, I tried to access mydomain.com/path_to_app/, but I get an message saying that I don't have permissions to acces that directory. I tried to acces the file by itself but I get some python errors, mostly related to python can't find name.class
I tried every example and direction that I found on some related forums for get mod_python running. I tried the Django VirtualHost configuration as is stated at their doc page but it didn't work.
If some one can give me every needed direction/step for get mod_python and django working at my server I will apreciate that very much.
I'm running CentOS 5.0 with Apache 1.3.37 and compiled mod_python 2.7.11 by myself.
Thanks in advance,
Taguapire.
I can't do use of mod_python with django at my actual server, I will move my project to mod_wsgi, it uses less memory and is supossedly more easy to deploy.
Tanks to any person who replied to this topic.
Last edited: