Plain text please... you can do this with mod_rewrite, eg: RewriteCond %{REMOTE_ADDR} 192.168.3.* [OR] RewriteCond %{REMOTE_ADDR} 192.168.4.* RewriteRule /bat.cfg /site2/bat.cfg 192.168.1 and 192.168.2 get the default file NB1 - the RewriteCond takes a pattern match. It does not understand TCP/IP, so don't put a network range. NB2 - this is untested. Read http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html and play around with it to get it to work. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. -----Original Message----- From: Phibee NOC [mailto:noc@xxxxxxxxxx] Sent: Dienstag, 22. März 2005 11:00 To: users@xxxxxxxxxxxxxxxx Subject: [users@httpd] a small question Hi i have a lot of user that request a html page on my Apache Server. It is possible that says at Apache : when the source of the request (client address) are in 192.168.1.0/24 or 192.168.2.0/24, the URL: http://192.168.0.10/bat.cfg are /var/www/html/bat.cfg (actually all have access to this files) but when the source client are in 192.168.3.0/24 and 192.168.4.0/24 the url http://192.168.0.10/bat.cfg are the file /var/www/html/site2/bat.cfg thanks for your help 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