Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x support forum
 Helicon Tech : ISAPI_Rewrite 2.x support forum
Subject Topic: RewriteCond and Isapi_rewrite lite? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
joensson
Newbie
Newbie


Joined: 11 August 2003
Location: Denmark
Online Status: Offline
Posts: 4
Posted: 11 August 2003 at 8:00am | IP Logged Quote joensson

I get these errors in httpd.parse.errors:

Line 9: Unrecognized string: RewriteCond %{REQUEST_FILENAME}  -d [OR]
Line 10: Unrecognized string: RewriteCond %{REQUEST_FILENAME}  -s

The lines look like this in httpd.ini:

RewriteCond %{REQUEST_FILENAME}  -d [OR]
RewriteCond %{REQUEST_FILENAME}  -s

This works in mod_rewrite, but I get the unrecognized string error. What should I write instead?

I use it for testing whether a directory or file exists in the web-directory with the given name before I rewrite the URL.

cheers,

Flemming

Back to Top View joensson's Profile Search for other posts by joensson
 
Yaroslav
Moderator Group
Moderator Group


Joined: 15 August 2002
Online Status: Offline
Posts: 6467
Posted: 11 August 2003 at 4:50pm | IP Logged Quote Yaroslav

Unfortunately Lite and Full versions ISAPI_Rewrite does not support testing whether a directory or file exists in the web-directory. Possibly it will be implemented in some future versions but we dont have any plans for now to do this.

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top View Yaroslav's Profile Search for other posts by Yaroslav Visit Yaroslav'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 cannot vote in polls in this forum