2 <var:component className="Frame" title="name"
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:var="http://www.skyrix.com/od/binding"
5 xmlns:js="http://www.skyrix.com/od/javascript"
6 xmlns:const="http://www.skyrix.com/od/constant">
7 <h3>Check Apache Internal Subrequests ..</h3>
11 <td valign="top">Filename: </td>
12 <td><var:string value="apacheRequest.filename"/></td>
15 <td valign="top">Pathinfo: </td>
16 <td><var:string value="apacheRequest.pathInfo"/></td>
19 <td valign="top">ApacheRequest:</td>
20 <td><code><var:string value="apacheRequest"/></code></td>
23 <td valign="top">ApacheConnection:</td>
24 <td><code><var:string value="apacheRequest.connection"/></code></td>
28 <td valign="top">test.wox:</td>
29 <td><var:component className="RqInfo" rq="testRq"/></td>
32 <td valign="top">test.wox (file):</td>
33 <td><var:component className="RqInfo" rq="testRqFile"/></td>
36 <td valign="top">test.wox/add:</td>
37 <td><var:component className="RqInfo" rq="testRqAdd"/></td>
40 <td valign="top">WoPage1.wo:</td>
41 <td><var:component className="RqInfo" rq="testWO"/></td>
44 <td valign="top">blah.wo/:</td>
45 <td><var:component className="RqInfo" rq="testNo"/></td>
48 <td valign="top">SSIPage.shtml:</td>
49 <td><var:component className="RqInfo" rq="testSSI"/></td>
52 <td valign="top">/docs/:</td>
53 <td><var:component className="RqInfo" rq="docs"/></td>
56 <td valign="top">/docs/manage:</td>
58 <i>Note:</i> pathInfo doesn't work on directories :-(<br/>
59 <var:component className="RqInfo" rq="docsMg"/>
65 var rq = this.apacheRequest;
67 print("run requests setup ...");
68 var testRq = rq.subRequestLookupURI('test.wox', 'HEAD');
69 var testRqAdd = rq.subRequestLookupURI('test.wox/add', 'HEAD');
70 var testRqFile = rq.subRequestLookupFile('test.wox');
71 var testWO = rq.subRequestLookupURI('WoPage1.wo', 'HEAD');
72 var testNo = rq.subRequestLookupURI('blah.wo/', 'HEAD');
73 var testSSI = rq.subRequestLookupURI('SSIPage.shtml','HEAD');
74 var docs = rq.subRequestLookupURI('/docs/', 'HEAD');
75 var docsMg = rq.subRequestLookupURI('/docs/manage', 'HEAD');
78 print("run test.wox as subreq ...");
79 var res = testRq.runSubRequest();
80 print(" result: " + res);