mirror of
https://github.com/apache/httpd.git
synced 2025-12-24 15:01:03 +03:00
Alas, it was not to be. Deprecate mod_aspdotnet, and certainly don't
introduce these docs into the next release or consider for backport. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@423387 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
<modulefile>mod_actions.xml</modulefile>
|
||||
<modulefile>mod_alias.xml</modulefile>
|
||||
<modulefile>mod_asis.xml</modulefile>
|
||||
<modulefile>mod_aspdotnet.xml</modulefile>
|
||||
<modulefile>mod_auth_basic.xml</modulefile>
|
||||
<modulefile>mod_auth_digest.xml</modulefile>
|
||||
<modulefile>mod_authn_anon.xml</modulefile>
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
<modulefile>mod_actions.xml.de</modulefile>
|
||||
<modulefile>mod_alias.xml</modulefile>
|
||||
<modulefile>mod_asis.xml</modulefile>
|
||||
<modulefile>mod_aspdotnet.xml</modulefile>
|
||||
<modulefile>mod_auth_basic.xml</modulefile>
|
||||
<modulefile>mod_auth_digest.xml</modulefile>
|
||||
<modulefile>mod_authn_anon.xml</modulefile>
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
<modulefile>mod_actions.xml</modulefile>
|
||||
<modulefile>mod_alias.xml</modulefile>
|
||||
<modulefile>mod_asis.xml</modulefile>
|
||||
<modulefile>mod_aspdotnet.xml</modulefile>
|
||||
<modulefile>mod_auth_basic.xml</modulefile>
|
||||
<modulefile>mod_auth_digest.xml</modulefile>
|
||||
<modulefile>mod_authn_anon.xml</modulefile>
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
<modulefile>mod_actions.xml.ja</modulefile>
|
||||
<modulefile>mod_alias.xml.ja</modulefile>
|
||||
<modulefile>mod_asis.xml.ja</modulefile>
|
||||
<modulefile>mod_aspdotnet.xml</modulefile>
|
||||
<modulefile>mod_auth_basic.xml.ja</modulefile>
|
||||
<modulefile>mod_auth_digest.xml</modulefile>
|
||||
<modulefile>mod_authn_anon.xml.ja</modulefile>
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
<modulefile>mod_actions.xml.ko</modulefile>
|
||||
<modulefile>mod_alias.xml.ko</modulefile>
|
||||
<modulefile>mod_asis.xml.ko</modulefile>
|
||||
<modulefile>mod_aspdotnet.xml</modulefile>
|
||||
<modulefile>mod_auth_basic.xml.ko</modulefile>
|
||||
<modulefile>mod_auth_digest.xml.ko</modulefile>
|
||||
<modulefile>mod_authn_anon.xml.ko</modulefile>
|
||||
|
||||
@@ -74,9 +74,6 @@
|
||||
<li><a href="mod_authn_anon.html#anonymous_mustgiveemail">Anonymous_MustGiveEmail</a></li>
|
||||
<li><a href="mod_authn_anon.html#anonymous_nouserid">Anonymous_NoUserID</a></li>
|
||||
<li><a href="mod_authn_anon.html#anonymous_verifyemail">Anonymous_VerifyEmail</a></li>
|
||||
<li><a href="mod_aspdotnet.html#aspnet">AspNet</a></li>
|
||||
<li><a href="mod_aspdotnet.html#aspnetmount">AspNetMount</a></li>
|
||||
<li><a href="mod_aspdotnet.html#aspnetversion">AspNetVersion</a></li>
|
||||
<li><a href="perchild.html#assignuserid">AssignUserID</a></li>
|
||||
<li><a href="mod_auth_basic.html#authbasicauthoritative">AuthBasicAuthoritative</a></li>
|
||||
<li><a href="mod_auth_basic.html#authbasicprovider">AuthBasicProvider</a></li>
|
||||
|
||||
@@ -78,8 +78,6 @@ media type or request method.</dd>
|
||||
filesystem in the document tree and for URL redirection</dd>
|
||||
<dt><a href="mod_asis.html">mod_asis</a></dt><dd>Sends files that contain their own
|
||||
HTTP headers</dd>
|
||||
<dt><a href="mod_aspdotnet.html">mod_aspdotnet</a></dt><dd>Provides an interface for ASP.NET content between Apache HTTP
|
||||
Server 2.0 and Microsoft's ASP.NET host.</dd>
|
||||
<dt><a href="mod_auth_basic.html">mod_auth_basic</a></dt><dd>Basic authentication</dd>
|
||||
<dt><a href="mod_auth_digest.html">mod_auth_digest</a></dt><dd>User authentication using MD5
|
||||
Digest Authentication</dd>
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
URI: mod_aspdotnet.html.en
|
||||
Content-Language: en
|
||||
Content-type: text/html; charset=ISO-8859-1
|
||||
@@ -1,239 +0,0 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
|
||||
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
This file is generated from xml source: DO NOT EDIT
|
||||
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
-->
|
||||
<title>mod_aspdotnet - Apache HTTP Server</title>
|
||||
<link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
|
||||
<link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
|
||||
<link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
|
||||
<link href="../images/favicon.ico" rel="shortcut icon" /></head>
|
||||
<body>
|
||||
<div id="page-header">
|
||||
<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p>
|
||||
<p class="apache">Apache HTTP Server Version 2.3</p>
|
||||
<img alt="" src="../images/feather.gif" /></div>
|
||||
<div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
|
||||
<div id="path">
|
||||
<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.3</a> > <a href="./">Modules</a></div>
|
||||
<div id="page-content">
|
||||
<div id="preamble"><h1>Apache Module mod_aspdotnet</h1>
|
||||
<div class="toplang">
|
||||
<p><span>Available Languages: </span><a href="../en/mod/mod_aspdotnet.html" title="English"> en </a></p>
|
||||
</div>
|
||||
<table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>Provides an interface for ASP.NET content between Apache HTTP
|
||||
Server 2.0 and Microsoft's ASP.NET host.</td></tr>
|
||||
<tr><th><a href="module-dict.html#Status">Status:</a></th><td><a href="http://httpd.apache.org/mod_aspdotnet/">External</a></td></tr>
|
||||
<tr><th><a href="module-dict.html#ModuleIdentifier">Module<6C>Identifier:</a></th><td>aspdotnet_module</td></tr>
|
||||
<tr><th><a href="module-dict.html#SourceFile">Source<63>File:</a></th><td>mod_aspdotnet.cpp</td></tr>
|
||||
<tr><th><a href="module-dict.html#Compatibility">Compatibility:</a></th><td>Compatible only with httpd 2.0.44 and later.</td></tr></table>
|
||||
<h3>Summary</h3>
|
||||
|
||||
<p>The <code class="directive"><a href="#aspnet">AspNet</a></code> and
|
||||
<code class="directive"><a href="#aspnetmount">AspNetMount</a></code> directives
|
||||
and asp.net handler provided by <code class="module"><a href="../mod/mod_aspdotnet.html">mod_aspdotnet</a></code> are used
|
||||
to configure content to be served of the ASP.NET engine.</p>
|
||||
|
||||
<p>The current version is compatible with the .NET Framework versions 1.x
|
||||
(1.0, 1.1, etc). The current version is not compatible with .NET Framework
|
||||
version 2.0 although this may be addressed in the future.</p>
|
||||
|
||||
<p>Only modern Windows NT-based operating systems (2000, XP, 2003, etc) are
|
||||
supported. Older versions such as Windows 98 and ME are not, Windows NT 6
|
||||
requires Service Pack 6, and the module authors will not invest time or
|
||||
effort on these older versions. Do not contact the project regarding
|
||||
support of older operating systems.</p>
|
||||
</div>
|
||||
<div id="quickview"><h3 class="directives">Directives</h3>
|
||||
<ul id="toc">
|
||||
<li><img alt="" src="../images/down.gif" /> <a href="#aspnet">AspNet</a></li>
|
||||
<li><img alt="" src="../images/down.gif" /> <a href="#aspnetmount">AspNetMount</a></li>
|
||||
<li><img alt="" src="../images/down.gif" /> <a href="#aspnetversion">AspNetVersion</a></li>
|
||||
</ul>
|
||||
<h3>Topics</h3>
|
||||
<ul id="topics">
|
||||
<li><img alt="" src="../images/down.gif" /> <a href="#usage">Usage</a></li>
|
||||
</ul><h3>See also</h3>
|
||||
<ul class="seealso">
|
||||
<li><a href="../handler.html">Configuring Handlers</a></li>
|
||||
</ul></div>
|
||||
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
|
||||
<div class="section">
|
||||
<h2><a name="usage" id="usage">Usage</a></h2>
|
||||
<p>Several global configurations must be given to enable the Apache
|
||||
HTTP Server to correctly serve ASP.NET application content.</p>
|
||||
|
||||
<div class="example"><h3>Example:</h3><p><code>
|
||||
LoadModule aspdotnet_module modules/mod_aspdotnet.so <br />
|
||||
<br />
|
||||
AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj \<br />
|
||||
|
||||
licx rem resources resx soap vb vbproj vsdisco webinfo<br />
|
||||
<br />
|
||||
AliasMatch "^/(?i)aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*)" \<br />
|
||||
|
||||
"C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4"<br />
|
||||
<br />
|
||||
<Directory "C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles"><br />
|
||||
Options FollowSymlinks<br />
|
||||
Order allow,deny<br />
|
||||
Allow from all<br />
|
||||
</Directory><br />
|
||||
</code></p></div>
|
||||
|
||||
<p>This will direct all requests for ASP.NET-releated files to the
|
||||
mod_aspdotnet handler, and serve Microsoft's ASP.NET client files
|
||||
and support scripts as expected by ASP.NET applications.</p>
|
||||
|
||||
<p>Provide individual <code class="directive"><a href="#aspnet">AspNet</a></code> and <code class="directive"><a href="#aspnetmount">AspNetMount</a></code> directives for each application (containing
|
||||
a unique web.config file at it's application root.)</p>
|
||||
|
||||
<div class="example"><h3>Example:</h3><p><code>
|
||||
AspNetMount /app-uri "C:/path/to/app"<br />
|
||||
Alias /app-uri "C:/path/to/app"<br />
|
||||
<Directory "C:/path/to/app"><br />
|
||||
Options FollowSymlinks Indexes<br />
|
||||
AspNet files<br />
|
||||
Order allow,deny<br />
|
||||
Allow from all<br />
|
||||
DirectoryIndex default.htm default.aspx<br />
|
||||
</Directory><br />
|
||||
</code></p></div>
|
||||
|
||||
</div>
|
||||
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
|
||||
<div class="directive-section"><h2><a name="AspNet" id="AspNet">AspNet</a> <a name="aspnet" id="aspnet">Directive</a></h2>
|
||||
<table class="directive">
|
||||
<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Enables mod_aspdotnet to process ASP.NET content</td></tr>
|
||||
<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>AspNet [[<var>Files</var>] [<var>Directories</var>]
|
||||
[<var>Virtual</var>] [<var>Errors</var>]]
|
||||
| [<var>All</var>] | [<var>None</var>]</code></td></tr>
|
||||
<tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>AspNet None</code></td></tr>
|
||||
<tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host, directory, .htaccess</td></tr>
|
||||
<tr><th><a href="directive-dict.html#Override">Override:</a></th><td>Options</td></tr>
|
||||
<tr><th><a href="directive-dict.html#Status">Status:</a></th><td>External</td></tr>
|
||||
<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_aspdotnet</td></tr>
|
||||
<tr><th><a href="directive-dict.html#Compatibility">Compatibility:</a></th><td>Build 2004 and later</td></tr>
|
||||
</table>
|
||||
|
||||
<p>The <code class="directive">AspNet</code> directive determines what content
|
||||
may be served by the ASP.NET host. This directive does -not- actually
|
||||
expose the content or mount the URI to physical files, you must use the
|
||||
<code class="directive"><a href="../mod/mod_alias.html#alias">Alias</a></code> and
|
||||
<code class="directive">AspNetMount</code> directives to expose the content
|
||||
to the remote user.</p>
|
||||
|
||||
<p>The <code class="directive">AspNet</code> <var>files</var> directive is
|
||||
the equivilant for ASP.NET files to the behavior of Options ExecCGI
|
||||
for CGI content. In the original version of mod_aspdotnet, in fact,
|
||||
Options ExecCGI was used to determine if ASP.NET content would be
|
||||
invoked through mod_aspdotnet. In version 2.0.2 and later, this is
|
||||
no longer true, and your configuration files must be updated from
|
||||
Options ExecCGI to AspNet files.</p>
|
||||
|
||||
<p>The None option disables all ASP.NET processing, while the individual
|
||||
options below enable ASP.NET processing for specific request types:</p>
|
||||
|
||||
<dl>
|
||||
<dt><code>All</code></dt>
|
||||
|
||||
<dd>All options below. This is generally not a recommended setting.</dd>
|
||||
|
||||
<dt><code>Files</code></dt>
|
||||
|
||||
<dd>Files that exist in the filesystem, which are directed to the
|
||||
asp.net handler.</dd>
|
||||
|
||||
<dt><code>Directories</code></dt>
|
||||
|
||||
<dd>Directories that exist in the filesystem, which are directed to the
|
||||
asp.net handler. This can be used to invoke an HttpHandler to produce
|
||||
custom directory listings.</dd>
|
||||
|
||||
<dt><code>Virtual</code></dt>
|
||||
|
||||
<dd>Requests that map to neither a file nor directory in the filesystem,
|
||||
which are directed to the asp.net handler. This is used to invoke any
|
||||
HttpHandler which accesses non-file based resources, such as ASP.NET
|
||||
remoting requests.</dd>
|
||||
|
||||
<dt><code>Error</code></dt>
|
||||
|
||||
<dd>Error result pages generated by ASP.NET. This option bypasses the
|
||||
normal Apache ErrorDocument error content. This is required to return
|
||||
the full debugging results from the ASP.NET environment in development
|
||||
environments. Caution is urged before using this option in production
|
||||
environments, where path-revealing flaws should be avoided.</dd>
|
||||
|
||||
</dl>
|
||||
|
||||
<p>Normally, if multiple <code class="directive">AspNet</code> directives could
|
||||
apply to a directory, then the most specific one is used and others are
|
||||
ignored; the AspNet directives are never merged. See <a href="../sections.html#mergin">how sections are merged</a> for a better
|
||||
understanding of which Files, Directory, or Location section will take
|
||||
precedence.</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
|
||||
<div class="directive-section"><h2><a name="AspNetMount" id="AspNetMount">AspNetMount</a> <a name="aspnetmount" id="aspnetmount">Directive</a></h2>
|
||||
<table class="directive">
|
||||
<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Mounts a URI to a physical ASP.NET directory</td></tr>
|
||||
<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>AspNetMount <var>URL-path</var> <var>directory-path</var></code></td></tr>
|
||||
<tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config</td></tr>
|
||||
<tr><th><a href="directive-dict.html#Status">Status:</a></th><td>External</td></tr>
|
||||
<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_aspdotnet</td></tr>
|
||||
</table>
|
||||
|
||||
<p>The <code class="directive">AspNetMount</code> directive determines which
|
||||
physical directory is mounted by the ASP.NET host. This directive
|
||||
does -not- actually expose the content, you must use the
|
||||
<code class="directive"><a href="../mod/mod_alias.html#alias">Alias</a></code>
|
||||
directive to expose the content to the remote user.</p>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
|
||||
<div class="directive-section"><h2><a name="AspNetVersion" id="AspNetVersion">AspNetVersion</a> <a name="aspnetversion" id="aspnetversion">Directive</a></h2>
|
||||
<table class="directive">
|
||||
<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Force a specific .NET Framework version to be loaded</td></tr>
|
||||
<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>AspNetVersion <var>versionstring</var></code></td></tr>
|
||||
<tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config</td></tr>
|
||||
<tr><th><a href="directive-dict.html#Status">Status:</a></th><td>External</td></tr>
|
||||
<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_aspdotnet</td></tr>
|
||||
<tr><th><a href="directive-dict.html#Compatibility">Compatibility:</a></th><td>Build 2004 and later</td></tr>
|
||||
</table>
|
||||
|
||||
<p>The <code class="directive">AspNetVersion</code> directive will override the
|
||||
default (most current) .NET Framework environment, and elect a different
|
||||
installed version of the .NET Framework. The chosen version must be
|
||||
installed on the machine.</p>
|
||||
|
||||
<p>If this directive is not present, the most current .NET Framework version
|
||||
is used. This directive should be specified only once, only the last occurance
|
||||
in the httpd.conf file is used to elect the .NET Framework version.</p>
|
||||
|
||||
<p>See the c:\Windows\Microsoft.NET\Framework\ directory for all installed
|
||||
versions and their version tags (the actual directory names).</p>
|
||||
|
||||
<div class="example"><h3>Example:</h3><p><code>
|
||||
# Load mod_aspdotnet using the 1.0 release version of the .NET Framework
|
||||
AspNetVersion v1.0.3705<br />
|
||||
</code></p></div>
|
||||
|
||||
<div class="example"><h3>Example:</h3><p><code>
|
||||
# Load mod_aspdotnet using the 1.1 release version of the .NET Framework
|
||||
AspNetVersion v1.1.4322<br />
|
||||
</code></p></div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="bottomlang">
|
||||
<p><span>Available Languages: </span><a href="../en/mod/mod_aspdotnet.html" title="English"> en </a></p>
|
||||
</div><div id="footer">
|
||||
<p class="apache">Copyright 2006 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
|
||||
<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div>
|
||||
</body></html>
|
||||
@@ -1,228 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE modulesynopsis SYSTEM "http://httpd.apache.org/docs-2.0/style/modulesynopsis.dtd">
|
||||
<?xml-stylesheet type="text/xsl" href="http://httpd.apache.org/docs-2.0/style/manual.en.xsl"?>
|
||||
<!-- $LastChangedRevision$ -->
|
||||
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<modulesynopsis metafile="mod_aspdotnet.xml.meta">
|
||||
|
||||
<name>mod_aspdotnet</name>
|
||||
<description>Provides an interface for ASP.NET content between Apache HTTP
|
||||
Server 2.0 and Microsoft's ASP.NET host.</description>
|
||||
<status href="http://httpd.apache.org/mod_aspdotnet/">External</status>
|
||||
<sourcefile>mod_aspdotnet.cpp</sourcefile>
|
||||
<identifier>aspdotnet_module</identifier>
|
||||
<compatibility>Compatible only with httpd 2.0.44 and later.</compatibility>
|
||||
|
||||
<summary>
|
||||
<p>The <directive module="mod_aspdotnet">AspNet</directive> and
|
||||
<directive module="mod_aspdotnet">AspNetMount</directive> directives
|
||||
and asp.net handler provided by <module>mod_aspdotnet</module> are used
|
||||
to configure content to be served of the ASP.NET engine.</p>
|
||||
|
||||
<p>The current version is compatible with the .NET Framework versions 1.x
|
||||
(1.0, 1.1, etc). The current version is not compatible with .NET Framework
|
||||
version 2.0 although this may be addressed in the future.</p>
|
||||
|
||||
<p>Only modern Windows NT-based operating systems (2000, XP, 2003, etc) are
|
||||
supported. Older versions such as Windows 98 and ME are not, Windows NT 6
|
||||
requires Service Pack 6, and the module authors will not invest time or
|
||||
effort on these older versions. Do not contact the project regarding
|
||||
support of older operating systems.</p>
|
||||
</summary>
|
||||
|
||||
<seealso><a href="../handler.html">Configuring Handlers</a></seealso>
|
||||
|
||||
<section id="usage"><title>Usage</title>
|
||||
<p>Several global configurations must be given to enable the Apache
|
||||
HTTP Server to correctly serve ASP.NET application content.</p>
|
||||
|
||||
<example><title>Example:</title>
|
||||
LoadModule aspdotnet_module modules/mod_aspdotnet.so <br />
|
||||
<br />
|
||||
AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj \<br />
|
||||
|
||||
licx rem resources resx soap vb vbproj vsdisco webinfo<br />
|
||||
<br />
|
||||
AliasMatch "^/(?i)aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*)" \<br />
|
||||
|
||||
"C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4"<br />
|
||||
<br />
|
||||
<Directory "C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles"><br />
|
||||
Options FollowSymlinks<br />
|
||||
Order allow,deny<br />
|
||||
Allow from all<br />
|
||||
</Directory><br />
|
||||
</example>
|
||||
|
||||
<p>This will direct all requests for ASP.NET-releated files to the
|
||||
mod_aspdotnet handler, and serve Microsoft's ASP.NET client files
|
||||
and support scripts as expected by ASP.NET applications.</p>
|
||||
|
||||
<p>Provide individual <directive module="mod_aspdotnet"
|
||||
>AspNet</directive> and <directive module="mod_aspdotnet"
|
||||
>AspNetMount</directive> directives for each application (containing
|
||||
a unique web.config file at it's application root.)</p>
|
||||
|
||||
<example><title>Example:</title>
|
||||
AspNetMount /app-uri "C:/path/to/app"<br />
|
||||
Alias /app-uri "C:/path/to/app"<br />
|
||||
<Directory "C:/path/to/app"><br />
|
||||
Options FollowSymlinks Indexes<br />
|
||||
AspNet files<br />
|
||||
Order allow,deny<br />
|
||||
Allow from all<br />
|
||||
DirectoryIndex default.htm default.aspx<br />
|
||||
</Directory><br />
|
||||
</example>
|
||||
|
||||
</section>
|
||||
|
||||
<directivesynopsis>
|
||||
<name>AspNet</name>
|
||||
|
||||
<description>Enables mod_aspdotnet to process ASP.NET content</description>
|
||||
<syntax>AspNet [[<var>Files</var>] [<var>Directories</var>]
|
||||
[<var>Virtual</var>] [<var>Errors</var>]]
|
||||
| [<var>All</var>] | [<var>None</var>]</syntax>
|
||||
<default>AspNet None</default>
|
||||
<contextlist><context>server config</context><context>virtual host</context>
|
||||
<context>directory</context><context>.htaccess</context>
|
||||
</contextlist>
|
||||
<override>Options</override>
|
||||
<compatibility>Build 2004 and later</compatibility>
|
||||
|
||||
<usage>
|
||||
|
||||
<p>The <directive>AspNet</directive> directive determines what content
|
||||
may be served by the ASP.NET host. This directive does -not- actually
|
||||
expose the content or mount the URI to physical files, you must use the
|
||||
<directive module="mod_alias">Alias</directive> and
|
||||
<directive>AspNetMount</directive> directives to expose the content
|
||||
to the remote user.</p>
|
||||
|
||||
<p>The <directive>AspNet</directive> <var>files</var> directive is
|
||||
the equivilant for ASP.NET files to the behavior of Options ExecCGI
|
||||
for CGI content. In the original version of mod_aspdotnet, in fact,
|
||||
Options ExecCGI was used to determine if ASP.NET content would be
|
||||
invoked through mod_aspdotnet. In version 2.0.2 and later, this is
|
||||
no longer true, and your configuration files must be updated from
|
||||
Options ExecCGI to AspNet files.</p>
|
||||
|
||||
<p>The None option disables all ASP.NET processing, while the individual
|
||||
options below enable ASP.NET processing for specific request types:</p>
|
||||
|
||||
<dl>
|
||||
<dt><code>All</code></dt>
|
||||
|
||||
<dd>All options below. This is generally not a recommended setting.</dd>
|
||||
|
||||
<dt><code>Files</code></dt>
|
||||
|
||||
<dd>Files that exist in the filesystem, which are directed to the
|
||||
asp.net handler.</dd>
|
||||
|
||||
<dt><code>Directories</code></dt>
|
||||
|
||||
<dd>Directories that exist in the filesystem, which are directed to the
|
||||
asp.net handler. This can be used to invoke an HttpHandler to produce
|
||||
custom directory listings.</dd>
|
||||
|
||||
<dt><code>Virtual</code></dt>
|
||||
|
||||
<dd>Requests that map to neither a file nor directory in the filesystem,
|
||||
which are directed to the asp.net handler. This is used to invoke any
|
||||
HttpHandler which accesses non-file based resources, such as ASP.NET
|
||||
remoting requests.</dd>
|
||||
|
||||
<dt><code>Error</code></dt>
|
||||
|
||||
<dd>Error result pages generated by ASP.NET. This option bypasses the
|
||||
normal Apache ErrorDocument error content. This is required to return
|
||||
the full debugging results from the ASP.NET environment in development
|
||||
environments. Caution is urged before using this option in production
|
||||
environments, where path-revealing flaws should be avoided.</dd>
|
||||
|
||||
</dl>
|
||||
|
||||
<p>Normally, if multiple <directive>AspNet</directive> directives could
|
||||
apply to a directory, then the most specific one is used and others are
|
||||
ignored; the AspNet directives are never merged. See <a
|
||||
href="../sections.html#mergin">how sections are merged</a> for a better
|
||||
understanding of which Files, Directory, or Location section will take
|
||||
precedence.</p>
|
||||
|
||||
</usage>
|
||||
</directivesynopsis>
|
||||
|
||||
<directivesynopsis>
|
||||
<name>AspNetMount</name>
|
||||
|
||||
<description>Mounts a URI to a physical ASP.NET directory</description>
|
||||
<syntax>AspNetMount <var>URL-path</var> <var>directory-path</var></syntax>
|
||||
<contextlist><context>server config</context>
|
||||
</contextlist>
|
||||
|
||||
<usage>
|
||||
|
||||
<p>The <directive>AspNetMount</directive> directive determines which
|
||||
physical directory is mounted by the ASP.NET host. This directive
|
||||
does -not- actually expose the content, you must use the
|
||||
<directive module="mod_alias">Alias</directive>
|
||||
directive to expose the content to the remote user.</p>
|
||||
|
||||
</usage>
|
||||
</directivesynopsis>
|
||||
|
||||
<directivesynopsis>
|
||||
<name>AspNetVersion</name>
|
||||
|
||||
<description>Force a specific .NET Framework version to be loaded</description>
|
||||
<syntax>AspNetVersion <var>versionstring</var></syntax>
|
||||
<contextlist><context>server config</context>
|
||||
</contextlist>
|
||||
<compatibility>Build 2004 and later</compatibility>
|
||||
|
||||
<usage>
|
||||
|
||||
<p>The <directive>AspNetVersion</directive> directive will override the
|
||||
default (most current) .NET Framework environment, and elect a different
|
||||
installed version of the .NET Framework. The chosen version must be
|
||||
installed on the machine.</p>
|
||||
|
||||
<p>If this directive is not present, the most current .NET Framework version
|
||||
is used. This directive should be specified only once, only the last occurance
|
||||
in the httpd.conf file is used to elect the .NET Framework version.</p>
|
||||
|
||||
<p>See the c:\Windows\Microsoft.NET\Framework\ directory for all installed
|
||||
versions and their version tags (the actual directory names).</p>
|
||||
|
||||
<example><title>Example:</title>
|
||||
# Load mod_aspdotnet using the 1.0 release version of the .NET Framework
|
||||
AspNetVersion v1.0.3705<br />
|
||||
</example>
|
||||
|
||||
<example><title>Example:</title>
|
||||
# Load mod_aspdotnet using the 1.1 release version of the .NET Framework
|
||||
AspNetVersion v1.1.4322<br />
|
||||
</example>
|
||||
|
||||
</usage>
|
||||
</directivesynopsis>
|
||||
</modulesynopsis>
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<metafile>
|
||||
<basename>mod_aspdotnet</basename>
|
||||
<path>/mod/</path>
|
||||
<relpath>..</relpath>
|
||||
|
||||
<variants>
|
||||
<variant>en</variant>
|
||||
</variants>
|
||||
</metafile>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -54,7 +54,7 @@
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<p>Microsoft Visual C++ 5.0 or higher.</p>
|
||||
<p>Microsoft Visual C++ (Microsoft Visual Studio) 5.0 or higher.</p>
|
||||
<p>Apache can be built using the command line tools, or from
|
||||
within the Visual Studio IDE Workbench. The command line
|
||||
build requires the environment to reflect the <code>PATH</code>,
|
||||
@@ -68,8 +68,8 @@
|
||||
|
||||
<li>
|
||||
<p>The Windows Platform SDK.</p>
|
||||
<p>Visual C++ 5.0 builds require an updated Microsoft Windows
|
||||
Platform SDK to enable some Apache features. For command line
|
||||
<p>Apache's APR and APR-util builds require an updated Microsoft
|
||||
Windows Platform SDK, from 2003 or later. For command line
|
||||
builds, the Platform SDK environment is prepared by the
|
||||
<code>setenv</code> batch file:</p>
|
||||
|
||||
@@ -77,22 +77,18 @@
|
||||
"c:\Program Files\Platform SDK\setenv.bat"
|
||||
</code></p></div>
|
||||
|
||||
<p>The Platform SDK files distributed with Visual C++ 6.0 and
|
||||
later are sufficient, so users of later version may skip
|
||||
this requirement.</p>
|
||||
|
||||
<div class="note">Note that the Windows Platform SDK update is required
|
||||
to enable all supported <code class="module"><a href="../mod/mod_isapi.html">mod_isapi</a></code> features.
|
||||
Without a recent update, Apache will issue warnings under
|
||||
MSVC++ 5.0 that some <code class="module"><a href="../mod/mod_isapi.html">mod_isapi</a></code> features
|
||||
will be disabled. Look for the update at <a href="http://msdn.microsoft.com/downloads/sdks/platform/platform.asp">http://msdn.microsoft.com/downloads/sdks/platform/platform.asp</a>.</div>
|
||||
<p>The Platform SDK files distributed with Visual C++ 5.0, 6.0
|
||||
and Visual Studio .NET (2000) are no longer sufficient.
|
||||
Users of Visual Studio 2003 and later versions (of the full product,
|
||||
not the 'express' flavor) and later versions may skip this
|
||||
requirement.</p>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<p>The awk utility (awk, gawk or similar).</p>
|
||||
<p>To install Apache within the build system, several files are
|
||||
modified using the <code>awk.exe</code> utility. awk was chosen since it
|
||||
is a very small download (compared with Perl or WSH/VB) and
|
||||
modified using the <code>awk.exe</code> utility. awk was chosen since
|
||||
it is a very small download (compared with Perl or WSH/VB) and
|
||||
accomplishes the task of generating files. Brian Kernighan's
|
||||
<a href="http://cm.bell-labs.com/cm/cs/who/bwk/">http://cm.bell-labs.com/cm/cs/who/bwk/</a>
|
||||
site has a compiled native Win32 binary,
|
||||
@@ -107,11 +103,16 @@
|
||||
to this list, and your system <code>PATH</code> environment variable,
|
||||
as needed.</div>
|
||||
|
||||
<div class="note">Also note that if you are using Cygwin (<a href="http://www.cygwin.com/">http://www.cygwin.com/</a>) the awk utility is named <code>gawk.exe</code> and
|
||||
that the file <code>awk.exe</code> is really a symlink to the <code>gawk.exe</code>
|
||||
file. The Windows command shell does not recognize symlinks, and because of that
|
||||
building InstallBin will fail. A workaround is to delete <code>awk.exe</code> from
|
||||
the cygwin installation and rename <code>gawk.exe</code> to <code>awk.exe</code>.</div>
|
||||
<div class="note">Also note that if you are using Cygwin tools
|
||||
(<a href="http://www.cygwin.com/">http://www.cygwin.com/</a>)
|
||||
the awk utility is named <code>gawk.exe</code> and that the file
|
||||
<code>awk.exe</code> is really a symlink to the <code>gawk.exe</code>
|
||||
file. The Windows command shell does not recognize symlinks, and
|
||||
because of that building InstallBin will fail. A workaround is
|
||||
to delete <code>awk.exe</code> from the cygwin installation and
|
||||
copy <code>gawk.exe</code> to <code>awk.exe</code>. Also note the
|
||||
cygwin/mingw ports of gawk 3.0.x were buggy, please upgrade to 3.1.x
|
||||
before attempting to use any gawk port.</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="EUC-KR" ?>
|
||||
<!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
|
||||
<?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
|
||||
<!-- English Revision: 105989:420990 (outdated) -->
|
||||
<!-- English Revision: 105989:421751 (outdated) -->
|
||||
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
|
||||
@@ -168,7 +168,6 @@ Server on HPUX</a></li>
|
||||
<li><a href="mod/mod_actions.html">Apache Module mod_actions</a></li>
|
||||
<li><a href="mod/mod_alias.html">Apache Module mod_alias</a></li>
|
||||
<li><a href="mod/mod_asis.html">Apache Module mod_asis</a></li>
|
||||
<li><a href="mod/mod_aspdotnet.html">Apache Module mod_aspdotnet</a></li>
|
||||
<li><a href="mod/mod_auth_basic.html">Apache Module mod_auth_basic</a></li>
|
||||
<li><a href="mod/mod_auth_digest.html">Apache Module mod_auth_digest</a></li>
|
||||
<li><a href="mod/mod_authn_anon.html">Apache Module mod_authn_anon</a></li>
|
||||
|
||||
Reference in New Issue
Block a user