Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 3.0 support forum
 Helicon Tech : ISAPI_Rewrite 3.0 support forum
Subject Topic: Completely Not Functioning Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
aaronfrankel
Newbie
Newbie


Joined: 05 August 2008
Location: United States
Online Status: Offline
Posts: 10
Posted: 05 August 2008 at 12:45pm | IP Logged Quote aaronfrankel

Brand new to IIS and ISAPI Rewrite. Running on a Dedicated Windows Server 2003 SP2, IIS 6
Single (Default) Web Site installed, ASP.Net 2.0
-installed ISASPI rewrite to the IIS server-
BTW I am a Mac guy. So please excuse any MS ignorance in advance.

The issue I am having. Zero response no matter how I write the statement. I copied this one from one of the other posts on here about 301 Redirects, but it still did not work. NOTHING. And I have a whole bunch of these I have to write.

Here are the complete contents of my .htaccess file.

Quote:

RewriteEngine ON
RewriteCond Host: www\.site\.com
RewriteRule /([^?.]+)/index\.php http\://www.site.com/Default.asp$1/ [I,RP]



Edited by aaronfrankel - 05 August 2008 at 12:46pm


__________________
I miss Apache/Cpanel
Back to Top View aaronfrankel's Profile Search for other posts by aaronfrankel Visit aaronfrankel's Homepage
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 4837
Posted: 06 August 2008 at 3:31am | IP Logged Quote Anton

Seems that you are using v3 and the config is written for v2.
So please try to modify your config like this (.htaccess should reside in the root of your www.site.com):

RewriteEngine On
RewriteBase /
RewriteRule ^([^?.]+)/index\.php$ Default.asp/$1 [NC,R=301]


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


Joined: 05 August 2008
Location: United States
Online Status: Offline
Posts: 10
Posted: 06 August 2008 at 11:19am | IP Logged Quote aaronfrankel

No luck.

.htaccess does reside in the root

Quote:

RewriteEngine On
RewriteBase /
RewriteRule ^([^?.]+)/index\.php$ Default.asp/$1 [NC,R=301]



__________________
I miss Apache/Cpanel
Back to Top View aaronfrankel's Profile Search for other posts by aaronfrankel Visit aaronfrankel's Homepage
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 4837
Posted: 07 August 2008 at 4:27am | IP Logged Quote Anton

Please put the following directive into httpd.conf to enable logging:
RewriteLogLevel 9
And provide rewrite log records for some specific request.


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


Joined: 05 August 2008
Location: United States
Online Status: Offline
Posts: 10
Posted: 07 August 2008 at 5:53pm | IP Logged Quote aaronfrankel

192.168.1.23 192.168.1.23  Thu, 07-Aug-2008  17:28:37 GMT [www.frankelcostume.com/sid#1][rid#20001344/initial] (2) init rewrite engine with requested uri /Admin/Products/EditProductCategories.aspx
192.168.1.23 192.168.1.23  Thu, 07-Aug-2008  17:28:37 GMT [www.frankelcostume.com/sid#1][rid#20001344/initial] (1) Htaccess process request C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf
192.168.1.23 192.168.1.23  Thu, 07-Aug-2008  17:28:37 GMT [www.frankelcostume.com/sid#1][rid#20001344/initial] (1) Htaccess process request e:\ablecommerce\.htaccess
192.168.1.23 192.168.1.23  Thu, 07-Aug-2008  17:28:37 GMT [www.frankelcostume.com/sid#1][rid#20001344/initial] (3) applying pattern '^([^?.]+)/index\.php$' to uri 'Admin/Products/EditProductCategories.aspx'

Also, posting an image if this helps at all.




Edited by aaronfrankel - 07 August 2008 at 5:59pm


__________________
I miss Apache/Cpanel
Back to Top View aaronfrankel's Profile Search for other posts by aaronfrankel Visit aaronfrankel's Homepage
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 4837
Posted: 08 August 2008 at 4:22am | IP Logged Quote Anton

Well, according to what you have provided you are requesting /Admin/Products/EditProductCategories.aspx and your rule is designed to match smth/index.php, consequently you get nothing.
Please give some specific examples of what do you want to rewrite and how, and we'll help you with the rules.


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


Joined: 05 August 2008
Location: United States
Online Status: Offline
Posts: 10
Posted: 08 August 2008 at 7:18am | IP Logged Quote aaronfrankel

I saw that. Really strange.

I am trying to get /index.php to resolve to /Default.aspx

__________________
I miss Apache/Cpanel
Back to Top View aaronfrankel's Profile Search for other posts by aaronfrankel Visit aaronfrankel's Homepage
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 4837
Posted: 11 August 2008 at 2:59am | IP Logged Quote Anton

Please make sure you have ISAPI_Rewrite installed only on global level (not on site level), please also provide more rewrite logs and IIS logs.
Check if you don't have any other ISAPI filters running.


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


Joined: 05 August 2008
Location: United States
Online Status: Offline
Posts: 10
Posted: 13 August 2008 at 4:30pm | IP Logged Quote aaronfrankel

Found the issue. Every thing was right except the forward slash in front of index.php is guess because of RewriteBase / ?

__________________
I miss Apache/Cpanel
Back to Top View aaronfrankel's Profile Search for other posts by aaronfrankel Visit aaronfrankel'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