sudognu
No warranty
Before you proceed, note that I can't be held responsible for any damage this
software may cause. This program is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License
Version 2 for more details.
Instructions
-
Install sudognu to /usr/local/bin/ (see INSTALL for details).
-
Look at the cgi scripts (they are very short and written in bash)
and see, if you need to modify anything. If you use the directories from
this example, they should work out-of-the box.
-
Copy them to a location, where your web server finds and can execute them
(typically ~/public_html/cgi-bin/).
-
You also need a tmp directory in cgi-bin, where the user ID of your web
server can temporarily store the pdf and html files, that sudognu creates
Be warned: The cgi scripts will delete old files from this directory
without asking for confirmation, in order to preserve disk space on your
server. You can turn this off in the cgi scripts if you want.
-
Copy this page to a directory below your document root
(e.g. ~/public_html/sudoku/sudognu.html).
-
Make sure that your web server is set up properly and allows you to
execute cgi scripts.
-
Navigate to http://your.server.host.name/~your-username/sudoku/sudognu.html
and have fun with the examples below (opening
~/public_html/sudoku/sudognu.html as a file will probably not work).
Examples
© 2007, Jens Baaran, Germany.