Looked at previous articles here, but no luck. I just installed Laravel 5.1 through composer. I follow the official installation documentation located here . I do not use the estate, and I do not use the virtual environment. While everything is working fine, I had a problem placing the project on my web server. Although regular PHP files are hosted easily and accessible through my local host, accessing the Laravel shared folder through my local host gives me 500 internal server errors. Following the guide, my public / .htaccess file has the following contents.
Options +FollowSymLinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L]
The most recent error log entry is as follows.
[Thu Nov 19 22:25:10.012710 2015] [core:alert] [pid 6461] [client 127.0.0.1:43086] /var/www/html/blog/public/.htaccess: Options not allowed here
Regarding permissions, I have granted permissions for all files and folders in my Laravel application folder. I am running Apache / 2.4.7 (Ubuntu) and PHP 5.5.9-1ubuntu4.14 on my machine.
Please let me know if you need any other information. Any help would be greatly appreciated!
EDIT:
The issue is fixed by adding the following to apache2.conf:
<Directory /> AllowOverride All </Directory>
Thanks to everyone.
source share