Basic http authentication and remove the prepend text username:password@ from the Static content (i.e image/js/css) url
<p>I have site where user need to get http basic authentication prior to access the url lets say <code>www.mybasicauthurl.com</code>. Basic authentication can be passed in either way</p>

<ol>
<li><p>Browse the url and enter the username, password on the pop-up if not done already.</p></li>
<li><p>Access the url as: username:password@www.mybasicauthurl.com</p></li>
</ol>

<p>Now I use approach #2 supply the basic auth credential via url itself. This works fine and I can able to see the legitimate web page but
When I open firebug and see the all loaded static files it shows me something like</p>

<pre><code>http://username:password@www.mybasicauthurl.com/static/jquery/jquery.js
http://username:password@www.mybasicauthurl.com/static/css/styles.css
http://username:password@www.mybasicauthurl.com/static/image/image1.png
</code></pre>

<p>Please note the prepend text <code>username:password@</code> in the url. I don't want that I just want these static files to be loaded normally like</p>

<pre><code>http://www.mybasicauthurl.com/static/css/styles.css
</code></pre>

<p>I don't know if this is something done by the <code>browser</code> or <code>apache</code> server.
Would be appreciated even if share some useful link that I missed to google.</p>