1
I am trying to install a script on local host, but the following error appears:
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@localhost 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.
I believe the error is caused by the file . htaccess, I just don’t know how to modify it.
.htaccess:
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]
Try removing . htaccess to see if it works (back up first). You can cite the Apache error.log?
– wdarking
Yes, I have already deleted the . htaccess file, but the site gets unformatted and loses its functionality.
– user54225