test .htaccess

Filed under: Web Development — rasim

A number of times I had to check why .htaccess was not working on a localhost or a server. Different machines have different setting and whether it is a wamp server, windows or linux box, I always check .htaccess file itself first. The easiest way to check if .htaccess settings get picked up is to create one with minimal settings. I like to have it redirecting to some other website as a confirmation. Below is the example of the content, just copy and place it in your .htaccess to see if it works:

Options +FollowSymLinks
rewriteEngine on
rewriteRule ^test\.html$ http://www.hackcorp.com/index.php [R=301,L]

Now go to test.html on your server and if your .htaccess gets accessed by the apache, you should get redirected to this site – http://www.hackcorp.com/index.php. If not, start looking into your apache settings. Make sure that the basic settings are set correctly, such as mod_rewrite module is enabled in httpd.conf and AllowOverride All is set on the directory in the httpd.conf.

Wheather it is a simple error of misplacing .htaccess or wamp and windows not seing the file, the first step of checking if the settings get picked up is often overlooked.

P.S. Don’t forget that apache server needs to be restarted every time you make a change. :)

Please let me know if this post was helpful or if you would like to see more details on the topic.

Life is a series of steps: next step

Filed under: Other — rasim

stairsI had a full time job for a while and have been working all this time. After my regular 10-12hours at work, I was trying to put another 5-6 hours into my start up and it was tough.  Having a regular job gave me more security and a way to expand my team of programmers to 3 people. Working 15-18 hours was really exhausting me and I had to ask to work less or quit even though my start up is not making enough to support itself yet.

I gamble a lot, and I think this step of my life is one of the biggest bets I ever made. I don’t know what will come out of it, but I am moving to working on my contract jobs starting  11/16/2009. I have a few projects going and hope that I can close them soon. It is pretty hard to have 2 full time jobs and stare at the screen so many hours a day plus be able to spend some time with the family and friends. I believe it is the time to go all in on what I have in mind. I had two choices, one being a stable, successful web developer and spend my life creating perfect CMS systems and another going entrepreneurial way and face a lot of uncertainty.  I chose the second path, which is more risky and we will see if I made the right choice. I am all in at this point. Higher risk tends to generate a higher return. :)

There are a few things that pushed me. Working every day in a company is great, I get to work with a lot of people, develop new things, get appreciated for it, have stable paychecks, etc. Working on my own projects is way more risky compensation wise, more challenging, more fun and can generate higher return. At some point I had additional time to do some affiliate sites and it generated 100% return on my investment from offers like netflix. I had to put some time into it but I know I will be able to do something similar. I have more knowledge, more experience and a bigger team now. Not every offer I tried worked out, but it worked for me overall. I also have a few websites that generate a decent amount and I think they are good to get me started. Having more time will let me put more work into existing sites, improve the rankings, features and take them to the next level. On top of that I have quite a few big ideas for my own websites and do custom websites for a few people. I am pretty sure I can make it work.

I know I can do better. I know I will. These thoughts push me to work harder for myself now and have a better control over my team. I will deliver custom projects faster now. I will do more progress on the sites that I own. I will create many new ones. I will commit to perfecting my skills! I am going to the next level and the big step has already been made.

At last, just want to share some goals. By 2010 I plan to create about 20 additional websites. Some are in a certain niche running affiliate offers and the others are just general content sites powered by adsense. I will finish the contract projects that I have now and start on the new ones. I am planning to double my online income by the end of next month this way.

Life is a series of steps and with a lot of uncertainty I am making the next one.

EWA Network