Helicon Ape - Social Engine

Helicon Ape provides support for Apache .htacces and .htpasswd configuration files for Microsoft IIS.
User avatar
Posts: 3
Joined: 12 Dec 2013, 17:29

Helicon Ape - Social Engine

12 Dec 2013, 17:43

I recently purchased Helicon Ape with the intention to move my SocialEngine CMS sites onto IIS8 which I prefer over Apache. That said, I am simply trying to perform a new installation of SocialEngine on IIS + Helicon Ape and I am not getting very far. Basically the first step when installing the CMS is entering your serial number. When you enter the information and click next nothing happens, the page does not proceed to the next page. When you disable halicon ape it proceeds. Also, when you go to the debugger it goes to the following page, http://install/index.php which is missing the domain. I have a feeling this has something to do with the rewrite rules possibly? There are several .htaccess files throughout the CMS so I would like to know if there is a common item that needs to be fixed to allow me to use this with helicon. Any help is greatly appreciated.

Here is the .htaccess in the root folder

<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On

# Get rid of index.php
RewriteCond %{REQUEST_URI} /index\.php
RewriteRule (.*) index.php?rewrite=2 [L,QSA]

# Rewrite all directory-looking urls
RewriteCond %{REQUEST_URI} /$
RewriteRule (.*) index.php?rewrite=1 [L,QSA]

# Try to route missing files
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} public\/ [OR]
RewriteCond %{REQUEST_FILENAME} \.(jpg|gif|png|ico|flv|htm|html|php|css|js)$
RewriteRule . - [L]

# If the file doesn't exist, rewrite to index
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?rewrite=1 [L,QSA]

_____________________________________________________
And here is the .htaccess found in the install folder

Options +FollowSymLinks
RewriteEngine On

# Get rid of index.php
RewriteCond %{REQUEST_URI} /index\.php
RewriteRule (.*) index.php?rewrite=2 [L,QSA]

# Rewrite all directory-looking urls
RewriteCond %{REQUEST_URI} /$
RewriteRule (.*) index.php?rewrite=1 [L,QSA]

# Special cases
RewriteCond %{REQUEST_URI} static
# RewriteRule (.*) Boostrap.php [L,QSA]
RewriteRule (.*) index.php?rewrite=1 [L,QSA]

# Try to route missing files
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} public\/ [OR]
RewriteCond %{REQUEST_FILENAME} \.(jpg|gif|png|ico|flv|htm|html|php|css|js)$
RewriteRule . - [L]

# If the file doesn't exist, rewrite to index
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?rewrite=1 [L,QSA]

</IfModule>

Maybe

User avatar
Posts: 3
Joined: 12 Dec 2013, 17:29

Re: Helicon Ape - Social Engine

12 Dec 2013, 18:58

After further researching this i have found several others in other forums that have indicated similar issues when going from ISAPI_Rewrite to Helicon Ape where they experience infinate loops where you click items and it just loops. That kind of sounds like what I am seeing.

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

Re: Helicon Ape - Social Engine

13 Dec 2013, 01:39

Hello,

If we are talking about the loops, than the probable solutions would be a usage of [NS]-flag. HeliconApe for technical reasons cannot function exactly the same as ISAPI_Rewrite3, so NS flag should be used in cases just like [L]-flag.

Regards
Andrew

User avatar
Posts: 3
Joined: 12 Dec 2013, 17:29

Re: Helicon Ape - Social Engine

13 Dec 2013, 12:29

Hi Andrew, I am not really familar with what I would have to do to resolve this based up on your reccomendatioons. Maybe I am not explaining this correctly however what I called loops is the fact that as soon as I enable Helicon Ape on my site all the Social Engine sites stop working properly. Basically some links do not respond, they seem to just go to the same page I am already on, and some go to a broken page such as /photos/ and are missing the domain. The correct link would have been domain.com/photos

That said, I have read several others using CMS systems that are also having similar problems when using Ape however did not have the problem using ISAPI_Rewrite. I have installed ISAPI_Rewrite and the site is now working fine. Since I already purchased an Ape server license I would either like to fix configure Ape to work like ISAP_Rewrite however if that is not possible than the next option might be to run them both? That would allow ISAPI_Rewrite to handle the rewriting and Ape to handle the caching for performance. I already have them both running however as soon as I enable Ape the sites break again. I believe there is a concept that you can run them both using a directive however I am not sure exactly the correct procedures.

Further guidance on this is appreciated.

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

Re: Helicon Ape - Social Engine

13 Dec 2013, 13:17

DO NOT RUN APE AND ISAPI_REWRITE3 AT THE SAME TIME!

The problem with having ISAPI_Rewrite3 and HeliconApe is that they use the same config files, but how does the server know which one needs to process requests? As a result they both do. It may cause a lot of trouble (please, remove ISAPI_Rewrite3. It will only add confusion). We should try to troubleshoot the issue by using the logs. Please, see the logging issues described here - http://www.helicontech.com/ape/doc/troubleshooting.htm. We need:
a. enable logging
b. run a request
c. and take a look at the rewrite.log

The logs would reveal the problem.
My recommendation was basdically to add [NS] flag to all the rules in your config.

Regards
Andrew

User avatar
Posts: 92
Joined: 01 Dec 2012, 14:22

Re: Helicon Ape - Social Engine

01 Jul 2015, 12:10

HeliconAndrew wrote:Hello,

If we are talking about the loops, than the probable solutions would be a usage of [NS]-flag. HeliconApe for technical reasons cannot function exactly the same as ISAPI_Rewrite3, so NS flag should be used in cases just like [L]-flag.

Regards
Andrew


Looking to move to Ape from ISAPI_Rewrite3, and I am slightly concerned about this statement.

Is it possible to enlarge on what the differences are? I use the NS flag quite a bit, and also the L flag - and there is a difference.

Does the L flag not function on Ape?

What is the essential difference in the way the two products function?

Return to Helicon Ape

Who is online

Users browsing this forum: No registered users and 45 guests