Laravel system deploy in Xampp

0

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.

    
asked by anonymous 25.01.2018 / 19:32

1 answer

0

Tested like this:

<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
    Options -MultiViews
</IfModule>

Options +FollowSymLinks
RewriteEngine On
RewriteBase /sistemaLaravel

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]

    
25.01.2018 / 23:32