diff options
author | ot <ot@localhost> | 2002-10-31 04:53:19 +0000 |
---|---|---|
committer | ot <ot@localhost> | 2002-10-31 04:53:19 +0000 |
commit | d142c0b2135c8c0bd66db495d7baafa431cc2820 (patch) | |
tree | 75d5c353747eb79d3d105365486f28e95c418175 | |
parent | aa9facec12e1e82afba1dc7ff70b41fd07541fab (diff) | |
download | markup-validator-d142c0b2135c8c0bd66db495d7baafa431cc2820.zip markup-validator-d142c0b2135c8c0bd66db495d7baafa431cc2820.tar.gz markup-validator-d142c0b2135c8c0bd66db495d7baafa431cc2820.tar.bz2 |
added "site tools" : ,text ,validate ,checklink ,checklinks ,rchecklink ,rchecklinks ,tablin ,detab ,headers ,cvs ,cvslog
-rw-r--r-- | httpd/conf/httpd.conf | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/httpd/conf/httpd.conf b/httpd/conf/httpd.conf index 6e3de43..d70e931 100644 --- a/httpd/conf/httpd.conf +++ b/httpd/conf/httpd.conf @@ -1,7 +1,7 @@ # # httpd.conf for validator.w3.org # -# $Id: httpd.conf,v 1.14 2002-10-12 09:10:17 link Exp $ +# $Id: httpd.conf,v 1.15 2002-10-31 04:53:19 ot Exp $ # # This is the main server configuration file. See URL http://www.apache.org/ @@ -551,4 +551,27 @@ allow from .w3.org RewriteEngine on RewriteRule ^/$ /check [L,PT] +## Site tools ## +#Text version - using html2txt at w3c +RewriteRule ^(.+),text$ http://cgi.w3.org/cgi-bin/html2txt?url=http://%{HTTP_HOST}$1 [L] +#validate the markup - using itself +RewriteRule ^(.+),validate$ http://validator.w3.org/check?uri=http://%{HTTP_HOST}$1 [L] + +#check links - simple and recursive +RewriteRule ^(.+),checklinks?$ http://validator.w3.org/checklink?url=http://%{HTTP_HOST}$1 [L] +RewriteRule ^(.+),rchecklinks?$ http://validator.w3.org/checklink?url=http://%{HTTP_HOST}$1\&recursive=on [L] + +#CSS validation - using W3C's CSS validator +RewriteRule ^(.+),cssvalidate$ http://jigsaw.w3.org/css-validator/validator?uri=http://%{HTTP_HOST}$1 [L] + +#tablin and detab, WAI-friendly +RewriteRule ^(.+),tablin$ http://jiggles.w3.org/servlet/tablin?url=http://%{HTTP_HOST}$1\&tableno=\&cellSeparator=\&headerSeparator=\&valueSeparator=\&orient=row\&repeat=4\&interact=0\&embedded=yes\&submit=Submit [L] +RewriteRule ^(.+),detab$ http://cgi.w3.org/cgi-bin/tablin.pl?uri=http://%{HTTP_HOST}$1 [L] + +#HTTP headers +RewriteRule ^(.+),headers$ http://cgi.w3.org/cgi-bin/headers?auth=on\&url=http://%{HTTP_HOST}$1 [L] + +#CVS log (adapted for validator) +RewriteRule ^/check(.+),cvs(log)?$ http://dev.w3.org/cvsweb/validator/httpd/cgi-bin/ [L] +RewriteRule ^(.+),cvs(log)?$ http://dev.w3.org/cvsweb/validator/htdocs$1 [L] |