{"action":"created","issue":{"url":"https://api.github.com/repos/panique/huge/issues/634","labels_url":"https://api.github.com/repos/panique/huge/issues/634/labels{/name}","comments_url":"https://api.github.com/repos/panique/huge/issues/634/comments","events_url":"https://api.github.com/repos/panique/huge/issues/634/events","html_url":"https://github.com/panique/huge/issues/634","id":65005947,"number":634,"title":"Subdomains","user":{"login":"AdamDenoon","id":2514034,"avatar_url":"https://avatars.githubusercontent.com/u/2514034?v=3","gravatar_id":"","url":"https://api.github.com/users/AdamDenoon","html_url":"https://github.com/AdamDenoon","followers_url":"https://api.github.com/users/AdamDenoon/followers","following_url":"https://api.github.com/users/AdamDenoon/following{/other_user}","gists_url":"https://api.github.com/users/AdamDenoon/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamDenoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamDenoon/subscriptions","organizations_url":"https://api.github.com/users/AdamDenoon/orgs","repos_url":"https://api.github.com/users/AdamDenoon/repos","events_url":"https://api.github.com/users/AdamDenoon/events{/privacy}","received_events_url":"https://api.github.com/users/AdamDenoon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-29T00:31:14Z","updated_at":"2015-03-30T20:51:19Z","closed_at":null,"body":"I am getting a \"The page isn't redirecting properly\" error, and I think there's some kind of infinite loop caused by Rewrites. The htaccess files are untouched. I want this project installed only within a sub-folder on my server, which is pointed-to by a subdomain.\r\n\r\nHere is my 000-default.conf:\r\n```\r\nNameVirtualHost *:80\r\n\r\n<VirtualHost *:80>\r\n\t\r\n\tServerAdmin webmaster@localhost\r\n\t<VirtualHost *:80>\r\n           DocumentRoot \"/var/www/html\"\r\n           <Directory \"/var/www/html\">\r\n            AllowOverride All\r\n             Require all granted\r\n           </Directory>\r\n     </VirtualHost>\r\n\r\n\tErrorLog ${APACHE_LOG_DIR}/error.log\r\n\tCustomLog ${APACHE_LOG_DIR}/access.log combined\r\n\r\n<VirtualHost *:80>\r\n    ServerName www.mysubfolder.myserver.com\r\n    ServerAlias mysubfolder.myserver.com\r\n    ServerAdmin admin@myserver.com\r\n    DocumentRoot \"/var/www/html/mysubfolder/public\"\r\n    <Directory /var/www/html/mysubfolder/public>\r\n            AllowOverride All\r\n            Allow from all\r\n    </Directory>\r\n</VirtualHost>\r\n</VirtualHost>\r\n\r\n# vim: syntax=apache ts=4 sw=4 sts=4 sr noet\r\n```"},"comment":{"url":"https://api.github.com/repos/panique/huge/issues/comments/87827862","html_url":"https://github.com/panique/huge/issues/634#issuecomment-87827862","issue_url":"https://api.github.com/repos/panique/huge/issues/634","id":87827862,"user":{"login":"panique","id":156321,"avatar_url":"https://avatars.githubusercontent.com/u/156321?v=3","gravatar_id":"","url":"https://api.github.com/users/panique","html_url":"https://github.com/panique","followers_url":"https://api.github.com/users/panique/followers","following_url":"https://api.github.com/users/panique/following{/other_user}","gists_url":"https://api.github.com/users/panique/gists{/gist_id}","starred_url":"https://api.github.com/users/panique/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panique/subscriptions","organizations_url":"https://api.github.com/users/panique/orgs","repos_url":"https://api.github.com/users/panique/repos","events_url":"https://api.github.com/users/panique/events{/privacy}","received_events_url":"https://api.github.com/users/panique/received_events","type":"User","site_admin":false},"created_at":"2015-03-30T20:51:19Z","updated_at":"2015-03-30T20:51:19Z","body":"Yeah I totally agree: Don't make things more complicated than necessary, keep it as simple as possible (\"but not simpler\" :) ). In this case you're creating problems by setting up a super-weird edge-case that has absolutly no advantage, just a hell of downsides.\r\n\r\nEven if you really really need this subdomain, then use it without www. ,as there's absolutly no advantage in doing so. If you still have problems, try to remove the www-stuff from the .htaccess file(s)."}}