problem with /go rewite

asked Sep 23, 2015 by vakarelov (140 points)
Hi, I have a problem with the /go path after successful installation.
This is on a private test server on Apache version 2.4.7 with MySQL version 5.5.44. All PHP modules are working. rewrite is enabled. The server is not accessible outside the local network. I have full control over it.

The .htaccess file is set up correctly. I have added the error.log code suggested in similar posts and the error.log is writable. No errors are reported. Any suggestions will be helpful.

1 Answer

answered Sep 24, 2015 by Pavel.g (4,600 points)
Hello.
Please, provide us your versions of PHP and output phpinfo configuration.

Thank you.
commented Sep 24, 2015 by vakarelov (140 points)
commented Sep 25, 2015 by Pavel.g (4,600 points)
Hello.
Please show yet the contents of files .ntaccess, vhosts and apache configuration.
commented Sep 25, 2015 by vakarelov (140 points)
I found the problem by examining carefully the apache2.conf. I discovered the following (new) default setting:
<Directory /var/www/>
    Options Indexes FollowSymLinks
    AllowOverride None
    Require all granted
</Directory>

No wonder it didn't work. This makes apache ignore all .htaccess files.   

I changed to: AllowOverride All

Now it works!
...