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: Appache -> ISAPI Translation problems Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
schorsch
Newbie
Newbie


Joined: 29 September 2008
Online Status: Offline
Posts: 4
Posted: 29 September 2008 at 5:30am | IP Logged Quote schorsch

Hy

I need to run on ISAPI:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) /papiermuseum/de/index.php

How does it need to be written in ISAPI 3.0 ?

Thanks!
Back to Top View schorsch's Profile Search for other posts by schorsch
 
Vyacheslav
Moderator Group
Moderator Group


Joined: 02 July 2008
Location: Ukraine
Online Status: Offline
Posts: 673
Posted: 29 September 2008 at 8:27am | IP Logged Quote Vyacheslav

Hi,
Actually your rules are already prepared for ISAPI_Rewrite 3.x
But, let me to provide the rules with a small correction:
Code:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .? /papiermuseum/de/index.php [NC,L]


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


Joined: 29 September 2008
Online Status: Offline
Posts: 4
Posted: 29 September 2008 at 11:30am | IP Logged Quote schorsch

Thanks a lot!

Unfortunately I fount out, that the ISAPI Version is: 2.9.0.65
How does it need to be written in this version?

Thanks!
Back to Top View schorsch's Profile Search for other posts by schorsch
 
Anton
Moderator Group
Moderator Group


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

Here are the rules for v2:

RewriteRule (?!admin|dirs|to|exclude).* /papiermuseum/de/index.php [I,L]

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


Joined: 29 September 2008
Online Status: Offline
Posts: 4
Posted: 30 September 2008 at 5:45am | IP Logged Quote schorsch

Wow, thank you!

It works, but I am in trouble again.
Right now the ISAPI redirect every page call.
I need to say: "only if the file is not existing"

So that I can show pictures for example:
../image/mypic.jpg

Thanks!
Back to Top View schorsch's Profile Search for other posts by schorsch
 
Lexey
Moderator Group
Moderator Group


Joined: 15 August 2002
Location: Russian Federation
Online Status: Offline
Posts: 7598
Posted: 06 October 2008 at 12:17pm | IP Logged Quote Lexey

Quote:
I need to say: "only if the file is not existing"


That is not possible with v2. But you could exclude picture files by extension pattern:

RewriteRule (?!/(?:admin|dirs|to|exclude)/|[^?]+\.(?:jpg|gif|png)).* /papiermuseum/de/index.php [I,L]
Back to Top View Lexey's Profile Search for other posts by Lexey
 

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