{"action":"created","issue":{"url":"https://api.github.com/repos/directus/directus/issues/1282","repository_url":"https://api.github.com/repos/directus/directus","labels_url":"https://api.github.com/repos/directus/directus/issues/1282/labels{/name}","comments_url":"https://api.github.com/repos/directus/directus/issues/1282/comments","events_url":"https://api.github.com/repos/directus/directus/issues/1282/events","html_url":"https://github.com/directus/directus/issues/1282","id":183256396,"number":1282,"title":"Login server error occured","user":{"login":"Ronnyrr","id":4519142,"avatar_url":"https://avatars.githubusercontent.com/u/4519142?v=3","gravatar_id":"","url":"https://api.github.com/users/Ronnyrr","html_url":"https://github.com/Ronnyrr","followers_url":"https://api.github.com/users/Ronnyrr/followers","following_url":"https://api.github.com/users/Ronnyrr/following{/other_user}","gists_url":"https://api.github.com/users/Ronnyrr/gists{/gist_id}","starred_url":"https://api.github.com/users/Ronnyrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ronnyrr/subscriptions","organizations_url":"https://api.github.com/users/Ronnyrr/orgs","repos_url":"https://api.github.com/users/Ronnyrr/repos","events_url":"https://api.github.com/users/Ronnyrr/events{/privacy}","received_events_url":"https://api.github.com/users/Ronnyrr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-10-16T08:51:49Z","updated_at":"2016-10-16T19:36:48Z","closed_at":null,"body":"## Version Info\r\n  - Directus version and branch: 6.3.4\r\n  - PHP version: 5.5.9-1ubuntu4.17\r\n  - MySQL version: Ver 14.14 Distrib 5.5.49\r\n  - Web server: Apache(2)\r\n  - OS name and version: macOS El Captain\r\n\r\n## Expected Behavior\r\nInstall Directus as a local installation.\r\nLogin using email and password.\r\n\r\n## Actual Behavior\r\nInstall Directus as a local installation.\r\nGetting error when submitting email and password. (I see in the console that there is a 404 error to the api path.)\r\n\r\n## Steps to Reproduce\r\n 1. Install a fresh installation\r\n 2. Try to log in\r\n\r\n## Logs or Screenshots\r\nSame as: https://github.com/directus/directus/issues/1239\r\n\r\n## Issue\r\nMy question is very similar to the one above, but I can't seem to fix it with the solution given in that topic. I'd a fresh install, but trying to login keeps returning a \"Server error occured\". In my root there is a .htaccess and everything else from [this file](https://github.com/directus/directus/blob/master/.htaccess):\r\n\r\n```\r\n<ifModule mod_rewrite.c>\r\n    RewriteEngine On\r\n    # Uncomment this if you are getting routing errors:\r\n    RewriteBase /\r\n</ifModule>\r\n```\r\n\r\nAlso /api/.htaccess contains everything from [the example file](https://github.com/directus/directus/blob/master/api/.htaccess) except the change I commented `RewriteBase /api` out. When I execute `a2enmod rewrite` it logs that `mod_rewrite` is allready installed. \r\n\r\nI've also tried editing the VirtualHost files. In `/etc/apache2/apache2.conf` I've configured it as shown below. As said in [the documentation](http://getdirectus.com/docs/developer/faq)  I'd add the `AllowOverride All`, but unfortunately it didn't work.\r\n\r\n```\r\n<Directory /var/www/>\r\n        Options Indexes FollowSymLinks\r\n        AllowOverride None\r\n        Require all granted\r\n</Directory>\r\n\r\n<Directory /var/www/directus/>\r\n        Options Indexes MultiViews FollowSymLinks\r\n        AllowOverride All\r\n        Order allow,deny\r\n        Allow from all\r\n        Require all granted\r\n</Directory>\r\n```\r\n\r\nThis topic https://github.com/directus/directus/issues/1038 also suggested to change `FollowSymLinks` to `SymLinksIfOwnerMatch`, but this didn't change anything.\r\n\r\nIn `/etc/apache2/sites-available/directus.conf` I do have the code as following: \r\n\r\n```\r\n<VirtualHost *:8080>\r\n    ServerName directus.DOMAIN.com\r\n    ServerAlias directus.DOMAIN.com\r\n    DocumentRoot /var/www/directus\r\n    DirectoryIndex index.php\r\n    ErrorLog ${APACHE_LOG_DIR}/error.log\r\n    CustomLog ${APACHE_LOG_DIR}/access.log combined\r\n</VirtualHost>\r\n```\r\n\r\nAfter I did some changes I always did run `sudo service apache2 restart` which logged a [OK] status. \r\n\r\nI don't know how to fix anymore.\r\nSomeone who can help me out?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/directus/directus/issues/comments/254068961","html_url":"https://github.com/directus/directus/issues/1282#issuecomment-254068961","issue_url":"https://api.github.com/repos/directus/directus/issues/1282","id":254068961,"user":{"login":"WellingGuzman","id":1531291,"avatar_url":"https://avatars.githubusercontent.com/u/1531291?v=3","gravatar_id":"","url":"https://api.github.com/users/WellingGuzman","html_url":"https://github.com/WellingGuzman","followers_url":"https://api.github.com/users/WellingGuzman/followers","following_url":"https://api.github.com/users/WellingGuzman/following{/other_user}","gists_url":"https://api.github.com/users/WellingGuzman/gists{/gist_id}","starred_url":"https://api.github.com/users/WellingGuzman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WellingGuzman/subscriptions","organizations_url":"https://api.github.com/users/WellingGuzman/orgs","repos_url":"https://api.github.com/users/WellingGuzman/repos","events_url":"https://api.github.com/users/WellingGuzman/events{/privacy}","received_events_url":"https://api.github.com/users/WellingGuzman/received_events","type":"User","site_admin":false},"created_at":"2016-10-16T19:36:48Z","updated_at":"2016-10-16T19:36:48Z","body":"Click install anyway and try to log in and tell me what's the error, this means that there's still an issue with Directus. Check the logs `/api/logs`."}}
{"actor":{"display_login":"WellingGuzman"}}