{"action":"created","issue":{"url":"https://api.github.com/repos/WillyXJ/facileManager/issues/335","repository_url":"https://api.github.com/repos/WillyXJ/facileManager","labels_url":"https://api.github.com/repos/WillyXJ/facileManager/issues/335/labels{/name}","comments_url":"https://api.github.com/repos/WillyXJ/facileManager/issues/335/comments","events_url":"https://api.github.com/repos/WillyXJ/facileManager/issues/335/events","html_url":"https://github.com/WillyXJ/facileManager/issues/335","id":169869444,"number":335,"title":"required .htaccess file appears to not work issue","user":{"login":"Pierre-CHABREDIER","id":18555816,"avatar_url":"https://avatars.githubusercontent.com/u/18555816?v=3","gravatar_id":"","url":"https://api.github.com/users/Pierre-CHABREDIER","html_url":"https://github.com/Pierre-CHABREDIER","followers_url":"https://api.github.com/users/Pierre-CHABREDIER/followers","following_url":"https://api.github.com/users/Pierre-CHABREDIER/following{/other_user}","gists_url":"https://api.github.com/users/Pierre-CHABREDIER/gists{/gist_id}","starred_url":"https://api.github.com/users/Pierre-CHABREDIER/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pierre-CHABREDIER/subscriptions","organizations_url":"https://api.github.com/users/Pierre-CHABREDIER/orgs","repos_url":"https://api.github.com/users/Pierre-CHABREDIER/repos","events_url":"https://api.github.com/users/Pierre-CHABREDIER/events{/privacy}","received_events_url":"https://api.github.com/users/Pierre-CHABREDIER/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-08T08:33:14Z","updated_at":"2016-08-08T20:36:56Z","closed_at":null,"body":"Hello All, Hello WillyXJ,\r\n\r\nI upgraded my facileManager today but when I tried to go to the UI I got the following error :\r\n\r\n> The required .htaccess file appears to not work with your Apache configuration which is required by facileManager. AllowOverride None in your configuration may be blocking the use of .htaccess.\r\n\r\nBut in fact rewrite is activated and allowed (and was previously working with older facileManager version) :\r\n\r\n```root@*********:~#\r\napache2ctl -M\r\nLoaded Modules:`\r\n[...]\r\nrewrite_module (shared)\r\n[...]\r\n```\r\n```\r\nroot@*********:~# cat /etc/apache2/sites-enabled/facilemanager.conf\r\n<VirtualHost *:80>\r\n[...]\r\n        DocumentRoot /var/www/facileManager\r\n        <Directory /var/www/facileManager/>\r\n                Options -Indexes +FollowSymLinks +SymLinksIfOwnerMatch -MultiViews\r\n                AllowOverride All\r\n                Order allow,deny\r\n                allow from all\r\n        </Directory>\r\n[...]\r\n</VirtualHost>\r\n\r\n<IfModule mod_ssl.c>\r\n        <VirtualHost *:443>\r\n[...]\r\n                DocumentRoot /var/www/facileManager\r\n                <Directory /var/www/facileManager/>\r\n                        Options -Indexes +FollowSymLinks +SymLinksIfOwnerMatch -MultiViews\r\n                        AllowOverride All\r\n                        Order allow,deny\r\n                        allow from all\r\n                </Directory>\r\n[...]\r\n        </VirtualHost>\r\n</IfModule>\r\n```\r\n\r\nSo the only solution I have found is to comment rewrite tests :\r\n\r\n```\r\nroot@*********:~# vim /var/www/facileManager/fm-includes/init.php\r\n[...]\r\n        /** Test rewrites */\r\n        /*if (!defined('INSTALL')) {\r\n                if (dns_get_record($_SERVER['SERVER_NAME'], DNS_A + DNS_AAAA)) {\r\n                        $test_output = getPostData($GLOBALS['FM_URL'] . 'admin-accounts.php?verify', array('module_type' => 'CLIENT'));\r\n                        $test_output = isSerialized($test_output) ? unserialize($test_output) : $test_output;\r\n                        if (strpos($test_output, _('Account is not found.')) === false) {\r\n                                $message = sprintf(_('The required .htaccess file appears to not work with your Apache configuration which is required by %1s. '\r\n                                                . 'AllowOverride None in your configuration may be blocking the use of .htaccess.'), $fm_name);\r\n                                if ($single_check) {\r\n                                        bailOut($message);\r\n                                } else {\r\n                                        $requirement_check .= displayProgress(_('Test Rewrites'), false, 'display', $message);\r\n                                        $error = true;\r\n                                }\r\n                        } else {\r\n                                if (!$single_check) $requirement_check .= displayProgress(_('Test Rewrites'), true, 'display');\r\n                        }\r\n                }\r\n        }*/\r\n[...]\r\n```\r\n\r\nSo please can you help me to understand why rewrite tests are not working ?\r\n\r\nBest regards.\r\n\r\nPS : Sorry for my bad English."},"comment":{"url":"https://api.github.com/repos/WillyXJ/facileManager/issues/comments/238368797","html_url":"https://github.com/WillyXJ/facileManager/issues/335#issuecomment-238368797","issue_url":"https://api.github.com/repos/WillyXJ/facileManager/issues/335","id":238368797,"user":{"login":"Pierre-CHABREDIER","id":18555816,"avatar_url":"https://avatars.githubusercontent.com/u/18555816?v=3","gravatar_id":"","url":"https://api.github.com/users/Pierre-CHABREDIER","html_url":"https://github.com/Pierre-CHABREDIER","followers_url":"https://api.github.com/users/Pierre-CHABREDIER/followers","following_url":"https://api.github.com/users/Pierre-CHABREDIER/following{/other_user}","gists_url":"https://api.github.com/users/Pierre-CHABREDIER/gists{/gist_id}","starred_url":"https://api.github.com/users/Pierre-CHABREDIER/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pierre-CHABREDIER/subscriptions","organizations_url":"https://api.github.com/users/Pierre-CHABREDIER/orgs","repos_url":"https://api.github.com/users/Pierre-CHABREDIER/repos","events_url":"https://api.github.com/users/Pierre-CHABREDIER/events{/privacy}","received_events_url":"https://api.github.com/users/Pierre-CHABREDIER/received_events","type":"User","site_admin":false},"created_at":"2016-08-08T20:36:56Z","updated_at":"2016-08-08T20:36:56Z","body":"Hello,\r\n\r\nYes .htaccess is well copied. I even tried to use the old one from previous version, but I have the same error.\r\n\r\nFor Apache, there is no errors in any logs."}}
{"actor":{"display_login":"Pierre-CHABREDIER"}}