<div dir="ltr"><div><div>In the sws manual, it mentioned:<br>&quot;If a URI begins with the string &quot;/cgi-bin&quot;, and the &minus;c flag was specified, then the remainder of the resource&nbsp; path will be resolved relative to the directory specified using this flag.&quot;<br>

<br></div>suppose I start the sws using:<br></div>./sws -c ~/www2 www<br><div><div><br></div><div>and there comes a request:<br></div><div>GET /cgi-bin/<a href="http://a.pl">a.pl</a> HTTP/1.1<br><br></div><div>the real path of <a href="http://a.pl">a.pl</a> should be ~/www2/<a href="http://a.pl">a.pl</a> or ~/www2/cgi-bin/<a href="http://a.pl">a.pl</a> ?<br>

<br></div><div>Thanks.<br></div></div></div>