This forum has been moved here:
Helicon Tech Community Forum

Helicon Ape (Forum Locked Forum Locked)
 Helicon Tech : Helicon Ape
Subject Topic: I have 3 sites. Ape works on 1 not others
Author
Message |
ratebeer
Newbie


Joined: 05 January 2005
Location: United States
Posts: 30
Posted: 20 May 2011 at 12:17am

For our primary domain Ape works fine.

I have a couple other sites on the same Windows 2008 box.
APe shows under IIS Manager > Sites > Sitename > IIS and
Ape is configured for those two sites but requests are
not being processed correctly.

I have performed multiple tests with the RegEx tool to
rule out any possibility that problem exists in the
syntax of my ReWrite rules. And the exact same rules
exist on the other site that's working.

Back to Top Visit ratebeer's Homepage
 
Vyacheslav
Admin Group


Joined: 02 July 2008
Location: Ukraine
Posts: 1542
Posted: 20 May 2011 at 5:42am

Hello.
Could you please provide the rules and non-working examples.
Thank you.

__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top Visit Vyacheslav's Homepage
 
ratebeer
Newbie


Joined: 05 January 2005
Location: United States
Posts: 30
Posted: 03 June 2011 at 7:49pm

The rules are (cut and paste) identical at both the site
where APE is working and at the site where APE is not
working.

Here is the first rule (there are hundreds)

--

# Helicon Ape version 3.0.0.61

RewriteEngine On
RewriteBase /

# mj's new rewrites
RewriteRule ^compilereviews/ratings_(.*).txt
/CompileReviews.asp

---

Hmmm... could it be that I have ratebeer.com and
www.ratebeer.com going in IIS and that counts as two
sites?! I use ratebeer.com only for redirects to www.

Ahhh, I see. It could be that my alternate port site is the
4th site not covered by APE? Do I need a web site license
for this 4th site or a server license?

(And why am I not allowed to post? I've been a member
for a long time.)
Back to Top Visit ratebeer's Homepage
 
Vyacheslav
Admin Group


Joined: 02 July 2008
Location: Ukraine
Posts: 1542
Posted: 04 June 2011 at 4:31am

Hello.
First of all please make sure all the sites use Integrated application pool. If there is Classic pool and you can’t change it to Integrated, try to run Helicon Ape Manager, select the website in the tree and click RMB, then select “Disable Helicon Ape” and then again “Enable Helicon Ape”. The manager will register the module properly.

In Helicon Ape Manager go to “Help” → “License Manager”. Make sure all 3 websites have free license enabled.

If you want to use 4th web-site, you should either purchase additional web-site license, or full server license which has no limitation on the amount of web-sites handled by Ape.

Note, with Ape you don’t need to use additional web-site to redirect non-www to www.
Simply map both domains to one website and then use the following example:
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^site\.com$ [NC]
RewriteRule (.*) http://www.site.com/$1 [R=301,L]


__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top Visit Vyacheslav's Homepage
 
ratebeer
Newbie


Joined: 05 January 2005
Location: United States
Posts: 30
Posted: 09 June 2011 at 2:29pm

Thanks so much, Slavik. That worked perfectly.
Back to Top Visit ratebeer's Homepage
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version