IIS 6 Module Doesnt Exist

Helicon Ape provides support for Apache .htacces and .htpasswd configuration files for Microsoft IIS.
User avatar
Posts: 3
Joined: 30 Jan 2015, 07:56

IIS 6 Module Doesnt Exist

30 Jan 2015, 09:11

I have installed Helicon APE in my Windows Server 2003 for testing, but when i try to load any Helicon APE module and/or configure it, just ISAPI_Rewrite is working.

Obs: I had ISAPI_Rewrite 2.x (Registered version) installed and i thought it might be the problem, i uninstalled it but still doesnt work.

I'm posting the htaccess, webconfig and error log, so you might be able to help me.

Htaccess:
Code: Select all
# Helicon Ape version 3.1.0.148

# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.88

Options +StopOnError +ShowErrorInResponse
LoadModule headers_module modules/mod_headers.so
LoadModule env_module modules/mod_env.so
RewriteLogLevel 9
LogLevel debug
RewriteEngine On
#   RequestHeader set MyRequestHeader "Hello Server!"
   Header set MyResponseHeader "Hello Client!"

#RewriteProxy (.*) http://www.helicontech.com/$1 [L]

    DOSHashTableSize    1024
    DOSPageCount        10
    DOSSiteCount        150
    DOSPageInterval     1
    DOSSiteInterval     1
    DOSBlockingPeriod   10


Web.config:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <system.web>
        <httpHandlers>
            <add path="*.apehandler" verb="*" type="Helicon.Ape.Handler, Helicon.Ape, Version=3.1.0.148, Culture=neutral, PublicKeyToken=55bfffe1b13624eb"
                validate="false" />
        </httpHandlers>
        <httpModules>
            <add name="Helicon.Ape" type="Helicon.Ape.ApeModule, Helicon.Ape, Version=3.1.0.148, Culture=neutral, PublicKeyToken=55bfffe1b13624eb" />
        </httpModules>
    </system.web>
</configuration>


Log:
Code: Select all
[2015-01-30 09:42:25.149] [LicenseManager] Server mode: Trial days left 45. (SiteId= 802894140)
[2015-01-30 09:42:25.211] [ConfigLoader] (error) [/] e:\inetpub\wwwroot\website1\.htaccess(7): Invalid command 'LoadModule headers_module modules/mod_headers.so' on line 7, perhaps misspelled or defined by a module not included in the server configuration
[2015-01-30 09:42:25.211] [ConfigLoader] (error) [/] e:\inetpub\wwwroot\website1\.htaccess(8): Invalid command 'LoadModule env_module modules/mod_env.so' on line 8, perhaps misspelled or defined by a module not included in the server configuration
[2015-01-30 09:42:25.227] [ConfigLoader] (error) [/] e:\inetpub\wwwroot\website1\.htaccess(10): Invalid command 'LogLevel debug' on line 10, perhaps misspelled or defined by a module not included in the server configuration
[2015-01-30 09:42:25.227] [ConfigLoader] (error) [/] e:\inetpub\wwwroot\website1\.htaccess(17): Invalid command 'DOSHashTableSize    1024' on line 17, perhaps misspelled or defined by a module not included in the server configuration
[2015-01-30 09:42:25.227] [ConfigLoader] (error) [/] e:\inetpub\wwwroot\website1\.htaccess(18): Invalid command 'DOSPageCount        10' on line 18, perhaps misspelled or defined by a module not included in the server configuration
[2015-01-30 09:42:25.227] [ConfigLoader] (error) [/] e:\inetpub\wwwroot\website1\.htaccess(19): Invalid command 'DOSSiteCount        150' on line 19, perhaps misspelled or defined by a module not included in the server configuration
[2015-01-30 09:42:25.227] [ConfigLoader] (error) [/] e:\inetpub\wwwroot\website1\.htaccess(20): Invalid command 'DOSPageInterval     1' on line 20, perhaps misspelled or defined by a module not included in the server configuration
[2015-01-30 09:42:25.227] [ConfigLoader] (error) [/] e:\inetpub\wwwroot\website1\.htaccess(21): Invalid command 'DOSSiteInterval     1' on line 21, perhaps misspelled or defined by a module not included in the server configuration
[2015-01-30 09:42:25.227] [ConfigLoader] (error) [/] e:\inetpub\wwwroot\website1\.htaccess(22): Invalid command 'DOSBlockingPeriod   10' on line 22, perhaps misspelled or defined by a module not included in the server configuration
[2015-01-30 09:42:25.258] [headers_module] (error) [/] Functionality is not available under IIS6


