www.webdeveloper.com
Results 1 to 2 of 2

Thread: .htaccess and Iframe help

Hybrid View

  1. #1
    Join Date
    May 2006
    Location
    wisconsin
    Posts
    9

    .htaccess and Iframe help

    Is it possible to server up a iframe for people hotlinking your swfs and images?

    Something like this?


    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?MyDomain.com/.*$ [NC]
    RewriteRule \.(gif|jpg)$ http://www.MyDomain.com/Index.html" frameborder="0" width="300" height="550" scrolling="no" marginheight="0" marginwidth="0"</iframe> [R,L]

    This code is not working. Is it possible? How would i write it?

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    At least 98% of internet users' DNA is identical to that of chimpanzees

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles