9 12 14 - aheath05/pythoncms.com GitHub Wiki
//CGI help from a friend Install CGI software: sudo a2enmod cgi Restart Apache2: sudo service apache2 restart
Now, run: sudo a2enmod userdir
Open userdir.conf file: sudo nano /etc/apache2/mods-enabled/userdir.conf
/* Replace the existing section of code with this one */
<Directory /home/*/public_html>
AllowOverride All
Options MultiViews Indexes ExecCGI
AddHandler cgi-script .py
<Limit GET POST OPTIONS>
Require all granted
</Limit>
<LimitExcept GET POST OPTIONS>
Require all denied
</LimitExcept>
</Directory>
Create public_html folder in your home dir. All project files will be stored there.
Config files
open 000-default.conf
add:
<Directory /var/www/html/>
Options Indexes FollowSymLinks
AllowOverride all
Require all granted
</Directory>
/* If everything is installed correctly, files with .py extension
should open in browser without any problems */
Unfortunatly this still did not work for me, however it does seem to open via terminal
I also followed tutorials that Confer sent us for web.py http://webpy.org/docs/0.3/tutorial