~ubuntu-branches/ubuntu/raring/apache2/raring

« back to all changes in this revision

Viewing changes to docs/manual/mod/mod_alias.html.en

  • Committer: Package Import Robot
  • Author(s): Steve Beattie
  • Date: 2011-09-06 01:17:15 UTC
  • mfrom: (14.3.28 sid)
  • Revision ID: package-import@ubuntu.com-20110906011715-tca9jwg0gxy0gxt0
Tags: 2.2.20-1ubuntu1
* Merge from debian unstable to fix CVE-2011-3192 (LP: #837991).
  Remaining changes:
  - debian/{control, rules}: Enable PIE hardening.
  - debian/{control, rules, apache2.2-common.ufw.profile}: Add ufw profiles.
  - debian/control: Add bzr tag and point it to our tree
  - debian/apache2.py, debian/apache2.2-common.install: Add apport hook.
  - debian/control, debian/ask-for-passphrase, debian/config-dir/mods-available/ssl.conf:
    Plymouth aware passphrase dialog program ask-for-passphrase.

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
      Alias /image /ftp/pub/image
128
128
    </code></p></div>
129
129
 
130
 
    <p>A request for <code>http://myserver/image/foo.gif</code> would cause
 
130
    <p>A request for <code>http://example.com/image/foo.gif</code> would cause
131
131
    the server to return the file <code>/ftp/pub/image/foo.gif</code>.  Only
132
132
    complete path segments are matched, so the above alias would not match a
133
 
    request for <code>http://myserver/imagefoo.gif</code>.  For more complex
 
133
    request for <code>http://example.com/imagefoo.gif</code>.  For more complex
134
134
    matching using regular expressions, see the <code class="directive"><a href="#aliasmatch">AliasMatch</a></code> directive.</p>
135
135
 
136
136
    <p>Note that if you include a trailing / on the
421
421
      ScriptAlias /cgi-bin/ /web/cgi-bin/
422
422
    </code></p></div>
423
423
 
424
 
    <p>A request for <code>http://myserver/cgi-bin/foo</code> would cause the
 
424
    <p>A request for <code>http://example.com/cgi-bin/foo</code> would cause the
425
425
    server to run the script <code>/web/cgi-bin/foo</code>.  This configuration
426
426
    is essentially equivalent to:</p>
427
427
    <div class="example"><p><code>