ApacheModRewriteOptionsExtensions.AddApacheModRewrite Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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)
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
- options
- RewriteOptions
- reader
- TextReader
Flux de règles mod_rewrite.
Retours
S’applique à
AddApacheModRewrite(RewriteOptions, IFileProvider, String)
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
- options
- RewriteOptions
- fileProvider
- IFileProvider
- filePath
- String
Chemin d’accès au fichier contenant mod_rewrite règles.