aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Rude <[email protected]>2011-06-22 21:32:36 -0500
committerMatt Rude <[email protected]>2011-06-22 21:32:36 -0500
commit280f1700015cc96eabdface2e399d5576e4ac060 (patch)
tree43172acdb848ffe95fc7ae3e9529394caa20cbc2
parent1dc9481345e7340472d2665ce7904abf71e8af2b (diff)
downloadtime.mattrude.com-280f1700015cc96eabdface2e399d5576e4ac060.tar.gz
time.mattrude.com-280f1700015cc96eabdface2e399d5576e4ac060.tar.bz2
time.mattrude.com-280f1700015cc96eabdface2e399d5576e4ac060.zip
Add Apache config to the readme.
-rw-r--r--README.md15
1 files changed, 12 insertions, 3 deletions
diff --git a/README.md b/README.md
index ef6509e..8b39f4e 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,3 @@
-# time.mattrude.com #
-
This is my timeservers web site's source repository. This repository doesn't contain the code for NTP, but instead the code to run the actual website.
## About ##
@@ -14,12 +12,23 @@ The install proccess for this project at this time is a bit cumbersome. Current
To install, first you need to add a cron entry for the RRD graphs.
- */5 * * * * /var/www/time.mattrude.com/scripts/do-xntp > /dev/null 2&>1
+ */5 * * * * /var/www/time.example.com/scripts/do-xntp > /dev/null 2&>1
After adding the cron job, you may add your NTP Servers. To add your NTP servers, start by going into the **scripts** directory. Once in the scripts directory, run the `do-newntpstat` followed by the name of the computer, similar to below.
./do-newntpstat time.example.com
+### Apache Config ###
+
+The Apache config is pretty simple.
+
+ <VirtualHost *:80>
+ ServerName time.example.com
+ DocumentRoot /var/www/time.example.com
+ CustomLog logs/time.example.com.access_log combined
+ ErrorLog logs/time.example.com.error_log
+ </VirtualHost>
+
### Rebuilding CSS ###
To Rebuild the css file, first download and install the [YUI Compressor](https://github.com/yui/yuicompressor), then run: