Partager via


ApacheModRewriteOptionsExtensions.AddApacheModRewrite Méthode

Définition

Surcharges

AddApacheModRewrite(RewriteOptions, TextReader)

Ajouter des règles à partir d’un fichier mod_rewrite Apache

AddApacheModRewrite(RewriteOptions, IFileProvider, String)

Ajouter des règles à partir d’un fichier mod_rewrite Apache

AddApacheModRewrite(RewriteOptions, TextReader)

Source:
ApacheModRewriteOptionsExtensions.cs
Source:
ApacheModRewriteOptionsExtensions.cs
Source:
ApacheModRewriteOptionsExtensions.cs

Ajouter des règles à partir d’un fichier 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

Paramètres

reader
TextReader

Flux de règles mod_rewrite.

Retours

S’applique à

AddApacheModRewrite(RewriteOptions, IFileProvider, String)

Source:
ApacheModRewriteOptionsExtensions.cs
Source:
ApacheModRewriteOptionsExtensions.cs
Source:
ApacheModRewriteOptionsExtensions.cs

Ajouter des règles à partir d’un fichier 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

Paramètres

filePath
String

Chemin d’accès au fichier contenant mod_rewrite règles.

Retours

S’applique à