{"action":"created","issue":{"url":"https://api.github.com/repos/liip/LiipImagineBundle/issues/632","labels_url":"https://api.github.com/repos/liip/LiipImagineBundle/issues/632/labels{/name}","comments_url":"https://api.github.com/repos/liip/LiipImagineBundle/issues/632/comments","events_url":"https://api.github.com/repos/liip/LiipImagineBundle/issues/632/events","html_url":"https://github.com/liip/LiipImagineBundle/issues/632","id":103459172,"number":632,"title":"Too many redirects on production environment","user":{"login":"compains","id":8570898,"avatar_url":"https://avatars.githubusercontent.com/u/8570898?v=3","gravatar_id":"","url":"https://api.github.com/users/compains","html_url":"https://github.com/compains","followers_url":"https://api.github.com/users/compains/followers","following_url":"https://api.github.com/users/compains/following{/other_user}","gists_url":"https://api.github.com/users/compains/gists{/gist_id}","starred_url":"https://api.github.com/users/compains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/compains/subscriptions","organizations_url":"https://api.github.com/users/compains/orgs","repos_url":"https://api.github.com/users/compains/repos","events_url":"https://api.github.com/users/compains/events{/privacy}","received_events_url":"https://api.github.com/users/compains/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-27T08:52:53Z","updated_at":"2015-08-27T11:02:33Z","closed_at":"2015-08-27T11:02:33Z","body":"Hi\r\n\r\nI'm using this bundle and it works fine in dev environment but in prod i get a \"too many redirects\" error in the Apache log. If I execute it by the command line works fine, so the write permissions and dependencies seems to be ok. I'm using the default .htaccess from Symfony and I think that the problem is here.\r\n\r\n\r\n    RewriteCond %{ENV:REDIRECT_STATUS} ^$\r\n    RewriteRule ^app\\.php(/(.*)|$) %{ENV:BASE}/$2 [R=301,END]\r\n    # If the requested filename exists, simply serve it.\r\n    # We only want to let Apache serve files and not directories.\r\n    RewriteCond %{REQUEST_FILENAME} -f\r\n    RewriteRule .? - [END]\r\n\r\n    # Rewrite all other queries to the front controller.\r\n    RewriteRule .? %{ENV:BASE}/app.php [END]\r\n\r\nThanks in advance!!"},"comment":{"url":"https://api.github.com/repos/liip/LiipImagineBundle/issues/comments/135384614","html_url":"https://github.com/liip/LiipImagineBundle/issues/632#issuecomment-135384614","issue_url":"https://api.github.com/repos/liip/LiipImagineBundle/issues/632","id":135384614,"user":{"login":"compains","id":8570898,"avatar_url":"https://avatars.githubusercontent.com/u/8570898?v=3","gravatar_id":"","url":"https://api.github.com/users/compains","html_url":"https://github.com/compains","followers_url":"https://api.github.com/users/compains/followers","following_url":"https://api.github.com/users/compains/following{/other_user}","gists_url":"https://api.github.com/users/compains/gists{/gist_id}","starred_url":"https://api.github.com/users/compains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/compains/subscriptions","organizations_url":"https://api.github.com/users/compains/orgs","repos_url":"https://api.github.com/users/compains/repos","events_url":"https://api.github.com/users/compains/events{/privacy}","received_events_url":"https://api.github.com/users/compains/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T11:02:33Z","updated_at":"2015-08-27T11:02:33Z","body":"Hi. \r\n\r\nIt was a Apache config problem.\r\n\r\nI'm closing this."}}