You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2004/10/31 02:28:22 UTC

cvs commit: httpd-site/docs/cli mod_aspdotnet.html

wrowe       2004/10/30 17:28:22

  Modified:    docs/cli mod_aspdotnet.html
  Log:
    Much better.  Manually massaged after running through the docs/manual/
    build process and hard linking to the httpd.apache.org/docs-2.0/ resources.
  
  Revision  Changes    Path
  1.2       +112 -70   httpd-site/docs/cli/mod_aspdotnet.html
  
  Index: mod_aspdotnet.html
  ===================================================================
  RCS file: /home/cvs/httpd-site/docs/cli/mod_aspdotnet.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- mod_aspdotnet.html	30 Oct 2004 21:51:42 -0000	1.1
  +++ mod_aspdotnet.html	31 Oct 2004 00:28:22 -0000	1.2
  @@ -1,70 +1,112 @@
  -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  -               "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  -<html>
  - <head>
  -  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
  -      <title>$root.getChild("properties").getChild("title").getText() - The Apache HTTP Server Project</title>
  - </head>
  - <body bgcolor="#ffffff" text="#000000" link="#525D76">
  -<p><a href="/"><img src="../images/httpd_logo_wide.gif" alt="The Apache HTTP Server Project" border="0"/></a></p>
  - <table border="0" width="100%" cellspacing="4">
  -   <tr>
  -    <!-- LEFT SIDE NAVIGATION -->
  -    <td valign="top" nowrap="nowrap">
  -      <a href="http://apachecon.com/"
  -        ><img src="http://www.apache.org/images/ac2004us_logo_only.gif" height="100"
  -           width="170" border="0" alt="ApacheCon 2004" /></a>
  -           <p><b>Essentials</b></p>
  -    <menu compact="compact">
  -          <li><a href="/ABOUT_APACHE.html">About</a></li>
  -          <li><a href="http://www.apache.org/licenses/">License</a></li>
  -          <li><a href="/docs/misc/FAQ.html">FAQ</a></li>
  -          <li><a href="/security_report.html">Security<br />Reports</a></li>
  -        </menu>
  -      <p><b>Download!</b></p>
  -    <menu compact="compact">
  -          <li><a href="/download.cgi">from a mirror</a></li>
  -        </menu>
  -      <p><b><a 
  -href="/docs-project/">Documentation</a></b></p>
  -    <menu compact="compact">
  -          <li><a href="/docs/">Apache 1.3</a></li>
  -          <li><a href="/docs-2.0/">Apache 2.0</a></li>
  -        </menu>
  -      <p><b>Get Involved</b></p>
  -    <menu compact="compact">
  -          <li><a href="/lists.html">Mailing Lists</a></li>
  -          <li><a href="/bug_report.html">Bug Reports</a></li>
  -          <li><a href="/dev/">Developer Info</a></li>
  -        </menu>
  -      <p><b>Subprojects</b></p>
  -    <menu compact="compact">
  -          <li><a href="/docs-project/">Docs</a></li>
  -          <li><a href="/test/">Test</a></li>
  -          <li><a href="/test/flood/">Flood</a></li>
  -          <li><a href="/apreq/">libapreq</a></li>
  -          <li><a href="/modules/">Modules</a></li>
  -        </menu>
  -      <p><b><a 
  -href="/info/">Miscellaneous</a></b></p>
  -    <menu compact="compact">
  -          <li><a href="/contributors/">Contributors</a></li>
  -          <li><a href="/awards.html">Awards</a></li>
  -          <li><a href="http://webring.com/hub?ring=apachesupport">Support<br />Webring</a></li>
  -        </menu>
  -    </td>
  -    <!-- RIGHT SIDE INFORMATION -->
  -    <td align="left" valign="top">
  -              </td>
  -   </tr>
  -   <!-- FOOTER -->
  -   <tr><td colspan="2"><hr noshade="noshade" size="1"/></td></tr>
  -   <tr><td colspan="2" align="center">
  -        <font size="-1">
  -         <em>Copyright &#169; 1999-2004, The Apache Software Foundation</em>
  -        </font>
  -       </td>
  -   </tr>
  -  </table>
  - </body>
  -</html>
  +<?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="http://httpd.apache.org/docs-2.0/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
  +<link href="http://httpd.apache.org/docs-2.0/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
  +<link href="http://httpd.apache.org/docs-2.0/style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
  +<link href="http://httpd.apache.org/favicon.ico" rel="shortcut icon" /></head>
  +<body>
  +<div id="page-header">
  +<p class="apache">Apache HTTP Server Version 2.0</p>
  +<img alt="" src="http://httpd.apache.org/docs-2.0/images/feather.gif" /></div>
  +<div id="path">
  +<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP Server</a> &gt; <a href="http://httpd.apache.org/cli/">CLI Subproject</a></div>
  +<div id="page-content">
  +<div id="preamble"><h1>Apache Module mod_aspdotnet</h1>
  +<table class="module"><tr><th><a href="http://httpd.apache.org/docs-2.0/mod/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="http://httpd.apache.org/docs-2.0/mod/module-dict.html#Status">Status:</a></th><td>Base</td></tr>
  +<tr><th><a href="http://httpd.apache.org/docs-2.0/mod/module-dict.html#ModuleIdentifier">Module�Identifier:</a></th><td>aspdotnet_module</td></tr>
  +<tr><th><a href="http://httpd.apache.org/docs-2.0/mod/module-dict.html#SourceFile">Source�File:</a></th><td>mod_aspdotnet.cpp</td></tr>
  +<tr><th><a href="http://httpd.apache.org/docs-2.0/mod/module-dict.html#Compatibility">Compatibility:</a></th><td>Compatible only with httpd 2.0.43 and later.</td></tr></table>
  +<h3>Summary</h3>
  +
  +    <p>The <code class="directive"><a href="#aspnetmount">AspNetMount</a></code> 
  +    directive and asp.net handler provided by <code class="module">mod_aspdotnet</code> 
  +    are used to configure content to be served of the ASP.NET engine.</p>
  +</div>
  +<div id="quickview"><h3 class="directives">Directives</h3>
  +<ul id="toc">
  +<li><img alt="" src="http://httpd.apache.org/docs-2.0/images/down.gif" /> <a href="#aspnetmount">AspNetMount</a></li>
  +</ul>
  +<h3>Topics</h3>
  +<ul id="topics">
  +<li><img alt="" src="http://httpd.apache.org/docs-2.0/images/down.gif" /> <a href="#usage">Usage</a></li>
  +</ul><h3>See also</h3>
  +<ul class="seealso">
  +<li><a href="http://httpd.apache.org/docs-2.0//handler.html">Configuring Handlers</a></li>
  +</ul></div>
  +<div class="top"><a href="#page-header"><img alt="top" src="http://httpd.apache.org/docs-2.0/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 "http://httpd.apache.org/docs-2.0/modules/mod_aspdotnet.so" <br />
  +<br />
  +AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj \<br />
  +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  +           licx rem resources resx soap vb vbproj vsdisco webinfo<br />
  +<br />
  +AliasMatch "^/(?i)aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*)" \<br />
  +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  +           "C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$5"<br />
  +&lt;Directory "C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles"&gt;<br />
  +&nbsp;&nbsp;&nbsp;&nbsp;Options FollowSymlinks<br />
  +&nbsp;&nbsp;&nbsp;&nbsp;Order allow,deny<br />
  +&nbsp;&nbsp;&nbsp;&nbsp;Allow from all<br />
  +&lt;/Directory&gt;<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="#aspnetmount">AspNetMount</a></code>
  +    directives for each application (containing a unique web.config file
  +    at it's application root.)</p>
  +
  +</div>
  +<div class="top"><a href="#page-header"><img alt="top" src="http://httpd.apache.org/docs-2.0/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="http://httpd.apache.org/docs-2.0/mod/directive-dict.html#Description">Description:</a></th><td>Mounts a URI to a physical ASP.NET directory</td></tr>
  +<tr><th><a href="http://httpd.apache.org/docs-2.0/mod/directive-dict.html#Syntax">Syntax:</a></th><td><code> AspNetMount /app-uri c:/path/to/app
  +    all|<var>host</var>|env=<var>env-variable</var>
  +    [<var>host</var>|env=<var>env-variable</var>] ...</code></td></tr>
  +<tr><th><a href="http://httpd.apache.org/docs-2.0/mod/directive-dict.html#Context">Context:</a></th><td>directory, .htaccess</td></tr>
  +<tr><th><a href="http://httpd.apache.org/docs-2.0/mod/directive-dict.html#Override">Override:</a></th><td>Limit</td></tr>
  +<tr><th><a href="http://httpd.apache.org/docs-2.0/mod/directive-dict.html#Status">Status:</a></th><td>Base</td></tr>
  +<tr><th><a href="http://httpd.apache.org/docs-2.0/mod/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="http://httpd.apache.org/docs-2.0/mod/mod_alias.html#alias">Alias</a></code>
  +    directive to expose the content to the remote user.</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 />
  +&lt;Directory "C:/path/to/app"&gt;<br />
  +&nbsp;&nbsp;&nbsp;&nbsp;Options FollowSymlinks Indexes Includes ExecCGI<br />
  +&nbsp;&nbsp;&nbsp;&nbsp;Order allow,deny<br />
  +&nbsp;&nbsp;&nbsp;&nbsp;Allow from all<br />
  +&nbsp;&nbsp;&nbsp;&nbsp;DirectoryIndex default.htm default.aspx<br />
  +&lt;/Directory&gt;<br />
  +    </code></p></div>
  +
  +
  +</div>
  +</div>
  +<div id="footer">
  +<p class="apache">Copyright 2004 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>
  +</div>
  +</body></html>
  \ No newline at end of file