Problems with IIS 7.5

Helicon Ape provides support for Apache .htacces and .htpasswd configuration files for Microsoft IIS.
User avatar
Posts: 6
Joined: 09 Jan 2013, 08:51

Problems with IIS 7.5

09 Jan 2013, 08:58

Hi there

We have been struggling some time now with Ape. We are running:

IIS 7.5 - Windows 2008
Ape Version 3.0.0.76
Licence: Server-wide license (We bought license last yesr)

Software is installed correctly, we are using ape manager and testing it on one site but we cant get it to work.

The simple code we are testing with on the specific site:

RewriteEngine On
RewriteRule default\.htm default.asp [NC]

Global config file:

# Helicon Ape version 3.0.0.76

# Helicon Ape core configuration

#Automatically generated license file
Include licenses.conf

##----------------------------------------------------------------------
##
## The following code enables most detailed logging for Ape
##

Loglevel debug
ErrorLog error.log

#force Ape to ignore syntax errors in config
Options -StopOnError

##----------------------------------------------------------------------
##
## Read more about supported modules here http://www.helicontech.com/ape/doc/overview.htm
##

LoadModule authz_host_module modules/mod_authz_host.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule authn_dbd_module modules/mod_authn_dbd.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule asis_module modules/mod_asis.so
LoadModule cache_module modules/mod_cache.so
LoadModule dbd_module modules/mod_dbd.so
LoadModule dbd_exec_module modules/mod_dbd_exec.so
LoadModule dir_module modules/mod_dir.so
LoadModule disk_cache_module modules/mod_mem_cache.so
LoadModule developer_module modules/mod_developer.so
LoadModule env_module modules/mod_env.so
LoadModule expires_module modules/mod_expires.so
LoadModule filter_module modules/mod_filter.so
LoadModule gzip_module modules/mod_gzip.so
LoadModule headers_module modules/mod_headers.so
LoadModule hotlink_module modules/mod_hotlink.so
LoadModule linkfreeze_module modules/mod_linkfreeze.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so
LoadModule mem_cache_module modules/mod_mem_cache.so
LoadModule mime_module modules/mod_mime.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule replace_module modules/mod_replace.so
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule speling_module modules/mod_speling.so
LoadModule seo_module modules/mod_seo.so
LoadModule xsendfile_module modules/mod_xsendfile.so


##----------------------------------------------------------------------
##
## The following code enables most detailed logging for mod_rewrite
##

RewriteLog rewrite.log
RewriteLogLevel 9

We can see you have a beta for IIS 7.5, does the current APE version not work on IIS 7

Thank you in advance.

Best regards

User avatar
Posts: 6
Joined: 09 Jan 2013, 08:51

Re: Problems with IIS 7.5

09 Jan 2013, 09:12

Ok, we have now come close to a solution, apperently ape only works on the default site on our server.

How come when we have bought a serverlicense ?

Best regards

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: Problems with IIS 7.5

09 Jan 2013, 10:40

There can be several reasons.. lets eliminate the first one - license. Please, tell me the name of a person/company your license is registered to and I'll tell you if it's server- or site-wide license.

Secondly, please, make sure your Ape is registered and is not enabled only for 1 site. To do so go to the Ape Manager and click "Help" --> "License Manager".

There can also be some additional issues. To check them - see the error.log and rewrite.log in the Ape's installation folder. I can see that you have logging enabled, which means your logs are cumbersome, so firstly, please clean the files, save them and run the testing request.

Hope this will help to resolve the issue faster.

regards
Andrew

User avatar
Posts: 6
Joined: 09 Jan 2013, 08:51

Re: Problems with IIS 7.5

10 Jan 2013, 07:09

Hi Andrew

We bought the license 24/10 2010 - Lars Ancker, when I go into License manager, it says Server-wide License.

When we go in to License manager, it only says its a serve-wide license, there are no possiblites to select any websites that should be enabled.

We have check the error log and it says:

[10-01-2013 11:04:26] [LicenseManager] Credentials for Lars Ancker are valid
[10-01-2013 11:04:26] [cache_module] items stored in the cache: 0; bytes available for the cache: 1774190592, physical memory limit: 99%

Licenses.conf says:

# DO NOT EDIT! THIS FILE IS AUTOMATICALLY GENERATED!

# Free sites
# Server-wide license
RegistrationName= Lars Ancker
RegistrationCode= XXXXX-XXXXX-XXXXX-XXXXX (Hidden)
FreeSites id#1

Hope this can help some more to clarify our problem

Best Regards/ Thomas

User avatar
Posts: 6
Joined: 09 Jan 2013, 08:51

Re: Problems with IIS 7.5

10 Jan 2013, 11:44

Hello

Have done some more research and I think I have found the problem.

Default website is under the app pool default, Ape works fine with the default web site.

RewriteEngine On
RewriteRule default\.htm default.asp [NC]

All other sites are placed in other app pools and does not work. As a test I took another site and placed it in default app pool and now it worked.

Is it a bug or have we misconfed something ?

Thank you in advance

Best regards

User avatar
Posts: 17
Joined: 19 Dec 2012, 17:12

Re: Problems with IIS 7.5

10 Jan 2013, 12:45

Hello,

We have the same problem here with iis 7.5 (Windows 2008 R2)

Our Ape won't work with any sites if the site runs with its own application pool. WSP creates application pool on a per site base with his own user. I think, this is the problem.

- The license is okay.
- The rewrite log is empty.

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: Problems with IIS 7.5

10 Jan 2013, 16:50

Hello,

This can be related to the type of the app pool. We recommend integrated pipeline. However if you need to use classic one, please try to disable and then again enable Helicon Ape for the web-site, using Helicon Ape manager. When you do that the manager registers Helicon Ape specifically for classic pipeline.

Regards
Andrew

User avatar
Posts: 6
Joined: 09 Jan 2013, 08:51

Re: Problems with IIS 7.5

10 Jan 2013, 17:17

Hi there

Thanks for reply, the default app pool was actually running integrated pipeline but discovered that .net framework version in the app. pool was set to No managed code, changed it 2 4.0 and works fine now thanks. Solved the case, have a nice eve and thanks for great support.

Cheers/ Thomas

User avatar
Posts: 17
Joined: 19 Dec 2012, 17:12

Re: Problems with IIS 7.5

10 Jan 2013, 22:29

The application pool is already set .NET 4.0 integrated pipeline. So, this correct.
Disabling and reenabling was done, but it didn't work out.

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: Problems with IIS 7.5

11 Jan 2013, 21:39

swissmerlin wrote:The application pool is already set .NET 4.0 integrated pipeline. So, this correct.
Disabling and reenabling was done, but it didn't work out.


What does your error.log says? registration?

User avatar
Posts: 17
Joined: 19 Dec 2012, 17:12

Re: Problems with IIS 7.5

12 Jan 2013, 09:18

It says that the license is valid and i have this in the error log:

[12.01.2013 12:36:16] [cache_module] items stored in the cache: 0; bytes available for the cache: 2573274316, physical memory limit: 98%
[12.01.2013 12:36:16] [mod_core_context] (8) [/] ConfigFactory.LoadHtaccess:

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: Problems with IIS 7.5

13 Jan 2013, 12:02

Please, contact Helicon using email or helpdesk. they will assign the time for online meeting and will help to resolve this.

Regards
Andrew

Return to Helicon Ape

Who is online

Users browsing this forum: No registered users and 2 guests