500 | SERVER ERROR on Localhost XAMPP code example
Example: xampp 500 internal server error
Try editing this part in your httpd.conf and set AllowOverride All
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride All
Or try this:
<Directory />
AllowOverride All
</Directory>