Installing Site.PHP
Introduction
For Site.PHP to function, you need to provide some additional files
yourself.
Initially, these files were included with the repository, but I have
since moved Site.PHP to being able to be included with other git
repositories so that the version included in those repos don't need to
be manually managed by the webmaster.
Files
Instructions
With /opt/ the working directory,
clone https://git.next.gen.oh.us/anton/sitephp.git
as /opt/sitephp. Next is when you can set up the web site
itself. If your www root directory is /var/www/example/,
your htaccess file should be saved
to /var/www/example/.htaccess, and your site.php file should
be saved to /var/www/example/site.php. If everything was set
up correctly, you should see the default theme when opening the site
in your web browser. Edit site.php to your intended configuration.
In short
Here is the gist of the instructions.
# mkdir /opt/sitephp/
# cd /opt/sitephp/
# git clone https://w3.next.gen.oh.us/~asm/sitephp/git/ .
# mkdir /var/www/example/
# cd /var/www/example/
# wget https://w3.next.gen.oh.us/~asm/sitephp/files/htaccess -O .htaccess
# wget https://w3.next.gen.oh.us/~asm/sitephp/files/site.php
# emacs site.php
From here, make any necessary edits for your web site to look and
function as you expect it to.
Anton McClure /
asm@next.gen.oh.us