Error 500 on page access using CheckSpelling in htaccess

2

I have several files with image tags, in these images the path name is case-sensitive, for example:

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

I can not change the name of all images, because they have thousands, so I used the option CheckSpelling of .htaccess , but 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 do not know how to proceed, here is the .htaccess file:

RewriteEngine On
CheckSpelling On

I do not know how to proceed, thank you.

    
asked by anonymous 03.02.2016 / 18:08

1 answer

1

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

While CheckSpelling On is likely to be disabled, then you should enable it in the httpd.conf file, just look for a place like 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 try again.

    
03.02.2016 / 18:23