Grab the feed

School is a twelve-year jail sentence where bad habits are the only curriculum truly learned.

John Taylor Gatto

Recent comments

Great post! It works like a

Great post! It works like a charm and I have only one question :) (Perhaps it has nothing to do with this at all!?)

I'm not that good on this subject, thats why I read your post, so please bare with me.

I have my domain.com, and when I go to http://www.domain.com it works but when i type in http://domain.com it redirects to the .wsgi file in the apache-folder. I tried creating a .htaccess and put some rewrite stuff in it but it doesn't work. I put the .htaccess file in my project directory so please tell me if I'm placing it wrong.

This is what I wrote in the .htaccess file:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain.com
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=permanent,L]

I hope someone can put me in the right direction?!

Thanks alot

Add your comment