ClassHelper News
About ClassHelper.org
Our Education Blog
Free Math Resources
Free School Clip Art
Crossword Puzzles
Word Find Puzzles
Cryptogram Puzzles
Word Jumble Puzzles
Coloring Book Pages
Computer Science
View Our Sitemap
Privacy Policy

Valid XHTML 1.0 Transitional


Installing the W3C Markup Validator

Now you can log back into your server via SSH and install the W3C markup validator packages.

apt-get install w3c-markup-validator w3-dtd-mathml libhtml-format-perl libxml2-utils tidy

Edit the configuration file for the validator:

nano /etc/w3c/validator.conf

Search for the line containing the text "Allow Private IPs = no" and change it to "Allow Private IPs = yes". Search for the line containing "Home Page = http://localhost/w3c-markup-validator/" and change it to "http://validator/w3c-markup-validator/". Restart the Apache web server as shown below:

/etc/init.d/apache2 restart

Make sure your local workstation knows the IP address of the new markup validation server. You may accomplish this by editing your local "hosts" file to point to the new server, or if you operate a local DNS server you may add an entry there. Once your workstation knows how to reach the server, visit the URL http://validator/w3c-markup-validator/ in your web browser.

If you like, you may also install the WDG Validator package to provide a secondary means of markup validation:

apt-get install wdg-html-validator

To use the second validator, point your browser at http://validator/wdg-html-validator (do not add a trailing slash).

You're done! Please send any comments or suggestions for improvement to the author at philip.paradis@classhelper.org.

Table of Contents
  1. Introduction and Motivation
  2. Installing Debian - Part 1
  3. Installing Debian - Part 2
  4. Installing Debian - Part 3
  5. Installing Debian - Part 4
  6. Installing Debian - Part 5
  7. Initial System Configuration
  8. Installing the W3C Markup Validator