Re: [Tutor] Question about python for web

2013-06-26 Thread Seshadri Raja
Dear Dat, Sorry for the late reply. The path of the python should be #!/usr/bin/python (or) #!/usr/bin/env python. Forward Slash(/) is missing in your CGI script. ​Enable the ExecCGI for your DocumentRoot Ref: http://httpd.apache.org/docs/current/howto/cgi.html​ ​ Options +ExecCGI ​ Kin

[Tutor] Question about python for web

2013-06-23 Thread Dat Huynh
Dear all, I have a very simple question about running a simple web application with apache on MacOS. Step 1: Copy the file mod_wsgi.so from the link http://code.google.com/p/modwsgi/downloads/detail?name=mod_wsgi-macosx106-ap22py26-3.3.so into the folder "/usr/libexec/apache2" Step 2: Add the f