{"action":"opened","issue":{"url":"https://api.github.com/repos/Poc275/speedwell/issues/2","repository_url":"https://api.github.com/repos/Poc275/speedwell","labels_url":"https://api.github.com/repos/Poc275/speedwell/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Poc275/speedwell/issues/2/comments","events_url":"https://api.github.com/repos/Poc275/speedwell/issues/2/events","html_url":"https://github.com/Poc275/speedwell/issues/2","id":152040163,"number":2,"title":"Configure Apache to only serve non www version (.htaccess file)","user":{"login":"Poc275","id":8738684,"avatar_url":"https://avatars.githubusercontent.com/u/8738684?v=3","gravatar_id":"","url":"https://api.github.com/users/Poc275","html_url":"https://github.com/Poc275","followers_url":"https://api.github.com/users/Poc275/followers","following_url":"https://api.github.com/users/Poc275/following{/other_user}","gists_url":"https://api.github.com/users/Poc275/gists{/gist_id}","starred_url":"https://api.github.com/users/Poc275/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Poc275/subscriptions","organizations_url":"https://api.github.com/users/Poc275/orgs","repos_url":"https://api.github.com/users/Poc275/repos","events_url":"https://api.github.com/users/Poc275/events{/privacy}","received_events_url":"https://api.github.com/users/Poc275/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Poc275/speedwell/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"Poc275","id":8738684,"avatar_url":"https://avatars.githubusercontent.com/u/8738684?v=3","gravatar_id":"","url":"https://api.github.com/users/Poc275","html_url":"https://github.com/Poc275","followers_url":"https://api.github.com/users/Poc275/followers","following_url":"https://api.github.com/users/Poc275/following{/other_user}","gists_url":"https://api.github.com/users/Poc275/gists{/gist_id}","starred_url":"https://api.github.com/users/Poc275/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Poc275/subscriptions","organizations_url":"https://api.github.com/users/Poc275/orgs","repos_url":"https://api.github.com/users/Poc275/repos","events_url":"https://api.github.com/users/Poc275/events{/privacy}","received_events_url":"https://api.github.com/users/Poc275/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-04-30T16:44:05Z","updated_at":"2016-04-30T16:44:05Z","closed_at":null,"body":"# ----------------------------------------------------------------------\r\n# Suppress or force the \"www.\" at the beginning of URLs\r\n# ----------------------------------------------------------------------\r\n\r\n# The same content should never be available under two different URLs - especially not with and\r\n# without \"www.\" at the beginning, since this can cause SEO problems (duplicate content).\r\n# That's why you should choose one of the alternatives and redirect the other one.\r\n\r\n# By default option 1 (no \"www.\") is activated. Remember: Shorter URLs are sexier.\r\n# no-www.org/faq.php?q=class_b\r\n\r\n# If you rather want to use option 2, just comment out all option 1 lines\r\n# and uncomment option 2.\r\n# IMPORTANT: NEVER USE BOTH RULES AT THE SAME TIME!\r\n\r\n# ----------------------------------------------------------------------\r\n\r\n# Option 1:\r\n# Rewrite \"www.example.com -> example.com\"\r\n\r\n<IfModule mod_rewrite.c>\r\n  RewriteCond %{HTTPS} !=on\r\n  RewriteCond %{HTTP_HOST} ^www\\.(.+)$ [NC]\r\n  RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L]\r\n</IfModule>\r\n\r\n# ----------------------------------------------------------------------\r\n\r\n# Option 2:\r\n# To rewrite \"example.com -> www.example.com\" uncomment the following lines.\r\n# Be aware that the following rule might not be a good idea if you\r\n# use \"real\" subdomains for certain parts of your website.\r\n\r\n# <IfModule mod_rewrite.c>\r\n#   RewriteCond %{HTTPS} !=on\r\n#   RewriteCond %{HTTP_HOST} !^www\\..+$ [NC]\r\n#   RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]\r\n# </IfModule>"}}