> -----Original Message----- > From: Chris Pat [mailto:cpanon@xxxxxxxxx] > Sent: Dienstag, 11. Oktober 2005 02:33 > To: apache > Subject: [users@httpd] localhost htdocs access vs external restriction > > > Hello > Is it possible to restrict contents of the htdocs > directory depending on where the uses is from? I want > to give localhost access and either block WAN side > access either totaly or directory by directory. Of course. Read http://httpd.apache.org/docs/2.0/mod/mod_access.html for details. Post back if there's anything not clear. > I > believe it can be done by directory restriction if you > are using a domain name. I am not sure on access to > htdocs. Not sure I understand the question... By "htdocs", I presume you mean the default document root in the config file? Bear in mind that you can change this and that DocumentRoot can be anywhere on your filesystem. > > Also this is my first time setting up Apache2.05x. Is > there a faq or some "must enable" to protect the > htdocs, from ddos, script attacks, remote access. Any > recommended faq on securing apache other than the > plethora adduced from a web search. tia. http://httpd.apache.org/docs/2.0/misc/security_tips.html Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > > > > __________________________________ > Yahoo! Mail - PC Magazine Editors' Choice 2005 > http://mail.yahoo.com > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP > Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > > Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le présent e-mail est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX. This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx