Error 500 while accessing page using Checkspelling in htaccess

Asked

Viewed 3,205 times

2

I have several files with image tags, in these images the name of the path has uppercase and lowercase letters, for example:

<img src="../../imagens/Botoes/nomeBotao.PNG">

It is not possible to change the name of all images, because they have thousands, so I used the option CheckSpelling of .htaccess only that if I put this option in xampp, the following error occurs:

Erro interno do Servidor!

O servidor encontrou um erro interno e não foi possível completar sua requisição. O servidor está sobrecarregado ou existe um erro em um script CGI.

Se você acredita ter encontrado um problema no servidor, por favor entre em contato com o webmaster.

Error 500

localhost
Apache/2.4.12 (Win32) OpenSSL/1.0.1m PHP/5.5.27

I don’t know how to proceed, follow the file . htaccess:

RewriteEngine On
CheckSpelling On

I don’t know how to proceed, thank you.

  • Good afternoon Furlan, enter the content of htaccess. LEIA: http://answall.com/help/mcve - Take it as a constructive criticism. As soon as you post . htaccess content I promise to reply

  • Thank you for answering @Guilhermenascimento , is already added the question the code of . htaccess

1 answer

1


The RewriteEngine On is used to mod_rewrite, but there is nothing written, ie it seems to do nothing, so remove.

Already the CheckSpelling On is likely to be disabled, so you should enable it in the file httpd.conf, just look for a place similar to this:

LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule status_module modules/mod_status.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so

And add after them this:

LoadModule speling_module modules/mod_speling.so

Then restart Apache (Xampp) and test again.

  • 1

    Thanks @Guilherme worked perfectly!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.