Category Archives: howto

Automatically Download All The Wallpapers From National Geographic [MAC Version]

In my travels today i found a great post from http://www.webupd8.org Its a set up scripts for linux that will download all the Wallpapers from Nation Geopraphic. Well, it was Linux only and didn’t work nativity on my Mac, so … Continue reading

Posted in howto, web development | Tagged , , , | Leave a comment

modrewrite to combat spam attacks

This is a simple ModRewrite i use to combat the file upload, then expand attack that is fairly common with poorly created upload scripts  Basically this reads, if the request or the refferer contains any of the bad words, redirect … Continue reading

Posted in howto, system administration | Leave a comment

SPAM SPAM GO AWAY!

It seems the new trend for successfully exploited weak web applications is that they will only show their seedy content to google or other search engines. They will only be triggered to show their content when they are accessed by … Continue reading

Posted in howto, php, system administration | Leave a comment

Well… that was an interesting night!

Tonight was supposed to be a very simple hard drive copy to a server, virtualize a physical server, get a beer and go home… I figured, i’d be at home by 6 or 7pm… well… Technology has a way of … Continue reading

Posted in howto, system administration | Tagged , , , , , , , , , | Leave a comment

Logwatch + OS X

I needed to install logwatch a OS X machine for work, and i figured i would just document the process. curl -o logwatch.tar.gz ftp://ftp.kaybee.org/pub/linux/logwatch-7.3.6.tar.gz tar xzpf logwatch.tar.gz cd logwatch-7.3.6/ sudo bash install_logwatch.sh At this point just use all the defaults … Continue reading

Posted in howto | Tagged , , , , , , , | Leave a comment

Netboot Across Subnets

Rob wrote a great article on how to Netboot your macs across multiple subnets, like we do here at RIT cias.rit.edu/~rrhpph/wordpress/

Posted in annoucement, howto | Tagged , , , , , | Leave a comment

Force SSL connection using PHP

When place before all other output on your PHP script this little snipped will force you PHP page to be presented over SSLThis is very useful on things like Login forms.   if($_SERVER[‘SERVER_PORT’] != ‘443’) {     //Force SSL upon … Continue reading

Posted in howto, php | Tagged , , | Leave a comment

Logwatch & RSS – A Perfect Union

Here at CIAS we have a bunch of linux servers, and we run logwatch on them to give us a daily look at our servers. There are few options with logwatch and how you want to get the information, you … Continue reading

Posted in howto, php, web development | Tagged , , , | Leave a comment

Wildcard Certificate on cias.rit.edu

Earlier today we installed a wildcard certificate on cias.rit.edu. What does this mean? A: Before today, if you went to https://bjcpgd.cias.rit.edu (over SSL) you would be using the certifcate for cias.rit.edu, and in the eyes of your browser bjcpgd.cias.rit.edu and … Continue reading

Posted in annoucement, howto, web development | Leave a comment

Apache Errors

Tonight i encountered a new error in Apache i’ve never seen before: [Thu Feb 28 17:54:32 2008] [notice] child pid 2602 exit signal File size limit exceeded (25) I saw MANY of these errors, and Apache wouldn’t return any pages … Continue reading

Posted in howto, web development | Leave a comment