This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
Common Questions
 Helicon Tech : Common Questions
Subject Topic: mod_rewrite to isapi_rewrite Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Sanz
Newbie
Newbie


Joined: 14 December 2009
Online Status: Offline
Posts: 1
Posted: 15 December 2009 at 1:27am | IP Logged Quote Sanz

Please can anyone help me to change the following mod_rewrite to isapi_rewrite


RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^system.*
RewriteCond $1 !^(index\.php|images|scripts|uploads|css|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
Back to Top View Sanz's Profile Search for other posts by Sanz
 
Guests
Guest
Guest


Joined: 01 October 2003
Online Status: Online
Posts: -149
Posted: 15 December 2009 at 6:43am | IP Logged Quote Guests

Lets try to help you:

RewriteEngine On
RewriteBase /
RewriteRule ^(?!(?:index\.php|images|scripts|uploads|css|robots\.txt)/.*)(system.+)$ /index.php/$1 [NC,R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [NC,L]

Please, contact if you have any issues.
Back to Top View Guests's Profile Search for other posts by Guests
 
aa22
Newbie
Newbie


Joined: 20 January 2010
Online Status: Offline
Posts: 3
Posted: 20 January 2010 at 1:25am | IP Logged Quote aa22

Hello AndrushkaUS,
can you help me to change the following mod_rewrite to isapi_rewrite 3.0 :

Options +FollowSymlinks

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]

Very thanks

Back to Top View aa22's Profile Search for other posts by aa22
 
Guests
Guest
Guest


Joined: 01 October 2003
Online Status: Online
Posts: -149
Posted: 20 January 2010 at 3:18am | IP Logged Quote Guests

Please, correct me if i'm wrong. Is this rule rewriting you query string?
Back to Top View Guests's Profile Search for other posts by Guests
 
aa22
Newbie
Newbie


Joined: 20 January 2010
Online Status: Offline
Posts: 3
Posted: 20 January 2010 at 3:23am | IP Logged Quote aa22

Hello AndrushkaUS,
That is code of mod_rewrite :

Options +FollowSymlinks

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]

It's working with mod_rewrite, but how change , let it work on isapi_rewrite 3.0 ?

Back to Top View aa22's Profile Search for other posts by aa22
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 20 January 2010 at 5:35am | IP Logged Quote Anton

Please try to apply the following:

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?_route_=$1 [L,QSA]

__________________
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 cannot vote in polls in this forum