次の方法で共有


ApacheModRewriteOptionsExtensions.AddApacheModRewrite メソッド

定義

オーバーロード

AddApacheModRewrite(RewriteOptions, TextReader)

Apache mod_rewrite ファイルからルールを追加する

AddApacheModRewrite(RewriteOptions, IFileProvider, String)

Apache mod_rewrite ファイルからルールを追加する

AddApacheModRewrite(RewriteOptions, TextReader)

ソース:
ApacheModRewriteOptionsExtensions.cs
ソース:
ApacheModRewriteOptionsExtensions.cs
ソース:
ApacheModRewriteOptionsExtensions.cs

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

パラメーター

reader
TextReader

mod_rewriteルールのストリーム。

戻り値

適用対象

AddApacheModRewrite(RewriteOptions, IFileProvider, String)

ソース:
ApacheModRewriteOptionsExtensions.cs
ソース:
ApacheModRewriteOptionsExtensions.cs
ソース:
ApacheModRewriteOptionsExtensions.cs

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

パラメーター

filePath
String

mod_rewriteルールを含むファイルへのパス。

戻り値

適用対象