School is a twelve-year jail sentence where bad habits are the only curriculum truly learned.
John Taylor Gatto
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


Recent comments
9 weeks 3 days ago
9 weeks 6 days ago
11 weeks 1 day ago
12 weeks 3 days ago
13 weeks 2 days ago
13 weeks 5 days ago
14 weeks 3 days ago
15 weeks 20 hours ago
15 weeks 4 days ago
18 weeks 6 days ago