can't enable rewrite log

Helicon Ape provides support for Apache .htacces and .htpasswd configuration files for Microsoft IIS.
User avatar
Posts: 16
Joined: 22 Apr 2015, 18:41

can't enable rewrite log

29 Jun 2016, 14:34

Hi All,

We have trouble to enable detail log in Helicon APE.

In the Httpd.conf, we have already added,

Loglevel debug
ErrorLog error.log
RewriteLog rewrite.log

And in the .htaccess, we added

RewriteLogLevel 9

But rewrite.log is still empty.

Can you help us to enable the detail log?

PS: we have both Helicon Rewrite and APE running together. Can you do that or we need to migrate Rewrite to APE?

Thank you!

User avatar
Posts: 402
Joined: 06 Mar 2012, 11:59

Re: can't enable rewrite log

30 Jun 2016, 07:23

Hello.

1. Log is probably not written because of insufficient NTFS permissions. With new builds of Ape log rotation has been introduced. Please use only log level directives without specifying exact log location, in this case logs will be written into /logs/ folder under Ape installation, which already has required permissions for IIS_IUSRS:

Code: Select all
Loglevel debug
RewriteLogLevel 9


2. Having both ISAPI_Rewrite and Ape is possible, although redundant. Ape already includes mod_rewrite module that surpasses ISAPI_Rewrite by features and uses similar syntax. Both products will load .htaccess files as their configurations, which sometimes may lead to issues as rewrite rules may be applied twice. However Ape in conformance to Apache does require "RewriteEngine On" directive in .htaccess file to activate rewriting engine and in ISAPI_Rewrite rewriting engine is always on, so if you decide to keep ISAPI_Rewrite installed, just make sure you removed "RewriteEngine On" from .htaccess so Ape will not try to process rewrite rules.

Return to Helicon Ape

Who is online

Users browsing this forum: No registered users and 3 guests