User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: IIS 6 Module Doesnt Exist

30 Jan 2015, 11:06

Hello,

Ape is originally designed to work with IIS7 and higher, so it works with serious limitations on IIS6.
See the chart here: http://www.helicontech.com/ape/doc/compatibility.htm
Also, please make sure you have set a Wildcard mapping in IIS to make Ape working correctly: see corresponding chapter here http://www.helicontech.com/articles/usi ... rver-2003/

User avatar
Posts: 3
Joined: 30 Jan 2015, 07:56

Re: IIS 6 Module Doesnt Exist

02 Feb 2015, 09:50

Hello,

Wildcard mapping have been set in IIS but still doesnt work evasive module. What else i can do ?

Htaccess:
Code: Select all
# Helicon Ape version 3.1.0.148

# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.88

Options +StopOnError +ShowErrorInResponse

RewriteEngine On
Header append Server "enhanced by Helicon Ape/3.0"
#   RequestHeader set MyRequestHeader "Hello Server!"
Header set MyResponseHeader "Hello Client!"
#RewriteProxy (.*) http://www.helicontech.com/$1 [L]

<IfModule evasive_module>
   DOSPageCount 10
   DOSSiteCount 150
   DOSPageInterval 1
   DOSSiteInterval 1
   DOSBlockingPeriod 10
</IfModule>


LogError:
Code: Select all
[2015-02-02 10:49:11.451] [headers_module] (error) [/] Functionality is not available under IIS6
[2015-02-02 10:49:11.451] [ConfigLoader] (error) [/] e:\inetpub\wwwroot\website1\.htaccess(15): Invalid command 'DOSPageCount 10' on line 15, perhaps misspelled or defined by a module not included in the server configuration
[2015-02-02 10:49:11.451] [ConfigLoader] (error) [/] e:\inetpub\wwwroot\website1\.htaccess(16): Invalid command 'DOSSiteCount 150' on line 16, perhaps misspelled or defined by a module not included in the server configuration
[2015-02-02 10:49:11.451] [ConfigLoader] (error) [/] e:\inetpub\wwwroot\website1\.htaccess(17): Invalid command 'DOSPageInterval 1' on line 17, perhaps misspelled or defined by a module not included in the server configuration
[2015-02-02 10:49:11.451] [ConfigLoader] (error) [/] e:\inetpub\wwwroot\website1\.htaccess(18): Invalid command 'DOSSiteInterval 1' on line 18, perhaps misspelled or defined by a module not included in the server configuration
[2015-02-02 10:49:11.451] [ConfigLoader] (error) [/] e:\inetpub\wwwroot\website1\.htaccess(19): Invalid command 'DOSBlockingPeriod 10' on line 19, perhaps misspelled or defined by a module not included in the server configuration
[2015-02-02 10:49:11.451] [headers_module] (error) [/] Functionality is not available under IIS6

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: IIS 6 Module Doesnt Exist

02 Feb 2015, 11:13

Hello,

Please notice that mod_evasive commands can only be used in httpd.conf or <VirualHost>:

http://www.helicontech.com/ape/doc/mod_evasive.htm

Return to Helicon Ape

Who is online

Users browsing this forum: No registered users and 21 guests