<br clear="all">Hi,<br><br>I am trying to understand how basic authentication can be used with twisted.web. twistedmatrix provides an example on the same which is reproduced at <br><br>&gt;&gt; <b><a href="http://pastebin.com/hE5TFpZT">http://pastebin.com/hE5TFpZT</a><br>
</b><br>when I use this example code to login, it works fine but returns with double slash &#39;//&#39; in url before index file or rather for any file accessed. like:<br><br>&gt;&gt; <span style="color: rgb(51, 51, 255);"><a href="http://localhost:8889//index.html">http://localhost:8889//index.html</a></span><br>
<br>it will work for all files with double slash<br><br>&gt;&gt; <span style="color: rgb(51, 51, 255);"><a href="http://localhost:8889//vision.html">http://localhost:8889//vision.html</a></span><br><br>but will return index page for any request with single slash<br>
<br>&gt;&gt; <span style="color: rgb(51, 51, 255);"><a href="http://localhost:8889/anything.html/">http://localhost:8889/anything.html/</a></span> will always return index page.<br><br>Please help me figuring out what is the problem and what can be possible fix to it.<br>
<br>Thank you.<br><br><br>Regards,<br><br>Ravikant.<br><br><br>