This forum has been moved here:
Helicon Tech Community Forum

Helicon Ape (Forum Locked Forum Locked)
 Helicon Tech : Helicon Ape
Subject Topic: iis6 to 7
Author
Message |
samharry
Newbie


Joined: 14 September 2008
Posts: 7
Posted: 15 December 2010 at 11:56am

We use this below on all of our sites in iis6. We are moving to a new server with iis7. What do I need to purchase and install on iis7. Can I by ape and still add the code below. Will this still work.

 

# Helicon ISAPI_Rewrite configuration file
# Version 3.0.0.25

#non www to www

RewriteEngine on
RewriteCond %{HTTPS} (on)?
RewriteCond %{HTTP:Host} ^(?!www\.)(.+)$ [NC]
RewriteCond %{REQUEST_URI} (.+)
RewriteRule .? http(?%1s)://www.%2%3 [R=301,L]

#301 Redirect

RewriteRule ^default\.aspx$ $1/ [NC,R=301]

#https to http

RewriteCond %{SERVER_PORT} ^443$
RewriteRule ^robots.txt$ robots_ssl.txt [NC,L]



Edited by samharry - 15 December 2010 at 11:56am
Back to Top
 
Vyacheslav
Admin Group


Joined: 02 July 2008
Location: Ukraine
Posts: 1542
Posted: 15 December 2010 at 5:12pm

Hello.
The code is ready for Helicon Ape. First you should purchase an upgrade license. Then remove ISAPI_Rewrite, install Helicon Ape and apply your new license code.

Note, this rule isn’t correct:
Code:
RewriteRule ^default\.aspx$ $1/ [NC,R=301]

$1 will be always empty because that regular expression doesn’t produce it.

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


Joined: 14 September 2008
Posts: 7
Posted: 15 December 2010 at 5:31pm

Thank you! What is the correct rule? Do I take the $1 away. I just
want to make sure google index's the domain as the home page and
not default.aspx

Edited by samharry - 15 December 2010 at 5:32pm
Back to Top
 
Vyacheslav
Admin Group


Joined: 02 July 2008
Location: Ukraine
Posts: 1542
Posted: 15 December 2010 at 7:34pm

Hello.
I’m sorry, I should’ve written the correct one:
Code:
RewriteRule ^default\.aspx$ / [NC,L,R=301]


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

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

Printable version Printable version