
List of other web Servers that support WSGI can be found at this link. py extension should load properly on your web browser.
#Ampps enable python install
If Apache still doesn't restart, even after a fresh reboot of the computer, I am very sorry you broke your web server and I hope you made that copy of htdocs I suggested above.Īn alternative Apache server that comes with mod_wsgi.so by defualt is the AMPPS server, download it and install to deliver dynamic contents on the web using python. AMPPS is a WAMP, MAMP and LAMP stack of Apache, MySQL, MongoDB, PHP, Perl & Python.įinally, your file in. If Apache fails to restart even after you fixed the nf file, try uninstalling Python and removing the mod_wsgi.so file from the modules folder. ~ If it doesn't work, using the apache_start.bat file may give you a more informative error message to work with. If it works, you probably did something wrong with the nf edits or forgot to rename the mod_wsgi.so file or named it incorrectly or you are using incompatible versions of python and mod_wsgi.so. Revert the changes you made and try to restart Apache again. If Apache fails to restart, you almost certainly have a problem with your nf file edits. Then click the start button to bring it back up. ~ Restart Apache: From the XAMPP control panel, click the stop button and wait for Apache to shut down. Before you can run the sample app, each quickstart requires that you turn on authentication and authorization.


~ Add LoadModule wsgi_module modules/mod_wsgi.so to the end of the end of page of nf file.

Modify it so it looks like this: AddHandler cgi-script. ~ In nf look for this line: AddHandler cgi-script.
