Mike Says Meh The blog of Sys Admin Mike Kauspedas

27Mar/100

Google Adsense Public Service Ads Plague

For the life of me I could not figure out why my ads went from tech/gluten to PSA. I read blogs and articles on how to re-index, add content, change settings etc to get them to go away. But the answer was in adsense help the whole time. A while ago I verified my account for payment, it wasn't a big deal because honestly I get next to no visitors and had very little money from it. Anyway, it turns out there was a lot more verification to do, phone number, taxes, payment method. All of that is now done so hopefully the ads change here in the next few days. I was actually clicking on some of the gluten-free ones myself, that's how I found Rheinlander Bakery in Arvada. Full of absolutely mouth watering gluten-free treats.

http://www.rheinlanderbakery.com/

I still don't understand how adsense works but I don't really care. Not enough people visit this blog anyway. Its mainly just to chronicle gluten-free stuff and tech stuff for web hosting.

Now to find a wordpress plugin to plague the 2 people that read this blog with ads ...

Tagged as: , No Comments
24Mar/100

Denver snow March 24 2010

The dog is my samoyed named Moya - after the ship in Farscape.

[youtube eoZP6jK2JYA]

[youtube iBj4eAxxR20]

[youtube ddn7SGpB_BA]

crap

23Mar/100

More on Wincache + WordPress + IIS 7

I just found this blog post on iis.net and applied it to my WordPress site. The site does seem a lot faster but it could be the car wash effect. You know, when you get your car washed and somehow it makes it faster. Also known as the gas tank effect.

http://blogs.iis.net/ruslany/archive/2010/03/05/make-wordpress-faster-on-iis-with-wincache-1-1.aspx

Tagged as: , , No Comments
23Mar/103

Windows 2008 + Railo + IIS 7

I recently had the pleasure of figuring out how to get Railo working for a customer. Unfortunately the internet doesn't convey my extreme sarcasm in saying the word pleasure. It was not pleasant. For one, there is very limited documentation. So limited that it's hard to determine what version you should install. Despite all this I managed to figure out the basics in a few days and get some sites up and running. There are still a lot of things that confuse me, but I'm not about to figure all those out. I just wanted to get it running. Fortunately for anyone who is reading this I kept some notes on what I did, hopefully they help you in your endeavor.

First, download Railo server. Go here http://www.getrailo.org/index.cfm/download and scroll down, then download the exe under Railo server.

Run the installed, I chose to install in C:\Railo to keep things really simple.

After it's installed try http://localhost:8600/railo-context/admin/server.cfm on the server. Don't get excited, I've never had a problem getting that running. Don't set anything up yet or add DSNs. I'm not sure if this is true but the admin is different for each site. At least I found that if I added a DSN under localhost it would not show up for the site. More on that later ...

Open IIS and add a script mapping to your handler mappings.

Script: *.cfm
DLL: C:\Railo\win32\isapi_srun.dll
Name: CFviaRailo

Within handler mappings click on edit feature permissions from the right hand side and allow EXE. This is bad for the whole server so I recommend doing it on the sites individually.

If you are using Windows 2008 R2 x64 make sure the application pool for the site is set to allow 32bit apps and also set it to no managed code.

Open resin.conf in C:\Railo\conf. Find the line:

<!-- configures a deployment directory for virtual hosts -->

Above that line put the following.

<!-- configure IIS sites routing by host -->
<host id="your-domain-name.com" root-directory=".">
<web-app id="/" document-directory="C:/inetpub/wwwroot/file-path"/>
</host>

Do the same for any other sites that will run Railo. Restart IIS (cmd --> iisreset) and the Railo server in services.

Now, in a web browser open the Railo admin under that site. Hopefully everything works for you. The URL would be "http://your-domain.com/railo-context/admin/server.cfm. You should be asked to set an admin password. After you do that and login add your datasources, setup the mail server, turn off debugging, and any other settings you like. With all that done your site should run as long as it doesn't require something Railo doesn't offer.

Like I said this is very basic and I did this for some relatively simple websites. I'm not sure if this is correct or recommended.Keep in mind that Resin is the web server, it is running the Railo sites and the CFML. IIS is simply passing the cfml to resin/railo. Just like normal CF/Java.

Some other links that helped me.

http://blog.durhamcons.com/post.cfm/railo-3-0-community-resin-3-1-and-iis6-learn-from-my-mistakes

http://www.railo.ch/blog/index.cfm/2009/6/24/h2Configuring-Railo-for-the-application-server--Part-1h2

Leave a comment with any questions you have and I'll try and help.

Tagged as: , , 3 Comments
22Mar/100

PHP 5.2.13 + IIS 7 + Wincache

MikeSaysMeh dot com is now running on PHP 5.2.13 with IIS 7 and Wincache. Its pretty easy to install, just download the Non Thread Safe version of PHP 5 from here. http://windows.php.net/download/ and download Wincache from here, http://www.iis.net/expand/WinCacheForPhp. Install PHP, add wincache extension, run. Its really that simple. Just make sure you use the non thread safe version of PHP or else you get fastcgi crashes. Another tip, if you're running into errors open a dos prompt and run your page from there. You should get a warning box or error message that will be easier to follow. IE:

C:\PHP>php-cgi C:\inetpub\wwwroot\info.php

