Skip to content

Instantly share code, notes, and snippets.

@sirleech
Created July 31, 2012 04:13
Show Gist options
  • Save sirleech/3213543 to your computer and use it in GitHub Desktop.
Save sirleech/3213543 to your computer and use it in GitHub Desktop.
Install W3c Validator on Ubuntu 11
sudo apt-get install w3c-markup-validator
nano /etc/w3c/validator.conf
# Whether private RFC1918 addresses are allowed.
Allow Private IPs = yes
<VirtualHost *:81>
ServerAdmin [email protected]
DocumentRoot /usr/share/w3c-markup-validator/html/
ServerName localhost
ScriptAlias /check /usr/lib/cgi-bin/w3c-markup-validator/check
ErrorLog /var/log/apache2/validator.m2osw.com-error_log
CustomLog /var/log/apache2/validator.m2osw.com-access_log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment