<div>Hello,</div>
<div> </div>
<div>In apache 1.3.33 the following should work (works for me anyway :) ):</div>
<div> </div>
<div>Example:</div>
<div> </div>
<div># There is an .htaccess file in the root directory with contents:</div>
<div>AuthType Basic<br>AuthName test<br>AuthUserFile /path/to/password/file</div>
<div>Require user valid-user<br> </div>
<div>httpd.conf:</div>
<div> </div>
<div><Directory "/path/to/web/root"></div>
<div> Options Indexes FollowSymLinks MultiViews</div>
<div> AllowOverride AuthConfig</div>
<div> Order allow,deny<br> Allow from all<br></Directory></div>
<div> </div>
<div><Directory "/path/to/web/root/sponsors"></div>
<div> satisfy any</div>
<div></Directory></div>
<div> </div>
<div>When I tested this I was prompted for a password when hitting the root webpage. Then I closed all the browser windows and opened the sponsors index page directly, no password prompt.<br> </div>
<div>Hope this helps.<br> </div>
<div><span class="gmail_quote">On 6/24/05, <b class="gmail_sendername">Lei Jin</b> <<a href="mailto:jinlei@sfsu.edu">jinlei@sfsu.edu</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I am currently building a website on Apache to bid for an academic conference<br>to be hosted in San Francisco. The overall website (htdocs directory) is
<br>password protected because<br>we don't want our competitors to see the detail. But at the same time, we<br>want a subdirectory (htdocs/sponsors)<br>to be open to the public (not password protected). Is there anyway to do
<br>this through Apache configuration ?<br><br>Any suggestions would be highly appreciated.<br>Thanks !<br>Leigh :-)<br><br>_______________________________________________<br>talk mailing list<br><a href="mailto:talk@nblug.org">
talk@nblug.org</a><br><a href="http://nblug.org/cgi-bin/mailman/listinfo/talk">http://nblug.org/cgi-bin/mailman/listinfo/talk</a><br></blockquote></div><br>