This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
Common Questions (Forum Locked Forum Locked)
 Helicon Tech : Common Questions
Subject Topic: mod_rewrite to isapi_rewrite
Author
Message |
Sanz
Newbie


Joined: 14 December 2009
Posts: 1
Posted: 15 December 2009 at 1:27am

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
 
Guests
Guest


Joined: 01 October 2003
Online Status: Online
Posts: -160
Posted: 15 December 2009 at 6:43am

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
 
aa22
Newbie


Joined: 20 January 2010
Posts: 3
Posted: 20 January 2010 at 1:25am

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
 
Guests
Guest


Joined: 01 October 2003
Online Status: Online
Posts: -160
Posted: 20 January 2010 at 3:18am

Please, correct me if i'm wrong. Is this rule rewriting you query string?
Back to Top
 
aa22
Newbie


Joined: 20 January 2010
Posts: 3
Posted: 20 January 2010 at 3:23am

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
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 20 January 2010 at 5:35am

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
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version
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