Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
Helicon Ape
 Helicon Tech : Helicon Ape
Subject Topic: APE + IIS7 + ZENCART + URL REWRITE Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Glennzo
Newbie
Newbie


Joined: 24 February 2010
Location: United Kingdom
Online Status: Offline
Posts: 6
Posted: 24 February 2010 at 6:05am | IP Logged Quote Glennzo

Hiya,

Ape looks like the product that could solve my problem however I cant get it to work. My .htaccess is like this -

#### BOF SSU

Options +FollowSymLinks -MultiViews

RewriteEngine On

# Make sure to change "test_site" to the subfolder you install ZC. If you use root folder, change to: RewriteBase /

RewriteBase /

# Deny access from .htaccess

RewriteRule ^\.htaccess$ - [F]

RewriteCond %{SCRIPT_FILENAME} -f [OR]

RewriteCond %{SCRIPT_FILENAME} -d

RewriteRule .* - [L]

RewriteRule ^(.+) index.php?/$1 [E=VAR1:$1,QSA,L]

#### EOF SSU

 

Im trying to get Simple SEO Manager to work (This is a module that re-writes urls for the benefit of the search engine) but it doesnt seem to work in IIS due to  RewriteBase / not being supported in IIS (im importing the .htaccess rules via the iis control panel url re-write)

 

Can you give me any pointers? Ive tried both classic and integrated mode.

 

G



__________________
Safe yo!
Back to Top View Glennzo's Profile Search for other posts by Glennzo Visit Glennzo's Homepage
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10489
Posted: 24 February 2010 at 6:29am | IP Logged Quote Anton

Why are you talking about Ape and URL Rewrite at a time. Could you please explain what result you are trying to achive.
What requests do you need to handle and in what way?
Also please enable logging in httpd.conf and provide rewrite and error logs records for the specific non-working request.

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
Glennzo
Newbie
Newbie


Joined: 24 February 2010
Location: United Kingdom
Online Status: Offline
Posts: 6
Posted: 24 February 2010 at 6:32am | IP Logged Quote Glennzo

Can I also add that I probably didnt explain things very well. Im not using IIS to import rules from .htaccess (it cant!) now Im hoping APE will do the job. If anything it just stops my zen cart from working

as I said, Ive tried classic and integrated mode but I get a 500 error or 503 error depending on what I do.

 

Disable APE and my zen cart works again! I dont mind paying for full product if I can get this to work!



__________________
Safe yo!
Back to Top View Glennzo's Profile Search for other posts by Glennzo Visit Glennzo's Homepage
 
Glennzo
Newbie
Newbie


Joined: 24 February 2010
Location: United Kingdom
Online Status: Offline
Posts: 6
Posted: 24 February 2010 at 6:33am | IP Logged Quote Glennzo

Anton wrote:
Why are you talking about Ape and URL Rewrite at a time. Could you please explain what result you are trying to achive.
What requests do you need to handle and in what way?
Also please enable logging in httpd.conf and provide rewrite and error logs records for the specific non-working request.

 

OK I will do this now.



__________________
Safe yo!
Back to Top View Glennzo's Profile Search for other posts by Glennzo Visit Glennzo's Homepage
 
Glennzo
Newbie
Newbie


Joined: 24 February 2010
Location: United Kingdom
Online Status: Offline
Posts: 6
Posted: 24 February 2010 at 6:49am | IP Logged Quote Glennzo

Hi Anton.

 

I cant find httpd.conf on my windows server. Im running PHP as a service and my site is working in IIS (running php).

 

Where do I look for this?

 

G



__________________
Safe yo!
Back to Top View Glennzo's Profile Search for other posts by Glennzo Visit Glennzo's Homepage
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10489
Posted: 24 February 2010 at 8:29am | IP Logged Quote Anton

If you have Ape installed, open Ape Manager and click on the site tree root. You'll have httpd.conf on the right.
Please put logging directives into it, then make a request and provide the logs records.

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
Glennzo
Newbie
Newbie


Joined: 24 February 2010
Location: United Kingdom
Online Status: Offline
Posts: 6
Posted: 24 February 2010 at 10:09am | IP Logged Quote Glennzo

Hiya,

Ive looked in programs (x86)\helicon and I found two log files - one empty and one that says errorlog and one that says rewrite.log

 

rewrite.log is empty and error log says [24/02/2010 10:55:09] [LicenseManager] Site with id=1 is working with free license
 about 30 times.

 

Sorry if this is like pulling teeth ;)

 

G



__________________
Safe yo!
Back to Top View Glennzo's Profile Search for other posts by Glennzo Visit Glennzo's Homepage
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10489
Posted: 25 February 2010 at 4:53am | IP Logged Quote Anton

Ok, now can you put the following rule in the .htaccess for your site:

RewriteBase /
RewriteRule ^test$ - [F]

Save changes. Make request to www.yoursite.com/test. If you get 403 Forbidden error, Ape is working fine. If it's another result, please
report and we'll continue investigation.

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
Glennzo
Newbie
Newbie


Joined: 24 February 2010
Location: United Kingdom
Online Status: Offline
Posts: 6
Posted: 25 February 2010 at 6:32am | IP Logged Quote Glennzo

Hiya Anton thanks for the reply.

My .htacess now looks like this : -

#### BOF SSU
Options +FollowSymLinks -MultiViews
RewriteEngine On
# Make sure to change "test_site" to the subfolder you install ZC. If you use root folder, change to: RewriteBase /
RewriteBase /
RewriteRule ^test$ - [F]


RewriteCond %{SCRIPT_FILENAME} -f [OR]
RewriteCond %{SCRIPT_FILENAME} -d
RewriteRule .* - [L]

RewriteRule ^(.+) index.php?/$1 [E=VAR1:$1,QSA,L]
#### EOF SSU

 

So with IIS in integrated mode I get (after a long pause) :-

Internet Explorer cannot display the webpage

With IIS in classic mode my website works but the ape manager says - 'the application works in the application pool running not in integrated mode'

Can you tell me which is right?

Thanks,

 

G



Edited by Glennzo - 25 February 2010 at 6:33am


__________________
Safe yo!
Back to Top View Glennzo's Profile Search for other posts by Glennzo Visit Glennzo's Homepage
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10489
Posted: 25 February 2010 at 8:11am | IP Logged Quote Anton

For Ape to work correctly integrated mode is required.
Have you got anything in rewrite.log after request to www.site.com/test?
BTW, please check permissions for the site root with the .htaccess, for the .htaccess itself and for the Ape installation dir.

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You can vote in polls in this forum