Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
Helicon Ape
 Helicon Tech : Helicon Ape
Subject Topic: How do I get HTTP_X_REWRITE_URL using ape Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
joegass
Newbie
Newbie


Joined: 02 May 2008
Online Status: Offline
Posts: 8
Posted: 26 August 2010 at 11:49am | IP Logged Quote joegass

I'm testing ape as I can't get isapi rewrite to work on
windows server 2008 r2
The rewrite works but I can't access the server variable
HTTP_X_REWRITE_URL as I did with isapi rewite.

Is there a way to enable this?

Thanks a lot
Back to Top View joegass's Profile Search for other posts by joegass Visit joegass's Homepage
 
Vyacheslav
Admin Group
Admin Group


Joined: 02 July 2008
Location: Ukraine
Online Status: Offline
Posts: 1535
Posted: 26 August 2010 at 1:28pm | IP Logged Quote Vyacheslav

Hello,
Please enable mod_setenvif in httpd.conf and try this code:
Code:
SetEnvIf %{REQUEST_URI} (.*) HTTP_X_REWRITE_URL=$1


__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top View Vyacheslav's Profile Search for other posts by Vyacheslav Visit Vyacheslav's Homepage
 
joegass
Newbie
Newbie


Joined: 02 May 2008
Online Status: Offline
Posts: 8
Posted: 27 August 2010 at 6:45am | IP Logged Quote joegass

Thanks for your reply.

I've added that line to be bottom of httpd.conf

and mod_setenvif is being loaded using LoadModule

Then restarted the webserver.

When looking at the server variables collection it still
isn't there.

Any ideas why this isn't working?

Thanks
Back to Top View joegass's Profile Search for other posts by joegass Visit joegass's Homepage
 
Vyacheslav
Admin Group
Admin Group


Joined: 02 July 2008
Location: Ukraine
Online Status: Offline
Posts: 1535
Posted: 27 August 2010 at 9:10am | IP Logged Quote Vyacheslav

Hello,
Please make sure application pool isn’t run in classic pipeline.
Thanks.

__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top View Vyacheslav's Profile Search for other posts by Vyacheslav Visit Vyacheslav's Homepage
 
joegass
Newbie
Newbie


Joined: 02 May 2008
Online Status: Offline
Posts: 8
Posted: 31 August 2010 at 6:30am | IP Logged Quote joegass

The app is running in classic mode, so that was the
problem.
Couldn't get the app to run in integrated, so we're
reverted to isapi-rewrite.
Thanks
Back to Top View joegass's Profile Search for other posts by joegass Visit joegass's Homepage
 
Kurisotofa
Newbie
Newbie


Joined: 06 September 2010
Location: Belgium
Online Status: Offline
Posts: 5
Posted: 20 September 2010 at 6:01am | IP Logged Quote Kurisotofa

I have the same problem after having installed APE with IIS6 on our Win 2003 server!
Any ideas to solve this?

I have setenvif_module enabled, and added the rule "SetEnvIf %{REQUEST_URI} (.*) HTTP_X_REWRITE_URL=$1" to our httpd.conf file.

Since we're using IIS6, I have no way to specify my application pool in integrated or classic mode.
Back to Top View Kurisotofa's Profile Search for other posts by Kurisotofa Visit Kurisotofa's Homepage
 
jaygreasley
Newbie
Newbie


Joined: 07 December 2010
Online Status: Offline
Posts: 7
Posted: 07 December 2010 at 7:49am | IP Logged Quote jaygreasley

Did you ever solve this?
Back to Top View jaygreasley's Profile Search for other posts by jaygreasley
 
joegass
Newbie
Newbie


Joined: 02 May 2008
Online Status: Offline
Posts: 8
Posted: 07 December 2010 at 7:52am | IP Logged Quote joegass

no, we reverted to isapi rewrite
Back to Top View joegass's Profile Search for other posts by joegass Visit joegass's Homepage
 
jaygreasley
Newbie
Newbie


Joined: 07 December 2010
Online Status: Offline
Posts: 7
Posted: 07 December 2010 at 8:17am | IP Logged Quote jaygreasley

thanks. I may need to do the same.

Back to Top View jaygreasley's Profile Search for other posts by jaygreasley
 
Vyacheslav
Admin Group
Admin Group


Joined: 02 July 2008
Location: Ukraine
Online Status: Offline
Posts: 1535
Posted: 07 December 2010 at 8:35am | IP Logged Quote Vyacheslav

Hello.
This problem is only related to Classic pipeline and IIS6. 100% of Ape’s features work in IIS7/IIS7.5 running Integrated pipeline.

Thanks.

__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top View Vyacheslav's Profile Search for other posts by Vyacheslav Visit Vyacheslav's Homepage
 
joegass
Newbie
Newbie


Joined: 02 May 2008
Online Status: Offline
Posts: 8
Posted: 07 December 2010 at 8:46am | IP Logged Quote joegass

Thanks for the info.
We were migrating from iis6 to iis7 and had to run some
sites in classic - which is where the issue lies.

Back to Top View joegass's Profile Search for other posts by joegass Visit joegass's Homepage
 

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