Problemas com htacces

PHP

17/07/2021

Galera, Uso o xampp e o VS code, criei um arquivo htaccess dentro da pasta publica do VS Code e coloquei o seguinte codigo

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

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at admin@example.com to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.1 Server at localhost Port 443

Como se resolve isso ?
Joao Claudio

Joao Claudio

Curtidas 0
POSTAR