You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some things that bookworm config apache could do, but mostly noted here for troubleshooting OS x installations.
Ensure that /usr/bin/env python returns a good version of python py putting this into the EnvironmentVariables dict of /System/Library/LaunchDaemons/org.apache.httpd.plist
Uncomment the line LoadModule cgi_module libexec/apache2/mod_cgi.so
Something like the following to allow python scripts to run themselves.
<Directory"/Library/WebServer/CGI-Executables">
AllowOverride None
Options ExecCGI
AddHandler cgi-script .cgi .pl .tcl .py
Order allow,deny
Allow from all
Require all granted
</Directory>
The text was updated successfully, but these errors were encountered:
bmschmidt
changed the title
Apache setup is hard on OS X
Apache setup is hard on OS X (and *very* hard under el capitan)
Dec 3, 2015
/System/Library/LaunchDaemons/org.apache.httpd.plist is in one of the directories that Apple no longer lets even the root user write to. Some possible solution here.
What I've done is simply reboot without system integrity protection using this method, and then edited the plist file.
Some things that
bookworm config apache
could do, but mostly noted here for troubleshooting OS x installations./System/Library/LaunchDaemons/org.apache.httpd.plist
In
/etc/apache2/httpd.conf
:LoadModule cgi_module libexec/apache2/mod_cgi.so
The text was updated successfully, but these errors were encountered: