ApacheModRewriteOptionsExtensions.AddApacheModRewrite ApacheModRewriteOptionsExtensions.AddApacheModRewrite ApacheModRewriteOptionsExtensions.AddApacheModRewrite Method

Definition

Overloads

AddApacheModRewrite(RewriteOptions, TextReader) AddApacheModRewrite(RewriteOptions, TextReader) AddApacheModRewrite(RewriteOptions, TextReader)

Add rules from an Apache mod_rewrite file

AddApacheModRewrite(RewriteOptions, IFileProvider, String) AddApacheModRewrite(RewriteOptions, IFileProvider, String) AddApacheModRewrite(RewriteOptions, IFileProvider, String)

Add rules from an Apache mod_rewrite file

AddApacheModRewrite(RewriteOptions, TextReader) AddApacheModRewrite(RewriteOptions, TextReader) AddApacheModRewrite(RewriteOptions, TextReader)

Add rules from an Apache mod_rewrite file

public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddApacheModRewrite (this Microsoft.AspNetCore.Rewrite.RewriteOptions options, System.IO.TextReader reader);
static member AddApacheModRewrite : Microsoft.AspNetCore.Rewrite.RewriteOptions * System.IO.TextReader -> Microsoft.AspNetCore.Rewrite.RewriteOptions
<Extension()>
Public Function AddApacheModRewrite (options As RewriteOptions, reader As TextReader) As RewriteOptions

Parameters

reader
TextReader TextReader TextReader

A stream of mod_rewrite rules.

Returns

AddApacheModRewrite(RewriteOptions, IFileProvider, String) AddApacheModRewrite(RewriteOptions, IFileProvider, String) AddApacheModRewrite(RewriteOptions, IFileProvider, String)

Add rules from an Apache mod_rewrite file

public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddApacheModRewrite (this Microsoft.AspNetCore.Rewrite.RewriteOptions options, Microsoft.Extensions.FileProviders.IFileProvider fileProvider, string filePath);
static member AddApacheModRewrite : Microsoft.AspNetCore.Rewrite.RewriteOptions * Microsoft.Extensions.FileProviders.IFileProvider * string -> Microsoft.AspNetCore.Rewrite.RewriteOptions
<Extension()>
Public Function AddApacheModRewrite (options As RewriteOptions, fileProvider As IFileProvider, filePath As String) As RewriteOptions

Parameters

filePath
String String String

The path to the file containing mod_rewrite rules.

Returns

Applies to