I'm trying to remove public path on lumen 5.2 on a ubuntu server 14.04 LTS
Here is my .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
I already allow mod_rewrite on my apache
also added this to my apache2.conf to allow Overrides
<Directory /var/www/html/lumen>
Options Indexes FollowSymLinks
AllowOverride all
Require all granted
</Directory>
I'm getting the error
Sorry, the page you are looking for could not be found.
But if I added the public
path to url it works. Any one having this trouble?
I'm trying to make the url from
http://www.example.com/public
to http://www.example.com/