Post thumbnail of Redirect URLs in Lighttpd
18 November 2009
Continue reading Redirect URLs in Lighttpd

Redirect URLs in Lighttpd

I’m going to redirect http://blog.rootninja.com to the main site. I don’t know why I didn’t just do this in the first place. I’ve always left it over here on its own. But it’s all on the same Virtual private server. Anyway, this is really easy to do in lighttpd. First, redirect all “www.rootninja.com” traffic to “rootninja.com”, because that other page is useless.

Post thumbnail of Redirect http to SSL encrypted https for specific domains in lighttpd
6 March 2009
Continue reading Redirect http to SSL encrypted https for specific domains in lighttpd

Redirect http to SSL encrypted https for specific domains in lighttpd

I read in a bunch of places that you can’t use HTTP["scheme"] to redirect http:80 traffic to https:443 without using 2-3 levels of nesting with socket and host. But that’s just not true. The only reason it doesn’t work at first is because http is a subset of https, so be more specific with http$ and it works with just one line in lighttpd.conf.

Share this:
  • Digg
  • Facebook
  • Reddit
  • LinkedIn
  • Google Bookmarks
Powered by Wordpress   |   Lunated designed by ZenVerse