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: Rewrite 3 lite does not do anything Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
smooshy
Newbie
Newbie


Joined: 03 July 2008
Location: United States
Online Status: Offline
Posts: 9
Posted: 03 July 2008 at 2:36pm | IP Logged Quote smooshy

Howdy,

I am not sure what I am doing wrong but I cannot get the Rewrite lite to do anything at all.  Not sure if I configed it correctly. 

I am trying to get rid of index.php in my wordpress category URLs.  I am using WP 2.3.  I put wordpress under www.website.com/blog  I removed index.php from the permalink section.

My Server: MaximumASP, windows 64 bit, IIS6, SP2.  I have IIS running in 32 bit mode for some other reasons. 

I installed the 64 bit rewrite 3 lite under program files in a Helicon folder, it would not let me install the 32 bit version.  I am allowing ISAPI filters and I registered the ISAPI_Rewrite.DLL  httpd.conf is in the same folder. 

My expressions are:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

Is there compatibility issues with rewrite lite?

Could the 64bit version in IIS 32 bit mode be the problem?

Do I need to bite the bullit and get the full version?

Back to Top View smooshy's Profile Search for other posts by smooshy
 
smooshy
Newbie
Newbie


Joined: 03 July 2008
Location: United States
Online Status: Offline
Posts: 9
Posted: 03 July 2008 at 3:41pm | IP Logged Quote smooshy

These rules cause the blog to not load without index.php, which is different than before, so maybe I am getting close since it is actually doing something.  Any advice? 

RewriteBase /
RewriteRule ^([^/]+)/?$ index.php/$1 [NC,L]



Edited by smooshy - 03 July 2008 at 3:42pm
Back to Top View smooshy's Profile Search for other posts by smooshy
 
smooshy
Newbie
Newbie


Joined: 03 July 2008
Location: United States
Online Status: Offline
Posts: 9
Posted: 03 July 2008 at 5:17pm | IP Logged Quote smooshy

I think i am close.

I am using this:

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteBase /blog

RewriteRule ^([^/]+)/?$ index.php/$1 [NC,L]

</IfModule>

It seems to work for the first folder after blog, but nothing after that.  How do I get it to go another layer?  Sorry I am a regular expression newb.

Back to Top View smooshy's Profile Search for other posts by smooshy
 
smooshy
Newbie
Newbie


Joined: 03 July 2008
Location: United States
Online Status: Offline
Posts: 9
Posted: 03 July 2008 at 5:59pm | IP Logged Quote smooshy

I asked a regular expressions guru friend of mine and found that this werks:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog
RewriteRule ^([^.]+)$ index.php/$1
</IfModule>

Back to Top View smooshy's Profile Search for other posts by smooshy
 
Vyacheslav
Moderator Group
Moderator Group


Joined: 02 July 2008
Location: Ukraine
Online Status: Offline
Posts: 673
Posted: 04 July 2008 at 4:54am | IP Logged Quote Vyacheslav

Hi smooshy!

Please try this solution:

RewriteEngine On
RewriteBase /blog
RewriteRule ^([^/]+)$ index.php?$1 [NC,L]

Edited by Vyacheslav - 04 July 2008 at 4:55am


__________________
Kind regards!
Vyacheslav Shinkarenko, HeliconTech.
Back to Top View Vyacheslav's Profile Search for other posts by Vyacheslav Visit Vyacheslav's Homepage
 
smooshy
Newbie
Newbie


Joined: 03 July 2008
Location: United States
Online Status: Offline
Posts: 9
Posted: 05 July 2008 at 10:12am | IP Logged Quote smooshy

As I posted above, that is exactly what I tried and it only seems to work 1 past the base but not any further.  Maybe I configed IIS wrong?

 

BR



Edited by smooshy - 05 July 2008 at 10:12am
Back to Top View smooshy's Profile Search for other posts by smooshy
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 4837
Posted: 07 July 2008 at 3:12am | IP Logged Quote Anton

Please try to use the following:

RewriteEngine On
RewriteBase /blog/
RewriteRule ^([^/]+)$ /index.php?$1 [NC,L]

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


Joined: 03 July 2008
Location: United States
Online Status: Offline
Posts: 9
Posted: 07 July 2008 at 9:05am | IP Logged Quote smooshy

Oh wait, I was wrong about the first reply you made, yours is a tiny bit different.  I'll try both just for fun but what I have seems to work.

 

Back to Top View smooshy's Profile Search for other posts by smooshy
 
smooshy
Newbie
Newbie


Joined: 03 July 2008
Location: United States
Online Status: Offline
Posts: 9
Posted: 07 July 2008 at 11:31am | IP Logged Quote smooshy

Neither of them seem to work, and I recently realized the one I posted that does work messes up some other sites, which makes since because I have the filter applied to the server which is the only way it seems to work for me.   Hmmm..
Back to Top View smooshy's Profile Search for other posts by smooshy
 
smooshy
Newbie
Newbie


Joined: 03 July 2008
Location: United States
Online Status: Offline
Posts: 9
Posted: 07 July 2008 at 12:20pm | IP Logged Quote smooshy

I got mine to work by adding a condition.  Not sure if I am doing this right but it works good so I will try it for a while.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/blog/?
RewriteBase /blog
RewriteRule ^([^.]+)$ index.php/$1
</IfModule>

Back to Top View smooshy's Profile Search for other posts by smooshy
 
smooshy
Newbie
Newbie


Joined: 03 July 2008
Location: United States
Online Status: Offline
Posts: 9
Posted: 08 July 2008 at 12:00pm | IP Logged Quote smooshy

I found a problem with wp-admin pages so I edited to use this and it all works great so far!

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteBase /blog
RewriteRule ^([^.]+)$ index.php/$1
</IfModule>

 

Back to Top View smooshy's Profile Search for other posts by smooshy
 

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