htaccess mod_rewrite help

March 10th, 2010
  • I'm still a newbie at htaccess so forgive me if I sound like a nob :p , but how can I modify this to be able to use it in my "Attachments as files" folder, here's an example of a filename in there 00022e801b2921ae97d953b1525ec188.file

    If I am way off base with thinking this can be done...pls let me know, and if I am, does anyone have any other suggestions? :)

    Options +FollowSymLinks
    Rewriteengine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://belliesandbabies.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.belliesandbabies.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.belliesandbabies.com/.*$ [NC]
    RewriteRule .*.(gifGIFjpgJPG)$ http://www.belliesandbabies.com/boards/bandwidth.gif

    Thanks for your help :D


  • :cool: Ignore this, I found a hack at VB.org that will do the trick :D







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about htaccess mod_rewrite help , Please add it free.