Não é possível configurar o log de reescrita
Gostaria de habilitar o log de reescrita para depurar algumas regras de reescrita que estão me dando problemas. Então eu adicionei estas linhas no final do meuhttpd.conf Arquivo:
<IfModule mod_rewrite.c>
RewriteLog "/logs/rewrite.log"
RewriteLogLevel 4
</IfModule>
A próxima coisa que fiz foi reiniciar o Apache. Isso causa um erro, no entanto, e não será iniciado. Isto é o que eu recebo no Painel de Controle do XAMPP:
13:14:56 [Apache] Error: Apache shutdown unexpectedly.
13:14:56 [Apache] This may be due to a blocked port, missing dependencies,
13:14:56 [Apache] improper privileges, a crash, or a shutdown by another method.
13:14:56 [Apache] Check the "/xampp/apache/logs/error.log" file
13:14:56 [Apache] and the Windows Event Viewer for more clues
Eu não entendo nenhuma pistaerror.log Apesar. Na verdade, nenhuma linha é gerada quando esse erro ocorre.
Eu também tentei mudar a linha RewriteLog para usar um caminho absoluto:
RewriteLog "c:\xampp\apache\logs\rewrite.log"
Podes ajudar-me, por favor?