Forum Moderators: phranque

Message Too Old, No Replies

rewrite for pages with frames

         

magnum

7:28 am on May 20, 2006 (gmt 0)

10+ Year Member



Hi,

I want to display every html page, hosted under my domain, in frames, like on free hosting servers, I use the following: (example for 1 subdomain)

RewriteCond %{HTTP_HOST} ^webdesign\.domain\.com(/)? [NC]
RewriteRule ^/(.*)(\.html)$ [domain.com...] [L]

the frame page is generating from header.php normally, top frame (ads) and main (subdomain's html page), but on the main frame when its try to get src of a html page, of course, this is a loop, the above rewrite rule is executing again, and on the end I get a 'maximum redirect limit exceeded' error. So any apache expert can advice for it? or is there any other solution to run this service?

Regards