ApacheModRewriteOptionsExtensions.AddApacheModRewrite Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
AddApacheModRewrite(RewriteOptions, TextReader) |
Adicionar regras de um arquivo do Apache mod_rewrite |
AddApacheModRewrite(RewriteOptions, IFileProvider, String) |
Adicionar regras de um arquivo do Apache mod_rewrite |
AddApacheModRewrite(RewriteOptions, TextReader)
Adicionar regras de um arquivo do Apache mod_rewrite
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
Parâmetros
- options
- RewriteOptions
- reader
- TextReader
Um fluxo de regras de mod_rewrite.
Retornos
Aplica-se a
AddApacheModRewrite(RewriteOptions, IFileProvider, String)
Adicionar regras de um arquivo do Apache mod_rewrite
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
Parâmetros
- options
- RewriteOptions
- fileProvider
- IFileProvider
- filePath
- String
O caminho para o arquivo que contém mod_rewrite regras.