From 280f1700015cc96eabdface2e399d5576e4ac060 Mon Sep 17 00:00:00 2001 From: Matt Rude Date: Wed, 22 Jun 2011 21:32:36 -0500 Subject: Add Apache config to the readme. --- README.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'README.md') 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. + + + 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 + + ### Rebuilding CSS ### To Rebuild the css file, first download and install the [YUI Compressor](https://github.com/yui/yuicompressor), then run: -- cgit v1.2.3-59-ga6da