If you're using Win2k8 R2 make sure yer app pool is allowing 32bit apps.

One of the other things I noticed is that php now compiles, its slow to start (like asp.net) but once its going it zooms along.

Filed under: Tech No Comments
19Mar/100

Larabars

I think I've tried every flavor of larabars so far and the best one by far is peanut butter cookie. Not to say the other ones aren't bad, but the pb cookie is that much better. Lemon bar is also a  favorite and actually reminded me of my Grandma's lemon bars. So much that I had my wife make some gluten free lemon bars, but they weren't Grandma's, probably because they were missing delicious gluten. A box of larabars runs about $20 at King Soopers and lasts me and my wife 2 weeks. There are some days when all I have for lunch is one. They make great fuel on long rides as well.


18Mar/100

DotNetNuke Install WebResource.axd Error IIS 7

I'm testing an install of DotNetNuke on IIS 7 and ran into an error when trying to start the site.

The WebResource.axd handler must be registered

I tried following some guides online to add the handlers to the >system.webserver> section which is there for IIS in the web.config but I couldn't get them to work so I just switched the application pool to classic mode. I'd rather run in integrated, I hate running something as up to date as DNN on an IIS 7 server in basically IIS 6 mode; but for now this works. So to get around this error just switch your app pool in IIS 7 to classic mode and then restart it. Below is a guide on how to do that.

http://support.gearhost.com/KB/a381/change-managed-pipeline-mode-in-iis-7.aspx

18Mar/100

Gluten-Free Bread making Robot for President!

http://mybready.com/index.php/

It's $300 but can you put a price on joy? On deliciousness? No, you can't. This is exactly what I have been looking for and I have to thank my wife for finding it for me. Gluten-free bread is normally frozen and never fresh. Unless you can actually find a restaurant that serves it, like Le Central (more on that later), your gluten-free bread experience will leave something to be desired. Bready, possibly the best robot ever created - yes it's a robot - is going to change that for all of us who live with the gluten-free curse. That is why my vote will be a write-in for Bready. It's also why your vote should be for Bready as well.

10Mar/100

Gluten-free Frito-Lay Products

You can find a list of gluten-free Frito-Lay products on their site here. Its actually pretty damn long.I eat plain fritos sometimes when I'm in a pinch and judging from the way I feel and the ingredients on the back I figured they were safe. I just did a quick double check online today and found out I was right, and there are a lot more unhealthy chips I can eat as well. Gonna be tough staying away from all that deliciousness.

http://fritolay.com/your-health/for-special-dietary-needs.html

Just click on product not containing gluten. Here's just a few.

Last updated February 24, 2010

BAKED! CHEETOS® Crunchy Cheese Flavored Snacks
BAKED! CHEETOS® FLAMIN’ HOT® Cheese Flavored Snacks
BAKED! DORITOS® Nacho Cheese Flavored Tortilla Chips
BAKED! LAY'S® Cheddar & Sour Cream Flavored Potato Crisps
BAKED! LAY'S® Original Potato Crisps
BAKED! LAY'S® Parmesan & Tuscan Herb Flavored Potato Crisps
BAKED! LAY'S® Sour Cream & Onion Artificially Flavored Potato Crisps
BAKED! LAY'S® Southwestern Ranch Flavored Potato Crisps
BAKED! RUFFLES® Cheddar & Sour Cream Flavored Potato Crisps
BAKED! RUFFLES® Original Potato Crisps
BAKED! TOSTITOS® Scoops! Tortilla Chips
BAKEN-ETS® BBQ Flavored Fried Pork Skins
BAKEN-ETS® Fried Pork Skins
BAKEN-ETS® Hot ‘N Spicy Flavored Pork Skins
BAKEN-ETS® Hot 'N Spicy Flavored Fried Pork Cracklins
BAKEN-ETS® Hot Sauce Flavored Fried Pork Cracklins
CHEETOS® Crunchy Cheddar Jalapeno Cheese Flavored Snacks
CHEETOS® Crunchy Cheese Flavored Snacks
CHEETOS® Crunchy Chile Limon Flavored Snacks
CHEETOS® Crunchy Flamin' Hot Cheese Flavored Snacks
CHEETOS® Crunchy Flamin' Hot Limon Cheese Flavored Snacks
CHEETOS® FANTASTIX! Chili Cheese Flavored Baked Corn/Potato Snacks
CHEETOS® FANTASTIX! Flamin' Hot Flavored Baked Corn/Potato Snacks
CHEETOS® Giant Puffs Cheese Flavored Snacks
CHEETOS® Giant Puffs Color Changers Cheese Flavored Snacks
CHEETOS® Giant Puffs Flamin' Hot Cheese Flavored Snacks
CHEETOS® Giant Snowballs Cheese Flavored Snacks
CHEETOS® Jumbo Puffs Flamin' Hot Cheese Flavored Snacks
CHEETOS® Natural White Cheddar Puffs Cheese Flavored Snacks
CHEETOS® Puffs Cheese Flavored Snacks

2Mar/105

OMFG! – Progresso Traditional New England Clam Chowder is Gluten Free!

Gluten free deliciousness.

This is the first time I have found out one of my old staples is gluten free. I LOVE clam chowder and now I can eat it again. I don't know if this has always been gluten free. Regardless I know what I'm having for dinner tonight!