How to remove htaccess redirect to the public folder

0

The settings for my htaccess to force SSL are as follows:

# NA PASTA RAIZ

Options -Indexes

<IfModule mod_rewrite.c> <br>
RewriteEngine on<br>
<br><br>
RewriteRule ^$ public/ [L] <br>
RewriteRule (.*) public/$1 [L]<br>
</IfModule><br>

# NA PASTA PUBLIC

RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} /
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R,L]

More when doing SSL redirect to url comes the following

https://www.meusite.com/public

or

https://www.meusite.com/public/index.php

Does anyone know how to resolve this to the folder public and index.php does not appear in url ?

    
asked by anonymous 05.03.2018 / 23:59

0 answers