GeeK`s Lifez GeeK`s Lifez

4May/1028

Redirection avec Lighttpd

Récemment j'ai voulu pour les besoin d'un site webs rediriger automatiquement http://domaine.com/ vers http://www.domaine.com/

Pour cela il faut dans un premier temps ajouter le module mod_redirect à Lighttpd (/etc/lighttpd/lighttpd.conf):

server.modules = ( "mod_redirect" )

Puis de même pour le nom de domaine concerné rajouter:

$HTTP["host"] =~ "^domaine.com$" {
url.redirect = ( "^/(.*)" => "http://www.domaine.com/$1" )
}

Comments (28) Trackbacks (0)
  1. Great site! I am loving it!! Will come back again. I am taking your feeds also

  2. Thanks for your wonderful post! It has been very insightful. I hope that you will continue sharing your knowledge with us.

  3. It is good of you to share this beneficial info with us. It’s actually a pleasant and useful piece of information. It is a well written blog

  4. Very attention-grabbing posts in your site. Already bookmarked for future references, in the event you don’t mind, I might also wish to this web site to bring you extra traffic. Sustain the great work.

  5. I’m impressed, I must say. Really rarely do I see a blog thats both informative and entertaining, and let me tell you, you’ve hit the nail on the head. Your blog is important; the issue is something that not many people are talking intelligently about. I’m really happy that I stumbled across this in my search for something relating to this.

  6. Good work to the blog proprietor, I now save your url into my checklist of bookmarks and I might be back for any updates you may need to offer. Maintain it up.

  7. Thanks for sharing your standpoint, I will pass this amongst my associates who is likely to be interested on this subject, you’ve got yourself some regular readers, and I’m one among them.

  8. Good Morning, I was in search of some ideas for the lay out of my new website and found your site by Google. I am truly amazed by the element information given on your web site, I can be bookmarking it for future references, I also wish to say glorious work performed with the great design of your website.

  9. Last thing I want is to give you some kind of faux evaluations, I am going to really honest, I would perfer in the event you would display some instance of this matter, however nonetheless, I couldn’t reach a conclusion primarily based on the factors given.

  10. Fairly cool article, I will put some hyperlinks on my web sites to redirect them here, for those who don’t mind. Stick with it, and I will check back soon.

  11. Have not seen blogs like these for a while now, pretty good in my humble opinion, it is even higher should you may very well be somewhat more specific. Thank you.

  12. You did a fabulous job in this blog post and I think I’ll be back to read your other articles as well. ! don’t stop writing.

  13. It’s good to return throughout a weblog each every now and then that is not the same boring material. I’ve bookmarked your web site and I am including your RSS feeds to my Google account.

  14. Tanita introduces the second generation for “going green” using the HS-302 Solar Digital Scale. This large duty bathroom scale is environmentally-conscious and has built-in solar cells that draw energy from sunlight or ordinary home light, eliminating the must acquire or recharge batteries, saving our landfills from further battery contamination, and is nearly guaranteed to not break due to the fact it really is a large duty bathroom scale.

  15. Two thumb up for this article! I simply handed this onto a fellow worker who was doing some research on that If attainable, as you acquire expertise, would you thoughts updating your blog with more information?

  16. Thank you a lot for article! I feel you have got it, no matter which means in blogging. Keep on inspiring the folks!

  17. Great article and straight to the point. I don’t know if this is truly the best place to ask but do you folks have any thoughts on where to hire some professional writers? Thank you :)

  18. You are a very capable person!

  19. Neat post. I spent quite a bit of time studying information about this.

  20. 2. Excellent post once again! Thanks a lot!

  21. 2. Outstanding information over again! I am looking forward for your next post;)

  22. I am constantly searching online for posts that can benefit me. Thank you!

  23. Do you know that your site looks a little bit strange in Opera on my Mac .

  24. I attempted to submit a statement earlier, however it hasn’t shown up. I believe the spam filtering may be damaged

  25. How do you make this site look this good! Email me if you get the chance and share your wisdom. I’d appreciate it.

  26. I like the website layout . How did you make it? It is so cool.

  27. Dont genuinely wish to boost the rest of the spam! but beneficial webpage. I simply cannot appear to get the RSS feed functioning though. any ideas? http://www.howtomakewomencome.com/find-the-g-spot/” rel=”nofollow”>making a woman come


Leave a comment

(required)

No trackbacks yet.