Monthly Archives: May 2009

DoD CAC and Apache

Came across this little blog post about apache config with DoD CAC. techmiso.com Worked like a champ for me with Apache2.2 and Solaris 10 X86. Now onto to user authentication and access control with this configuration. Bookmark It Hide Sites … Continue reading

Posted in News, puters | 2 Comments

sed updating URL inside php

If I have to update a lot of php files to correct a URL. I use the following sed command for i in ./*.php; do sed “s/https\:\/\/www.mattpallotta.com\/home\//https\:\/\/www.mattpallotta.com\//g” $i > $i-new; mv $i-new $i; done; This works out well for me. … Continue reading

Posted in Life in General | Leave a comment

simple file rename with sed

From time to time I need to do bulk file renames on linux and solaris servers. These renames are generally done when I need to run a few apache logs through awstats. We use load balancer for the servers. Every … Continue reading

Posted in Apple, puters | Leave a comment