Need home page to be a .swf instead of .asp

Discussion in 'HTML & Website Design' started by micahman80, Dec 29, 2009.

  1. #1
    Hey everyone! I have a site set up right now where the homepage is default.asp. I need to keep default.asp live (so forwarding won't work), but I need the first thing people see when they come to the site to be a file called main.swf (which contains a new menu system to get them into the site).

    Anyone have any suggestions? Is there something in the .htaccess file I can do to make it happen? Or any other options? Thanks!
     
    micahman80, Dec 29, 2009 IP
  2. nivedita011

    nivedita011 Peon

    Messages:
    97
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The best way to do this create one page called index.html and embed the swf file in this page, and you can redirect it to your default.asp as you want.
     
    nivedita011, Jan 3, 2010 IP
  3. slackwarer

    slackwarer Member

    Messages:
    93
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #3
    hi.
    try to inserting code on default.asp for embed your shockwave file..
     
    slackwarer, Jan 4, 2010 IP
  4. micahman80

    micahman80 Guest

    Messages:
    129
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Just as an update, if anyone else is trying to do something like this...I finally got it figured out. In the htaccess file, you can just put "DirectoryIndex index.swf"...or replace "index.swf" with whatever file you want to use.

    Hope that helps someone :)
     
    micahman80, Jan 20, 2010 IP
  5. blacksheep666

    blacksheep666 Active Member

    Messages:
    68
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    93
    #5
    yes you can use .htaccess to rewrite the url
     
    blacksheep666, Jan 20, 2010 IP
  6. Lex350

    Lex350 Notable Member

    Messages:
    1,889
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    215
    #6
    This should of been the first and last post. You just use apache in .htaccess to rewrite the extention to what ever you want.
     
    Lex350, Jan 20, 2010 IP