ApacheModRewriteOptionsExtensions.AddApacheModRewrite Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
AddApacheModRewrite(RewriteOptions, TextReader) |
Aggiungere regole da un file di mod_rewrite Apache |
AddApacheModRewrite(RewriteOptions, IFileProvider, String) |
Aggiungere regole da un file di mod_rewrite Apache |
AddApacheModRewrite(RewriteOptions, TextReader)
Aggiungere regole da un file di mod_rewrite Apache
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Rewrite::RewriteOptions ^ AddApacheModRewrite(Microsoft::AspNetCore::Rewrite::RewriteOptions ^ options, System::IO::TextReader ^ reader);
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
Parametri
- options
- RewriteOptions
Il tipo RewriteOptions
- reader
- TextReader
Flusso di regole di mod_rewrite.
Restituisce
Si applica a
AddApacheModRewrite(RewriteOptions, IFileProvider, String)
Aggiungere regole da un file di mod_rewrite Apache
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Rewrite::RewriteOptions ^ AddApacheModRewrite(Microsoft::AspNetCore::Rewrite::RewriteOptions ^ options, Microsoft::Extensions::FileProviders::IFileProvider ^ fileProvider, System::String ^ filePath);
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
Parametri
- options
- RewriteOptions
Il tipo RewriteOptions
- fileProvider
- IFileProvider
Il tipo IFileProvider
- filePath
- String
Percorso del file contenente regole di mod_rewrite.