On 4/26/06, switch grass <apachegroup@xxxxxxxxx> wrote: > its just a normal- > RewriteCond %{HTTP_REFERER} !yoursite\.com [NC] > > cannot not fing the access log atm. > On 4/25/06, Joshua Slive <joshua@xxxxxxxx> wrote: > > > On 4/25/06, switch grass < apachegroup@xxxxxxxxx> wrote: > > how would i block my own site from its files? > > i can use mod_rewrite to prevent hotlinking from other sites, but when i > try > > to block myself it doesn't work. > > what i am trying to do is use my first site( site1.com) to host images > that > > only my second site can access(site2.com). > > is this possible? > > Show the exact config you are using along with some lines from your > access_log (in extended format). Sorry, but you haven't provided nearly enough information to start helping you. The config you supply is incomplete and doesn't match your problem report (if you must obscure hostnames, at least do it consistently!). And without info from the access_log and RewriteLog, debugging mod_rewrite problems is a near hopeless exercise. To find the access log, look in httpd.conf for the CustomLog directive. Joshua. --------------------------------------------------------------------- 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