Hey there, I am trying to use a custom .htaccess file but everytime I put it inside my root directory I get the following error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@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.
This is how my file looks like:
ErrorDocument 404 /404.html
And this is 404.html:
<!doctype html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Error 404</title> </head> <body></body> </html>