Archive for September, 2009

2009
26
Sep
Category: Misc, PHP

I have been playing with Codeigniter a lot lately. I was in the middle of working on something when MAMP gave me a 403 error.

The error was “403 Forbidden You don’t have permission to access / on this server” Navigating to any folder would give me the 403 error as well, even http://localhost:8888/MAMP/?language=English.

This was a pretty simple issue to correct. Not simple enough at the time though

  1. Stop all MAMP servers (Apache and MySQL Server)
  2. Navigate to Applications/MAMP/conf/apache
  3. Open httpd.conf
  4. You can probably open it with TextEdit. I opened it with Dreamweaver. Just make sure TextEdit is editing it in plain text format and not rich text format.
  5. Find the following section of code (on mine it was on line 378):
    <Directory />
    Options Indexes FollowSymLinks
    AllowOverride All
    </Directory>
  6. Change “AllowOverride All” to “AllowOverride None
  7. Save the file
  8. Start MAMP and test the pages.

If that doesn’t work for you, you can always Google it. The MAMP forums have a lot of posts about it.

2009
19
Sep
Category: Website

It’s official. I have moved to WordPress. I used to be on Mango Blog but decided to switch over to WordPress when I decided to start learning PHP. I’ll be migrating all of the Mango Blog posts over to WordPress. If what you are looking for isn’t here yet, come back tomorrow and it may be back up by then.

[Update] I am adding in some of my previous posts (manually of course), and for some reason Mango Blog had a bunch of my posts in May. I’d say 3/4 of my posts were in May. Which isn’t right. Mango Blog went screwy somewhere.

2009
09
Sep
Category: Misc, Self
Tags:

When I was in the military, right before we deployed to Afghanistan, I was living with a good friend of mine. He’s Mexican. That little bit of information will come in to play later. We had just finished a 7 week training operation in the mountains in Nevada. When we finally got back to our base after the op was finished, we did what any normal Marine does; drink.

Sometime during the night, he called up a girl he knew from back home. After about 10 minutes of talking he handed me the phone and said he had to go to the bathroom and told me to talk to her. This is how the conversation went:

Me: Hi. I’m David

Her: Hi David

Me: I’m white…

[My friend and her both laugh]

Me: …but that’s alright. Because I’m an honorary vato.

I have no idea why I said that. Everyone thought it was funny though. Because of those last few words, my friend still refers to me as an honorary vato.

Four years later, another friend of mine decided to make an Honorary Vato certificate for me to print and hang on my wall. And you know I’ll do it too!
Honorary Vato Certificate