Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./.././../../../../server/data/WWW/manual.neu/devnotes.html
Real path: /www/server/data/WWW/manual.neu/devnotes.html
Zurück
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <link href="/css/apsite.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> <meta name="author" content="Documentation Group" /><meta name="email" content="docs@httpd.apache.org" /> <title>Apache Development Notes - The Apache HTTP Server Project</title> </head> <body> <div id="page-header"> <p class="menu"> </p> <p class="apache"> </p> <a href="/"> <img alt="" width="800" height="72" src="/images/httpd_logo_wide_new.png" /> </a> </div> <!-- LEFT SIDE NAVIGATION --> <div id="apmenu"> <h1 id="essentials">Essentials</h1> <ul> <li><a href="/ABOUT_APACHE.html">About</a></li> <li><a href="http://www.apache.org/licenses/">License</a></li> <li><a href="http://wiki.apache.org/httpd/FAQ">FAQ</a></li> <li><a href="/security_report.html">Security Reports</a></li> </ul> <h1 id="downloading">Download!</h1> <ul> <li><a href="/download.cgi">From a Mirror</a></li> </ul> <h1 id="documentation"><a href="/docs/">Documentation</a></h1> <ul> <li><a href="/docs/2.4/">Version 2.4</a></li> <li><a href="/docs/2.2/">Version 2.2</a></li> <li><a href="/docs/2.0/">Version 2.0</a></li> <li><a href="/docs/trunk/">Trunk (dev)</a></li> <li><a href="http://wiki.apache.org/httpd/">Wiki</a></li> </ul> <h1 id="get-support">Get Support</h1> <ul> <li><a href="/support.html">Support</a></li> </ul> <h1 id="get-involved">Get Involved</h1> <ul> <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> </ul> <h1 id="subprojects">Subprojects</h1> <ul> <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> <li><a href="/mod_fcgid/">mod_fcgid</a></li> <li><a href="/mod_ftp/">mod_ftp</a></li> </ul> <h1 id="miscellaneous"><a href="/info/">Miscellaneous</a></h1> <ul> <li><a href="/contributors/">Contributors</a></li> <li><a href="http://www.apache.org/foundation/thanks.html">Sponsors</a></li> <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li> </ul> </div> <!-- RIGHT SIDE INFORMATION --> <div id="apcontents"> <h1 id="apache-development-notes">Apache Development Notes</h1> <p>This page is intended to provide some basic background about development nits and the maintenance of the developer site.</p> <h1 id="overview">Overview</h1> <p>The Apache HTTP Server Project has switched to <a href="http://subversion.apache.org/">Subversion</a> for hosting its source code.</p> <p>To check out the 2.4.x branch:</p> <blockquote> <p><code>svn checkout http://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x httpd-2.4.x</code> </p> </blockquote> <p>To check out the current development version (as of this writing, 2.5.x), use:</p> <blockquote> <p><code>svn checkout http://svn.apache.org/repos/asf/httpd/httpd/trunk httpd-trunk</code> </p> </blockquote> <p>Committers should check out via https instead of http (so that they can commit their changes). For more info about Subversion, please read <a href="http://www.apache.org/dev/version-control.html">the ASF version control FAQ</a>.</p> <p>The developers continue to seek to maintain module compatibility between 2.4.1 and future 2.4 releases for administrators and end users, while continuing the forward progress that has made the 2.2 server faster and more scalable.</p> <h1 id="maintaining-the-sources">Maintaining the Sources</h1> <p>Almost all files relating to Apache, both the actual sources and the files that aren't part of the distribution, are now maintained in an <a href="http://subversion.apache.org/">SVN</a> repository. Here is the way in which changes are applied:</p> <ol> <li>Developer checks out a copy of the files on which he wants to work (in this case, the trunk), into a private working directory called <samp>httpd-trunk</samp>:</li> </ol> <dl> <dd><samp>% svn checkout http://svn.apache.org/repos/asf/httpd/httpd/trunk httpd-trunk</samp></dd> </dl> <p>This step only needs to be performed once (unless the private working directory is tainted or deleted.) Committers should use a URL prefix of <samp>https</samp> on the checkout, to save themselves headaches later.</p> <ol> <li>Developer keeps his working directory synchronised with changes made to the repository:</li> </ol> <dl> <dd><samp>% svn update httpd-trunk</samp></dd> </dl> <p>This should probably be done daily or even more frequently during periods of high activity.</p> <ol> <li>Developer makes changes to his working copies, makes sure they work, and generates a patch so others can apply the changes to test them:</li> </ol> <dl> <dd><samp>% svn diff httpd-trunk/modules/http/mod_mime.c > /tmp/foo</samp></dd> </dl> <p>The <samp>/tmp/foo</samp> file is mailed to the <a href="http://httpd.apache.org/lists.html#http-dev">developers list</a> so they can consider the value/validity of the patch. It is worth making sure your code follows the Apache style, as described in the <a href="styleguide.html">style guide</a>.</p> <ol> <li>Once other developers have agreed that the change is a Good Thing, the developer checks the changes into the repository:</li> </ol> <dl> <dd><samp>% svn commit httpd-trunk/modules/http/mod_mime.c</samp></dd> </dl> <h1 id="svn-subtrees">SVN Subtrees</h1> <p>There are several different branches under the <samp>httpd</samp> subtree in the Apache SVN repository that pertain to the different releases. The top level can be perused with the <a href="http://svn.apache.org/viewcvs.cgi/">SVN ViewCVS</a> pages. The main subtrees pertaining to the <samp>httpd</samp>server source are:</p> <h2 id="httpd-22">httpd-2.2</h2> <p>To create a directory tree containing the 2.2 sources, and call it <samp>httpd-2.2</samp>, change your current directory to the <em>parent</em> of the tree and then check the 2.2 sources out as follows: <pre> % cd /usr/local/apache % svn checkout http://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x httpd-2.2</pre></p> <h2 id="httpd-24">httpd-2.4</h2> <p>To create a directory tree containing the 2.4 sources, and call it <samp>httpd-2.4</samp>, change your current directory to the <em>parent</em> of the tree and then check the 2.4 sources out as follows: <pre> % cd /usr/local/apache % svn checkout http://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x httpd-2.4</pre></p> <h2 id="httpd-25">httpd-2.5</h2> <p>If you want to check out the bleeding edge of development, the httpd-2.5 development tree (slated for a release 2.6), and call it <samp>httpd-trunk</samp>, checkout as follows: <pre> % cd /usr/local/apache % svn checkout http://svn.apache.org/repos/asf/httpd/httpd/trunk httpd-trunk</pre></p> <h2 id="httpd-site">httpd-site</h2> <p>This subtree contains the files that live at <samp>http://httpd.apache.org/</samp>. The directory on the host that maps to that URL is actually a set of checked-out working copies of the SVN files.</p> <p>The SVN URL is <samp>https://svn.apache.org/repos/asf/httpd/site/trunk/docs</samp>. <make_note>It is important that the files on the Web host not be modified directly. If you want or need to change one, check it out into a private working copy, modify <strong>that</strong> , commit the change into SVN, and then perform a <samp>svn update</samp>to bring the host directory into sync with the SVN sources.</make_note> The Web site <em>directories</em> (as opposed to files) are not maintained in synch with the SVN files automatically. They are manually updated from SVN by various people as they consider appropriate. This is usually not an issue, unless a group of files are being updated according to an ongoing group discussion.</p> <h2 id="httpd-dist">httpd-dist</h2> <p>Like the <samp>httpd-site</samp>subtree, this one is used to maintain the files that comprise a website - in this case, <samp>http://www.apache.org/dist/httpd/</samp>. Also like the previous subtree, the directory on the server is a checked-out working copy of this subtree. However, since this is a distribution directory, we only have the surrounding documentation and control files checked into this subtree -- the actual tarballs are simply copied to www.apache.org.</p> <p>The SVN URL is <samp>https://svn.apache.org/repos/asf/httpd/httpd/dist</samp>.</p> <p>Committers will generally deal with this subtree when "rolling" a release. This is a series of steps taken to create a complete new release of the Apache httpd software. Amongst other things, the key to this subtree is the <samp>tools/</samp>directory, which contains the <samp>release.sh</samp>shell script. More information on the policies and procedures relating to rolling releases can be found on the <a href="release.html">Release Guidelines</a> page.</p> <h1 id="setting-up-remote-svn">Setting Up Remote SVN</h1> <p>A brief overview of getting started with SVN committer access can be found <a href="http://www.apache.org/dev/version-control.html#https-svn">here</a>. One key change to note is that SSH is not used anymore for committer access, due to the functional differences with SVN.</p> <!-- FOOTER --> <div id="footer"> <p>Copyright © 2012 The Apache Software Foundation.<br /> Apache HTTP Server, Apache, and the Apache feather logo are trademarks of The Apache Software Foundation.</p> </div> </div> </body> </html>