Freigeben über


ApacheModRewriteOptionsExtensions.AddApacheModRewrite Methode

Definition

Überlädt

AddApacheModRewrite(RewriteOptions, TextReader)

Hinzufügen von Regeln aus einer Apache mod_rewrite-Datei

AddApacheModRewrite(RewriteOptions, IFileProvider, String)

Hinzufügen von Regeln aus einer Apache mod_rewrite-Datei

AddApacheModRewrite(RewriteOptions, TextReader)

Quelle:
ApacheModRewriteOptionsExtensions.cs
Quelle:
ApacheModRewriteOptionsExtensions.cs
Quelle:
ApacheModRewriteOptionsExtensions.cs

Hinzufügen von Regeln aus einer Apache mod_rewrite-Datei

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

Parameter

reader
TextReader

Ein Stream von mod_rewrite Regeln.

Gibt zurück

Gilt für:

AddApacheModRewrite(RewriteOptions, IFileProvider, String)

Quelle:
ApacheModRewriteOptionsExtensions.cs
Quelle:
ApacheModRewriteOptionsExtensions.cs
Quelle:
ApacheModRewriteOptionsExtensions.cs

Hinzufügen von Regeln aus einer Apache mod_rewrite-Datei

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

Parameter

fileProvider
IFileProvider

Der IFileProvider

filePath
String

Der Pfad zur Datei, die mod_rewrite Regeln enthält.

Gibt zurück

Gilt für: