We inflate EPUB's on our web site in advance, save them to e.g.
We then use LiveCode - RevIgniter to serve these inside an iFrame, inside our site wrapper.. this works great.
BUT the problem is Google is finding these pages, indexing and caching them and they are linked to and delivered outside our site wrapper. e.g.
I need to create a mod_rewrite condition that will redirect these to our CMS
in pseudo-code it would look like
( RewriteCond $1 ^(media/books/[any string here, some reg ex I presume]/web/ops) ) AND (referrer IS NOT localhost)
RewriteRule ^(.*)$ index.lc?/$1 [L]
can you help me with the proper mod_rewrite rule for this?