Created
July 31, 2012 04:13
-
-
Save sirleech/3213543 to your computer and use it in GitHub Desktop.
Install W3c Validator on Ubuntu 11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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