Got a new site for you today, just completed biopropertysolutions.com for Mark Bones’ local pre-purchase property inspections.

The main new feature was the programmatic creation of documents.  The pre-purchase inspection agreement request form result is delivered as a docx file, which should immediately be delivered to Word.  The document is assembled using a python cgi script.  That would make it my first ever python cgi script.

 

 <Directory /var/www/sites/biopropertysolutions/python>
   Options +ExecCGI
   DirectoryIndex index.py
 </Directory>
 AddHandler cgi-script .py .docx