June 13th, 2001, 11:00 AM
Python & OSX
Be kind I am fairly inexperienced with UNIX and installing software.
I want to be able to run python with Apache on OSX. I have Apache up and running fine with PHP4 and Mysql. I also have Python installed. I can run python programs through the command line and such. But I cannot run python scripts with Apache?
How would I be able to get Apache and Python to work together?
June 15th, 2001, 03:39 PM
Where are your cgis?
Are your cgis in /Library/WebServer/CGI-Executables ?
Are you sure you have the right path set in the #! line? (run the cgi from a command line to check - if it says it can't find python, that's your problem)
Are your cgis marked executable? chmod +x /path/to/cgi to be sure
June 15th, 2001, 04:52 PM
I acutally got it working. It was a combination of stupid mistakes and assuming something needed to be done when it didn't.