my reply wasnt ot since i did not start the topic. :) my advice was correct since he stated that he wants ONLY ppl fetching the stuff coming from HIS server. denying indexing means nothing since other server-admins could still user his webserver for content-serving.
mod_rewrite gives u the power to validate the refferers, and many more so u can decide WHO can fetch data and what happens to those who try to fetch content without being authorized. and before this mailing list becomes "OT" the shortest and fastest solution is to send HIM to www.apache.org and tell him to RTFM (which even includes working examples which would help him!) best regards Simon ps: .htaccess is just a container. Simon Lange //Director ======================== www.polynaturedesign.com +49[0]4131 220121 PHONE +49[0]4131 224730 FAX +49[0]1717793294 CELL ======================== -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Forsberg Sent: Saturday, July 16, 2005 12:26 PM To: [email protected] Subject: RE: [hlds_linux] HTTP Download. On Sat, 2005-07-16 at 11:17 +0200, Simon Lange wrote: > ur source of information should be: www.apache.org > hint: read the mod_rewrite manual This is pretty OT for this list. Still, it might be a common problem, especially if you are unfamiliar with basic security precautions for an http server, and are running one on your gaming server for http-based gaming downloads specifically. The above hitting-nail-with-atomic-bomb approach distresses me. Simplest option is to turn off directory indexing, with .htaccess, as hinted at in an earlier reply. e.g.: Options -Indexes See: http://httpd.apache.org/docs/mod/core.html#options Then if someone tries to access a directory on your webserver, rather than get a list of everything below it, they get an error message. You should put that in your .htaccess file at the root of your web server, because you almost certainly don't want indexes generated for any directory on your server. Unless you like folk leeching maps, images, textures, etc, from you... Cheers Anders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

