2👍
I check Apache error logs and find a strange error. After that I surf the internet and found it is a old python2.7 error. So I patch it then solved this problem! Thanks everybody.
1👍
The "echo" command may not be available to the apacher server (depends on the value of PATH, not necessarily same as when you run it manually). More likely though, the $HOME env var is not defined for the account running the Apache server. There is a standard set of env vars available to CGI scripts (see for instance http://www.perlfect.com/articles/cgi_env.shtml or even the CGI spec itself). Finally, apache’s mod_env module allows you to pass some env vars to scripts, you would specify those in your httpd.conf.
- [Django]-How to assert exception using django.test.TestCase?
- [Django]-Django Pagination with multiple models (tables)
- [Django]-Dynamic subdomains and url paths in django project
- [Django]-Python Django getattr(): attribute name must be string
0👍
This is most likely a bug reported in Python 2.7.2. Upgrading to a newer version should resolve the issue.
The error reported in the apache logs is something along the lines of:
Fatal Python error: Couldn't create autoTLSkey mapping