Space in mapfile path
2 posts
• Page 1 of 1
Space in mapfile path
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
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
Re: Space in mapfile path
Resolved by using
RewriteMap redirect "txt:D:\Web Sites\mapfiles\redirect.txt"
Steve
RewriteMap redirect "txt:D:\Web Sites\mapfiles\redirect.txt"
Steve
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 8 guests