.htaccess file invalid
-
Hello, I am having a problem with my site. It just shows me a error 500. If i look into the logs i get this:
[Thu Jan 20 14:30:29.671068 2022] [core:alert] [pid 16214:tid 139735167080192] [client myip:50846] /var/www/html/.htaccess: Invalid command 'RewriteRule', perhaps misspelled or defined by a module not included in the server configuration, referer: https://myip/
Heres my .htaccess:# BEGIN WordPress #RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘.htaccess file invalid’ is closed to new replies.