This file is indexed.

/usr/share/doc/racket/plai/web.html is in racket-doc 6.7-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

1
2
3
4
5
6
7
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/><title>7&nbsp;Web Application Scheme</title><link rel="stylesheet" type="text/css" href="../scribble.css" title="default"/><link rel="stylesheet" type="text/css" href="../racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-style.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../doc-site.css" title="default"/><script type="text/javascript" src="../scribble-common.js"></script><script type="text/javascript" src="../manual-racket.js"></script><script type="text/javascript" src="../doc-site.js"></script><script type="text/javascript" src="../local-redirect/local-redirect.js"></script><script type="text/javascript" src="../local-redirect/local-user-redirect.js"></script><!--[if IE 6]><style type="text/css">.SIEHidden { overflow: hidden; }</style><![endif]--></head><body id="doc-racket-lang-org"><div class="tocset"><div class="tocview"><div class="tocviewlist tocviewlisttopspace"><div class="tocviewtitle"><table cellspacing="0" cellpadding="0"><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick="TocviewToggle(this,&quot;tocview_0&quot;);">&#9660;</a></td><td></td><td><a href="index.html" class="tocviewlink" data-pltdoc="x"><span style="font-style: italic">Programming Languages:<span class="mywbr"> &nbsp;</span> Application and Interpretation</span></a></td></tr></table></div><div class="tocviewsublisttop" style="display: block;" id="tocview_0"><table cellspacing="0" cellpadding="0"><tr><td align="right">1&nbsp;</td><td><a href="plai-scheme.html" class="tocviewlink" data-pltdoc="x">PLAI Scheme</a></td></tr><tr><td align="right">2&nbsp;</td><td><a href="collector.html" class="tocviewlink" data-pltdoc="x">GC Collector Scheme</a></td></tr><tr><td align="right">3&nbsp;</td><td><a href="mutator.html" class="tocviewlink" data-pltdoc="x">GC Mutator Scheme</a></td></tr><tr><td align="right">4&nbsp;</td><td><a href="gc2-collector.html" class="tocviewlink" data-pltdoc="x">GC Collector Language, 2</a></td></tr><tr><td align="right">5&nbsp;</td><td><a href="gc2-mutator.html" class="tocviewlink" data-pltdoc="x">GC Mutator Language, 2</a></td></tr><tr><td align="right">6&nbsp;</td><td><a href="Generating_Random_Mutators.html" class="tocviewlink" data-pltdoc="x">Generating Random Mutators</a></td></tr><tr><td align="right">7&nbsp;</td><td><a href="" class="tocviewselflink" data-pltdoc="x">Web Application Scheme</a></td></tr></table></div></div><div class="tocviewlist"><table cellspacing="0" cellpadding="0"><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick="TocviewToggle(this,&quot;tocview_1&quot;);">&#9658;</a></td><td>7&nbsp;</td><td><a href="" class="tocviewselflink" data-pltdoc="x">Web Application Scheme</a></td></tr></table><div class="tocviewsublistbottom" style="display: none;" id="tocview_1"><table cellspacing="0" cellpadding="0"><tr><td align="right">7.1&nbsp;</td><td><a href="#%28part._.Web_.Application_.Exports%29" class="tocviewlink" data-pltdoc="x">Web Application Exports</a></td></tr></table></div></div></div><div class="tocsub"><div class="tocsubtitle">On this page:</div><table class="tocsublist" cellspacing="0"><tr><td><span class="tocsublinknumber">7.1<tt>&nbsp;</tt></span><a href="#%28part._.Web_.Application_.Exports%29" class="tocsubseclink" data-pltdoc="x">Web Application Exports</a></td></tr><tr><td><a href="#%28def._%28%28lib._plai%2Fscribblings%2Ffake-web..rkt%29._start%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">start</span></span></a></td></tr></table></div></div><div class="maincolumn"><div class="main"><div class="navsettop"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, &quot;6.7&quot;, &quot;../&quot;);" onfocus="this.style.color=&quot;black&quot;; this.style.textAlign=&quot;left&quot;; if (this.value == &quot;...search manuals...&quot;) this.value=&quot;&quot;;" onblur="if (this.value.match(/^ *$/)) { this.style.color=&quot;#888&quot;; this.style.textAlign=&quot;center&quot;; this.value=&quot;...search manuals...&quot;; }"/></form>&nbsp;&nbsp;<a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot(&quot;6.7&quot;);">top</a></span><span class="navright">&nbsp;&nbsp;<a href="Generating_Random_Mutators.html" title="backward to &quot;6 Generating Random Mutators&quot;" data-pltdoc="x">&larr; prev</a>&nbsp;&nbsp;<a href="index.html" title="up to &quot;Programming Languages: Application and Interpretation&quot;" data-pltdoc="x">up</a>&nbsp;&nbsp;<span class="nonavigation">next &rarr;</span></span>&nbsp;</div><h3 x-source-module="(lib &quot;plai/scribblings/plai.scrbl&quot;)" x-source-pkg="plai-doc" x-part-tag="&quot;web&quot;">7<tt>&nbsp;</tt><a name="(part._web)"></a><a name="(mod-path._plai/web)"></a>Web Application Scheme</h3><p><table cellspacing="0" cellpadding="0" class="defmodule"><tr><td align="left"><span class="hspace">&nbsp;</span><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=guide&amp;rel=Module_Syntax.html%23%2528part._hash-lang%2529&amp;version=6.7" class="RktModLink Sq" data-pltdoc="x"><span class="RktMod">#lang</span></a><span class="hspace">&nbsp;</span><a href="" class="RktModLink" data-pltdoc="x"><span class="RktSym">plai/web</span></a></td><td align="right"><span class="RpackageSpec"><span class="Smaller">&nbsp;package:</span> <span class="stt">plai-lib</span></span></td></tr></table></p><p>The Web Application Scheme language allows you to write server-side Web applications for the
PLT Web Server.</p><p>For more information about writing Web applications, see:
<a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=web-server&amp;rel=index.html&amp;version=6.7" class="Sq" data-pltdoc="x">Web Applications in Racket</a>.</p><p>When you click on the <span class="ssansserif">Run</span> button in DrRacket, your Web application
is launched in the Web server.</p><p>The application is available at
<span style="font-style: italic">http://localhost:8000/servlets/standalone.rkt</span>.</p><p>The Web Application Scheme language will automatically load this URL in your Web browser.</p><p>You may use <span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=web-server&amp;rel=run.html%23%2528def._%2528%2528lib._web-server%252Finsta%252Finsta..rkt%2529._no-web-browser%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">no-web-browser</a></span> to prevent the browser from being launched
and <span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=web-server&amp;rel=run.html%23%2528def._%2528%2528lib._web-server%252Finsta%252Finsta..rkt%2529._static-files-path%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">static-files-path</a></span> to serve additional static files.</p><h4 x-source-module="(lib &quot;plai/scribblings/plai.scrbl&quot;)" x-source-pkg="plai-doc" x-part-tag="&quot;Web_Application_Exports&quot;">7.1<tt>&nbsp;</tt><a name="(part._.Web_.Application_.Exports)"></a>Web Application Exports</h4><p>A Web application must define a procedure <span class="RktSym"><a href="#%28def._%28%28lib._plai%2Fscribblings%2Ffake-web..rkt%29._start%29%29" class="RktValLink" data-pltdoc="x">start</a></span>:</p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._plai/scribblings/fake-web..rkt)._start))"></a><span class="RktSym"><a href="#%28def._%28%28lib._plai%2Fscribblings%2Ffake-web..rkt%29._start%29%29" class="RktValDef RktValLink" data-pltdoc="x">start</a></span><span class="hspace">&nbsp;</span><span class="RktVar">initial-request</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym">response?</span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">initial-request</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym">request?</span></td></tr></table></blockquote></div><div class="SIntrapara">The initial request to a Web application is serviced by this procedure.</div></p><div class="navsetbottom"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, &quot;6.7&quot;, &quot;../&quot;);" onfocus="this.style.color=&quot;black&quot;; this.style.textAlign=&quot;left&quot;; if (this.value == &quot;...search manuals...&quot;) this.value=&quot;&quot;;" onblur="if (this.value.match(/^ *$/)) { this.style.color=&quot;#888&quot;; this.style.textAlign=&quot;center&quot;; this.value=&quot;...search manuals...&quot;; }"/></form>&nbsp;&nbsp;<a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot(&quot;6.7&quot;);">top</a></span><span class="navright">&nbsp;&nbsp;<a href="Generating_Random_Mutators.html" title="backward to &quot;6 Generating Random Mutators&quot;" data-pltdoc="x">&larr; prev</a>&nbsp;&nbsp;<a href="index.html" title="up to &quot;Programming Languages: Application and Interpretation&quot;" data-pltdoc="x">up</a>&nbsp;&nbsp;<span class="nonavigation">next &rarr;</span></span>&nbsp;</div></div></div><div id="contextindicator">&nbsp;</div></body></html>