VBulletin Re-Direct please help really close

Discussion in 'Apache' started by AspDotNetGuy, May 7, 2007.

  1. #1
    Okay so here is my story. My images on VBulletin are not working with my re-direct.

    I used to have .net domain but I managed to grab the .com. So I have both domains running on the same server but want to redirect all .net stuff to the .com version.

    I used the following

    Options +FollowSymLinks
    RewriteEngine on
    #
    RewriteCond %{HTTP_host} !^www\.myforums\.com
    RewriteRule (.*) http://www.myforums.com/$1 [R=301,L]

    And it worked perfectly except for the images in vbulletin (new posts images, etc.) arent showing up? Any tips?
     
    AspDotNetGuy, May 7, 2007 IP
  2. Noodles25

    Noodles25 Active Member

    Messages:
    75
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    73
    #2
    If you load the image directly, like go to http://www.myforums.com/images/someimage.gif does it give a 404 or does it just fail to load?

    You could take a closer look by telnet'ing to port 80 on your server and typing in:

    GET /images/someimage.gif HTTP/1.1
    Host: www.myforums.com

    (press enter twice after the last line)

    This should tell you if it's 301'ing to somewhere else or what it's trying to do
     
    Noodles25, May 7, 2007 IP
  3. AspDotNetGuy

    AspDotNetGuy Peon

    Messages:
    208
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    AspDotNetGuy, May 7, 2007 IP