Doubt with htaccess (local X hosting)

1

Hello, I'm doing a project and I've been adding it online to do a test, locally everything works, I have my ".htaccess" like this:

Options All -Indexes

RewriteEngine On
RewriteRule ^([-a-zA-Z0-9]+)$ index.php?ruta=$1

On the server the pages are not being found, I'm using this way down, thanks for the help:

Options All -Indexes
RewriteEngine On
RewriteCond %{HTTP_HOST} ^meusite.com.br$ [NC,OR] 
RewriteCond %{HTTP_HOST} ^www.meusite.com.br$
RewriteCond %{REQUEST_URI} !pastadosite/
RewriteRule ^([-a-zA-Z0-9]+)$ index.php?ruta=$1
    
asked by anonymous 08.03.2018 / 19:01

0 answers