Tag Archives: apache

MAMP – MySQL can’t connect after OS X Crash

4 Sep

Problem I had my macbook open, it went to sleep and I couldn’t wake it up.  After holding down the powerbutton for over 10 seconds, it turned on.  Everything was fine until I tried to open the MAMP home page.  MySQL couldn’t start.  the error logs showed: InnoDB: Check that you do not already have [...]

MAMP optimizations

18 May

“Optimizations” in the sense that you’ll have to do less work.  This website gives some great tips on saving you some time using MAMP. http://www.sitepen.com/blog/2008/05/16/supercharge-mamp/ This site below actually helped me with the silent MAMP startup.  Read the comments on this page for updates on getting it to work with version 2.  It’s so good [...]

Page Speed SEO

4 Apr

One of the metrics for Search Engine Optimization is the time it takes to load a page.  With Google’s PageSpeed tool, you can see if your page is loading optimally.  One of the ways to better your page loading is by leveraging browser cache.  The article below explains it well.  What I did was a [...]

Weblog Expert

22 Sep

Problem A client had wanted Google Analytics on their site a few months back so they asked me to put it in their website.  I thought I had, and I did, locally, but for one reason or another, it was not on the server.  The client depends on this report to get funding so I [...]

Useful Linux Commands

16 Sep

I recently had to move a server and needed to set up another server. I’m a linux newbie so I needed to look up a lot of things. Below are some of the more common commands that I needed: (replace with your own command/name). Create a short name or alias to run a command. alias [...]

Mac OS X Linux Stuff

15 Sep

Locations and commands on the Mac OS X vs any other Linux/Unix system are different.  Below are some of the locations and commands I ran across in setting up my macbook as a webserver. apache2 is located in /etc/apache2/ Along with the httpd.conf: /etc/apache2/httpd.conf By default apache2 logs are located at: /var/log/apache2 By default files [...]

GoDaddy Password Protect Home Directory

2 Aug

Problem: GoDaddy makes it simple to password protect a directory.  You just go to their file manager, click on a directory, click on Permissions, fill out a user and password and you’re done.  Bad thing is that you can’t password protect anything in the public root folder.   Solution: Easiest solution is to password protect [...]

wordpress mod_rewrite exception url

28 Jun

Problem: I added a wordpress blog to a website, but I still needed to get to a url that was on the same website and not part of wordpress. Search terms: wordpress mod_rewrite exception url Solution Found: http://stackoverflow.com/questions/6428448/rewriterule-exception-for-static-page-outside-wordpress Use: RewriteRule ^test\.htm$ – [PT,L]