[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-date: Thu Mar 18 17:43:27 2004 -->
- <!--x-from-r13: Xbua.Oezfol ng zbgbebyn.pbz (Oezfol Xbua-U16665) -->
- <!--x-message-id: [email protected] -->
- <!--x-subject: [ale] Security on apache2 -->
- <li><em>date</em>: Thu Mar 18 17:43:27 2004</li>
- <li><em>from</em>: John.Armsby at motorola.com (Armsby John-G16665)</li>
- <li><em>subject</em>: [ale] Security on apache2</li>
I am running RedHat 9 apache2.
On earlier versions of both I could easily password protect a directory:
<Directory "/home/dc/vault_dir/ExternalDocuments/Security_dir"> # non document root path
AuthType Basic # document root is /var/www/html
AuthName "Security" # vault_dir is sym linked to document root /html
AuthUserFile /etc/httpd/pass/passwd
<Limit GET>
Require user Security
</Limit>
</Directory>
This does not work with Apache2
If I set up a directory structure based upon the document root with no sym links:
/var/www/html/Security_dir
<Directory "/var/www/html/Security_dir">
AuthType Basic .
AuthName "Security"
AuthUserFile /etc/httpd/pass/passwd
<Limit GET>
Require user Security
</Limit>
</Directory>
It works.
The Apache documentation states:
"Be careful with the directory-path arguments: They have to literally match the filesystem path which Apache uses to access the files. Directives applied to a particular <Directory> will not apply to files accessed from that same directory via a different path, such as via different symbolic links. "
THIS REALLY INCONVENIENT.
Is there a work around with symbolic links?
John
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00696.html">[ale] The ALE Barbecue is this weekend</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00701.html">[ale] Re: spam flood</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00714.html">[ale] The ALE Barbecue is this weekend</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00702.html">[ale] Free to geek home</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00697"><strong>Date</strong></a></li>
<li><a href="threads.html#00697"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>