0
My ". htaccess" is like this:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
RewriteCond %{HTTP_HOST} !^$
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTPS}s ^on(s)|
RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
it is in the main directory, if I delete this file the site works on localhost, but without formatting and functionalities, with the .htaccess
message appears:
Internal Server Error
The server encountered an internal or wrong error and could not complete its solicitation.
Contact the server administrator in admin @localhost to inform them of the time this error occurred, and the actions you executed immediately prior to this error.
More information about this error may be available in the error log server.
someone knows how to solve?
What was in the server log regarding the error?
– Bacco