Space in mapfile path

Helicon Ape provides support for Apache .htacces and .htpasswd configuration files for Microsoft IIS.
User avatar
Posts: 34
Joined: 19 Feb 2013, 11:44

Space in mapfile path

06 Mar 2013, 08:59

Hi there,
Previously when I had this in ISAPI_Rewrite 3 it worked:

RewriteMap redirect txt:D:\Web Sites\mapfiles\redirect.txt

But now using Ape Build 100 it does not, I get this error:

[06/03/2013 11:53:15] [ConfigLoader] (4) [/lighting_index.asp] d:\web sites\www.ac-et.com\.htaccess(20): Exception
Line: RewriteMap redirect txt:D:\Web Sites\mapfiles\redirect.txt
System.IO.FileLoadException: Could not find file 'D:\Web'.
at 1.121..ctor(String , Boolean , Boolean )
at 1.104.92()
at 1.104..ctor(11 , String , String , String )
at 1.100.2021151127(11 , 6 , String , List`1 , ELimit )
at 5.5.2021151127(String , String& )
at 5.12.0(String , Int64 , String )
at 5.12.721105804(String )

Apart from changing the name of the folder, what can I do?

Cheers,

Steve

User avatar
Posts: 34
Joined: 19 Feb 2013, 11:44

Re: Space in mapfile path

06 Mar 2013, 09:23

Resolved by using

RewriteMap redirect "txt:D:\Web Sites\mapfiles\redirect.txt"

Steve

Return to Helicon Ape

Who is online

Users browsing this forum: No registered users and 8 guests