|
||||
|
|
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
|
|||
| All contents Copyright © 2007-2009 ClassHelper.org®. Please see our Privacy Policy. | ||||