Search
Twitter
- 500 calorie workout today. trying not to drink beer. good start, imo. 2 weeks ago
- @ianleeds i know. 5 mins was ridiculous... bluuuuuuuuuue moooooooooooon. 3 weeks ago
- I imagine we'll see more city fans coming out of the woodwork today #mancity GG 3 weeks ago
- wow..... #mancity... wow..... 3 weeks ago
- @DaveNaylor Manchester derby? 3 weeks ago
Archives
Meta
Tag Archives: Apache
htaccess Rewrite Cheatsheet
CODE: # Site has permanently moved to new domain # domain1.com to domain2.com RewriteCond %{HTTP_HOST} ^www.domain1.com$ [NC] RewriteRule ^(.*)$ http://www.domain2.com/$1 [R=301,L] CODE: # Page has moved temporarily # domain.com/old_page.html to domain.com/new_page.html RewriteRule ^old_page.html$ new_page.html [R,NC,L] CODE: # SEO / Pretty … Continue reading
Apache 2.2
I screwed up our server’s logging recently through lack of sleep, lack of caffeine reaction and silliness. In a word, I was tired and not paying attention. In /etc/apache2/sites-available/ you list all the configuration files for your websites. In /etc/apache2/sites-enabled/ … Continue reading
