You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.
Line 217: // our web application root directory
Line 218: if (pathRoot == Path.DirectorySeparatorChar.ToString())
Line 219: path = HostingEnvironment.MapPath( path);
I believe what you want in the code above the error is as follows, so that the mapping is relative to the application path. I have not tested all the code paths though, so this may introduce other errors.
path = "~" + pathRoot + path;
(and not path = pathRoot + path; )
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Turning on logging with
RewriteLog "log.txt"
RewriteLogLevel 9
cause an error
Failed to map the path '/log.txt'.
pathRoot = Path.DirectorySeparatorChar.ToString();
Line 217: // our web application root directory
Line 218: if (pathRoot == Path.DirectorySeparatorChar.ToString())
Line 219: path = HostingEnvironment.MapPath( path);
Source File: C:\Orchard.Source.1.6\src\managedfusion-rewriter-master\src\RuleSet.cs Line: 219
I believe what you want in the code above the error is as follows, so that the mapping is relative to the application path. I have not tested all the code paths though, so this may introduce other errors.
path = "~" + pathRoot + path;
(and not path = pathRoot + path; )
The text was updated successfully, but these errors were encountered: