Good afternoon, I have a system created with Laravel 5.5 and I need to upload it with Xampp . If I access via Url the public directory of Laravel , it works, however I need access to the root of the project. I created a .htaccess and redirected however when trying to access I get error 403, access is denied.
I mounted .htaccess as follows:
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews -Indexes
</IfModule>
RewriteEngine On
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ /sistemaLaravel/index.php [L]
There are some projects in Java and PHP hosted within that xampp in htdocs and they work perfectly. Thankful.