IIS Mod-Rewrite documentation
Overview Documentation    Quick overview    Rewrite directives    Support directives       AllowOverride       AccessFilename       ErrorLog       DocumentRoot       ProxyPassReverse       ServerAdmin    Extended directives    Control center    Apache compatibility Download Purchase FAQ  
IIS Mod-Rewrite - URL rewrite tool for IIS

ErrorLog Directive

ErrorLog directive is used to specify the name of an error logfile. Any execution error or override (.htaccess) configuration parsing error is written in this logfile.

This directive can be used only once in a rewrite configuration.

Configuration context
  • per-server configurations
  • per-virtual-host configurations

ErrorLog logfile_path

It requires only one argument. logfile_path is the full path to the logfile. When you specify a logfile, make sure that the running IIS process has full access rights on this file.

If you want to disable error logging, you must either comment out or delete the LogError directive.

Download and try
IIS Mod-Rewrite

IIS rewrite

Download IIS Mod-Rewrite

Purchase IIS Mod-Rewrite