Ehtml-pyIntroductionEhtml(Extend HTML) help you build static web site(page) easy and quickly.
There are a php version of ehtml on sf. and ehtml-py build on genshi(python).
System Requirementsapache2 python2.5+ genshi0.4.4+ Installcheckout the ehtml
svn checkout http://ehtml-py.googlecode.com/svn/trunk/ ehtml-py-read-onlyto anywhere you like. consider the directory as $ehtml-dir$. change file $ehtml-dir$/ehtml/handler.py 's mode to 755.
chmod a+x $ehtml-dir$/ehtml/handler.pyopen the apache's config file, add the following 3 lines:
AddHandler cgi-script .py
Action ehtml-render $ehtml-dir$/ehtml/handler.py
AddHandler ehtml-render .ehtmlto the Directory of your site. if there already has a line like
AddHandler cgi-scriptin config, just add .py to the end of line with a space.
if you got any error, check the
Optionsto see if there are ExecCGI option be added.
if you have any trouble to setup the apache's config file, go to about AddHandler or about Action or about Options to get help.
Good luck!
30 Day Summary Mar 9 2012 — Apr 8 2012
|
12 Month Summary not available |
Copyright
©
2013
Black Duck Software, Inc.
and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a
Creative Commons Attribution 3.0 Unported License
. Ohloh
®
and the Ohloh logo are trademarks of
Black Duck Software, Inc.
in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.