This forum has been moved here:
Helicon Tech Community Forum

Helicon Ape (Forum Locked Forum Locked)
 Helicon Tech : Helicon Ape
Subject Topic: migrating from isapi-rewrite
Author
Message |
gbdg
Groupie


Joined: 11 April 2008
Posts: 54
Posted: 09 June 2010 at 11:13pm

www.lpiracing.com runs successfully on an IIS6 server and is using rules enforced by isapi rewrite.

We are moving it to an IIS7 server and installed APE. The rules are not working.

Product images don't render here:
http://67.22.139.12/


This page thows a 404
http://67.22.139.12/viewcategories.asp

The above page should render as follows:
http://www.lpiracing.com/viewcategories.asp

Should we expect that the rules from isapi rewrite will work without revision when enforced by APE?  The rules are stored in .htaccess, as well as http.ini (as they appeared on IIS6)

Back to Top
 
Vyacheslav
Admin Group


Joined: 02 July 2008
Location: Ukraine
Posts: 1542
Posted: 10 June 2010 at 1:38am

Hello,
Please make sure there is ‘RewriteEngine on’ at the top of the .htaccess. Ape requires this.
What was your ISAPI_Rewrite version? Helicon Ape is almost compatible with ISAPI_Rewrite 3, but as you’ve mentioned httpd.ini I presume you might have used ISAPI_Rewrite 2. In this case your rules ought to be adapted.
In any case please provide me with .htaccess and httpd.ini files.
Thank you.

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


Joined: 11 April 2008
Posts: 54
Posted: 10 June 2010 at 8:13am

hi - we are running the latest version of ISAPI Rewrite.

The rules within .htaccess follow:

RewriteEngine on

#these will be re-activated after DNS transfer when we no longer use IP for site.
#RewriteCond %{HTTPS} (on)?
#RewriteCond %{HTTP:Host} ^(?!www\.)(.+)$ [NC]
#RewriteCond %{REQUEST_URI} (.+)
#RewriteRule .? http(?%1s)://www.%2%3 [R=301,L]

RewriteBase /

RewriteCond %{HTTPS} off
RewriteRule ^(images/.*|store_links/.*|catalog/.*)$ store/pc/$1 [NC,L]

RewriteCond %{HTTPS} off
RewriteRule ^(includes/.*)$ store/$1 [NC,L]

#Removes Racing-Parts Directory
RewriteCond %{HTTPS} off
RewriteRule ^racing-parts/pc/(.*)$ $1 [NC,R=301]

#Removes PC Directory
RewriteCond %{HTTPS} off
RewriteRule ^pc/(.*)$ $1 [NC,R=301]

#Makes pages with store directory to go to 404
RewriteCond %{HTTPS} off
RewriteRule ^store/pc/(.*)$ $1 [NC,R=301]

#This serves the pages back to the outside world
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^/]+)$ store/pc/$1 [NC,L]

RewriteCond %{HTTPS} on
RewriteRule ^$ http://www.lpiracing.com/ [R=301,L]

Back to Top
 
Vyacheslav
Admin Group


Joined: 02 July 2008
Location: Ukraine
Posts: 1542
Posted: 10 June 2010 at 12:50pm

Hello,
Thanks for the .htaccess.
Please open Helicon Ape Manager and in the tree on the left select the website. Click right mouse button and in the context menu select “Zip and Save configuration”. It will collect all the relevant configuration files in an archive. Please send the archive to [email protected]
I’ll analyze it and let you know what to do.
Thanks.

__________________
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