for url in `cat urlslist.txt`; do COUNTER=0 while [ $COUNTER -lt 2 ]; do echo -n ${COUNTER}- curl --silent --user yourUSER:yourPASS $url | grep "Internal" let COUNTER=COUNTER+1 done done
Never been to CodeSnippets before?
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
Use curl and a list of URLs to check for Internal Server Errors on Rails Apache Installs (See related posts)
Comments on this post
You need to create an account or log in to post comments to this site.
Related Posts
» Killing rogue dispatch.fcgi ... in fastcgi lighttpd ruby rails textdrive dispatch.fcgi on processes
» Daedalus Config to Keep Ligh... in fastcgi lighttpd ruby rails config dispatch.fcgi daedalus nice
» How TextDrive does both PHP ... in php fastcgi lighttpd rails fcgi
» Suexec'ed PHP-FastCGI on Apa... in apache php fastcgi suexec
» My lighttpd php-fastcgi conf... in php fastcgi lighttpd
» Typo under lighttpd in lighttpd ruby rails typo ruby-fcgi
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails