{"action":"created","issue":{"url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/333","labels_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/333/labels{/name}","comments_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/333/comments","events_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/333/events","html_url":"https://github.com/javiereguiluz/EasyAdminBundle/issues/333","id":79061130,"number":333,"title":"Problem on production server - redirected to Login","user":{"login":"benjamitauler","id":6003575,"avatar_url":"https://avatars.githubusercontent.com/u/6003575?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamitauler","html_url":"https://github.com/benjamitauler","followers_url":"https://api.github.com/users/benjamitauler/followers","following_url":"https://api.github.com/users/benjamitauler/following{/other_user}","gists_url":"https://api.github.com/users/benjamitauler/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamitauler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamitauler/subscriptions","organizations_url":"https://api.github.com/users/benjamitauler/orgs","repos_url":"https://api.github.com/users/benjamitauler/repos","events_url":"https://api.github.com/users/benjamitauler/events{/privacy}","received_events_url":"https://api.github.com/users/benjamitauler/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-21T16:06:40Z","updated_at":"2015-05-21T18:29:00Z","closed_at":"2015-05-21T16:59:03Z","body":"hi, I'm having a problem on production server \r\n\r\nThe frontpage or any other page on the EasyAdmin gets displayed without all the styles, and also when I click to some menú or any link I get redirected to the login page, and I have to login back in.\r\n\r\nThat does not on my developer machine (same code), at first I suposed it was a problem of the PHP version on production server, but I've tried same version as the production server on my developer machine and had no trouble at all.\r\n\r\nI think it has something to do with the htaccess redirect I have at the Symfony root on the production server:\r\n\r\n```\r\nRewriteEngine on\r\nRewriteCond %{HTTP_HOST} ^(.*).mydomain.com$ [NC,OR]\r\nRewriteCond %{HTTP_HOST} ^(.*).mydomain.com$\r\nRewriteCond %{REQUEST_URI} !web/\r\nRewriteRule (.*) /web/$1 [L]\r\n```\r\n\r\nSince I cannot change the default rootdir for apache on this shared hosting, i need to have this .htaccess\r\n\r\nAfter some investigation on the html sourcecode generated (view sourcecode in chrome), I've seen that the browser cannot access to the file:\r\n\r\n```\r\n<link rel=\"stylesheet\" href=\"/admin/_css/admin.css\">\r\n```\r\n\r\nIf access to /addmin/_css/admin.css , i get redirected to the login page.\r\n\r\nAny clue on what's happening?\r\n"},"comment":{"url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/comments/104379084","html_url":"https://github.com/javiereguiluz/EasyAdminBundle/issues/333#issuecomment-104379084","issue_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/333","id":104379084,"user":{"login":"Pierstoval","id":3369266,"avatar_url":"https://avatars.githubusercontent.com/u/3369266?v=3","gravatar_id":"","url":"https://api.github.com/users/Pierstoval","html_url":"https://github.com/Pierstoval","followers_url":"https://api.github.com/users/Pierstoval/followers","following_url":"https://api.github.com/users/Pierstoval/following{/other_user}","gists_url":"https://api.github.com/users/Pierstoval/gists{/gist_id}","starred_url":"https://api.github.com/users/Pierstoval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pierstoval/subscriptions","organizations_url":"https://api.github.com/users/Pierstoval/orgs","repos_url":"https://api.github.com/users/Pierstoval/repos","events_url":"https://api.github.com/users/Pierstoval/events{/privacy}","received_events_url":"https://api.github.com/users/Pierstoval/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T18:29:00Z","updated_at":"2015-05-21T18:29:00Z","body":"Maybe a cookie problem"}}