Kara-Moon Forum
March 28, 2024, 11:12:22 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: You can go back to the main site here: Kara-Moon site
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: SHA1 checksums now on site  (Read 4932 times)
bvdp
Kara-Moon Master
****
Posts: 1436


WWW
« on: November 02, 2013, 06:10:15 PM »

I had one reported corrupt file on my website. I really don't know if there are others. The pdf docs for mma were corrupt and I've uploaded a new (correct) copy.

I have updated my website-creation software script to calculate a SHA1 checksum for each downloadable file. It's printed right below the filename. To verify, just run a sha1 checker against the file. On linux, you just (from a command line): sha1sum <file>. For Windows: http://support.microsoft.com/kb/889768 and Mac: http://osxdaily.com/2009/10/13/check-md5-hash-on-your-mac/  should get you started.
Logged

My online life: http://www.mellowood.ca
bvdp
Kara-Moon Master
****
Posts: 1436


WWW
« Reply #1 on: November 03, 2013, 12:29:21 AM »

And, to add insult to injury, the files I thought were bad were just fine. For those who "need to know", my web host has a option to enable apache compression. The call it "Optimize Website".  It just sets a flag in apache's  mod_deflate modules. There are 3 options:

   - Disabled
   - Compress all content
   - Compress the specified MIME types

I had selected the 2nd option which compressed all content. Now, this should work. But it doesn't. I think it might be an apache bug, but I don't want to wander down that path ... life is too short!

But, with the option enabled all my .gz files were screwed up. I changed the option to "MIME" and now just html and text files are compressed.

If nothing else, it was a nice way to while away time on a rainy day (which we've had here today). And, the site does have sha1 checksums too ... I'll leave them if for no other reason than they look like I know what I'm doing!
Logged

My online life: http://www.mellowood.ca
folderol
Kara-Moon Master
****
Posts: 5296

Who? Me?


WWW
« Reply #2 on: November 03, 2013, 07:14:27 PM »

We already know that you know what you're doing Bob. The 'others' probably think a checksum is the amount you write at the bottom of a paying in slip Grin
Logged

If you have a poem, I have a tune, and we exchange these, we can both have a poem, a tune, and a song.
- Will
bvdp
Kara-Moon Master
****
Posts: 1436


WWW
« Reply #3 on: November 03, 2013, 09:17:38 PM »

Actually, most of the time I have no idea of what I'm doing. I just keep trying and if it seems to be working, I stop ... sometimes ... othertimes I keep on and screw it up again.
Logged

My online life: http://www.mellowood.ca
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.273 seconds with 19 queries.