This forum has been moved here:
Helicon Tech Community Forum

Helicon Ape (Forum Locked Forum Locked)
 Helicon Tech : Helicon Ape
Subject Topic: Migration from ISAPIRewrite2.7 to APE
Author
Message |
M.Serg
Newbie


Joined: 21 September 2009
Location: Ukraine
Posts: 15
Posted: 05 July 2010 at 8:41am

Client of us decided to migrate from shared hosting with ISAPIRewrite 2.7 to new dedicated server with Windows 2008 and set up APE there.
We changed rules in correspondence of syntax ISAPIRewrite 3 but it doesn't work on APE. Where is the mistake(s)?
Code:

RewriteEngine On
RewriteCompatibility2 On
RepeatLimit 200
RewriteBase /

# 1.disable isapi-processing for service directories
RewriteRule ^/admin.*$ $0 [NC,L]

# 2.translate some urls
RewriteRule ^/videos.?$ /videos.cfm [NC,L]

RewriteRule ^/([^/]+)/video.*$ /lecture.cfm\?groupname=$1 [NC,L]

#3.topics
RewriteRule ^/der-vid.?$ /topic.cfm\?topicID=28

RewriteRule ^/A-.?S /moduleIndex.cfm\?moduleID=1 [NC,L]

RewriteCond %{REQUEST_URI} ^(?!.*\.gif).+$
RewriteCond %{REQUEST_URI} ^(?!.*\.jpg).+$
RewriteRule ^/([^/]+).*$ /thumbnailIndex.cfm\?groupname=$1 [NC,L]

Back to Top
 
Vyacheslav
Admin Group


Joined: 02 July 2008
Location: Ukraine
Posts: 1542
Posted: 06 July 2010 at 3:48am

Hello,
Please try the following code:
Code:
RewriteEngine On
RewriteBase /

# 1.disable isapi-processing for service directories
RewriteRule ^admin.*$ - [NC,L]

# 2.translate some urls
RewriteRule ^videos.?$ /videos.cfm [NC,L]

RewriteRule ^([^/]+)/video.*$ /lecture.cfm\?groupname=$1 [NC,L]

#3.topics
RewriteRule ^der-vid.?$ /topic.cfm\?topicID=28 [NC,L]

RewriteRule ^A-.?S /moduleIndex.cfm\?moduleID=1 [NC,L]

RewriteCond %{REQUEST_URI} ^(?!.*\.gif).+$ [NC]
RewriteCond %{REQUEST_URI} ^(?!.*\.jpg).+$ [NC]
RewriteRule ^([^/]+).*$ /thumbnailIndex.cfm\?groupname=$1 [NC,L]


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


Joined: 21 September 2009
Location: Ukraine
Posts: 15
Posted: 06 July 2010 at 6:10am

Hello Vyacheslav
Unfortunately such variant return error:
The service is unavailable.

Server Error


Either the Macromedia application server(s) are unreachable or none of them has a mapping to process this request.
Original variants or Rules for 2.7
Code:

 [ISAPI_Rewrite]

# 1.disable isapi-processing for service directories
   RewriteRule /admin.* $0 [I,L]
# 2. translate some urls
   RewriteRule /D-P-S-D-pictures.? /menuCasePhotos.cfm [I,L]
   RewriteRule /videos.? /videos.cfm [I,L]
   RewriteRule /index\.html /index.cfm [I,L,RP]

   RewriteRule /([^/]+)/photos/(\d+).* /thumbnailIndex.cfm\?groupname=$1&pageNum=$2 [I,L]
   RewriteRule /([^/]+)/video.* /lecture.cfm\?groupname=$1 [I,L]

   RewriteRule /der-vid.? /topic.cfm\?topicID=28

   RewriteRule /A-P.? /moduleIndex.cfm\?moduleID=1 [I,L]
   RewriteCond URL (?!.*\.gif).+
   RewriteCond URL (?!.*\.jpg).+
   RewriteRule /([^/]+).* /thumbnailIndex.cfm\?groupname=$1 [I,L]

Back to Top
 
Vyacheslav
Admin Group


Joined: 02 July 2008
Location: Ukraine
Posts: 1542
Posted: 06 July 2010 at 7:42am

Hello,
Please comment out all the rules and leave this:
Code:
RewriteEngine on
RewriteRule .? - [G]


You will see “Gone” response if Ape works OK. Otherwise please run Helicon Ape Manager, click right mouse button on the website in the right-side tree and select “Zip and Save...”. An archive will be generated. Please send the archive over E-Mail to [email protected] I’ll examine it and let you know what to do.
Thanks.

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


Joined: 21 September 2009
Location: Ukraine
Posts: 15
Posted: 06 July 2010 at 11:09am

Vyacheslav wrote:

Code:
RewriteEngine on
RewriteRule .? - [G]


Using .htaccess above I receive follow result
"The page you requested was removed."
So everything seems OK?


Edited by M.Serg - 06 July 2010 at 11:25am
Back to Top
 
Vyacheslav
Admin Group


Joined: 02 July 2008
Location: Ukraine
Posts: 1542
Posted: 07 July 2010 at 4:53am

Hello,
I’m not sure. Please send me everything I’ve mentioned anyway.
Thanks.

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


Joined: 21 September 2009
Location: Ukraine
Posts: 15
Posted: 07 July 2010 at 6:26am

Unfortunately there is no "Zip and Save..."function in the right-side column if run APE manager via IIS7 manager. So I sent a letter with httpd.conf, also attach old httpd.ini that works perfect on shared server and .htaccess that we created and show correct only first page.
Back to Top
 
Vyacheslav
Admin Group


Joined: 02 July 2008
Location: Ukraine
Posts: 1542
Posted: 07 July 2010 at 7:52am

Hello,
Thanks, but please run Helicon Ape Manager not via IIS manager and run “Zip and Save” function. The function additionally picks applicationHost.config and web.config files, which are needed.

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


Joined: 21 September 2009
Location: Ukraine
Posts: 15
Posted: 07 July 2010 at 8:16am

Hello Vyacheslav
Unfortunately I don't have access to remote desktop and can run 
Helicon Ape Manager only via IIS7 manager. Any other way to receive necessary files?
Back to Top
 
Vyacheslav
Admin Group


Joined: 02 July 2008
Location: Ukraine
Posts: 1542
Posted: 07 July 2010 at 2:49pm

Hello,
httpd.conf you may get from Helicon Ape installation folder, and please also send us C:\Windows\System32\inetsrv\config\applicationHost.config.
Thanks.

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


Joined: 21 September 2009
Location: Ukraine
Posts: 15
Posted: 08 July 2010 at 5:55am

Hello Vyacheslav
I've just sent both files
httpd.conf and applicationHost.config.Please answer As soon as you can.
Thanks
Back to Top
 

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

Printable version Printable version