Ftp swf html question. First time uploading into server.?

I have upload my glash movie the publish html and a javascript into my host server. When I want to pull up my site, I have to either type in index.html or index.swf at the end of the domain name… How do I go about fixing this so that it can be viewed at just the domain name.

example

I have to put
www.domainname.com/index.fla
to get into my site..

You can edit the .htaccess file placed in your wwwroot directory and add the line:

DirectoryIndex index.html index.htm index.php

Using this line you can specify (the order in) which documents are looked for when no document is specified (ie. just the domainname or just a folder within your domain).

If the file doesn’t exist (make sure you are viewing hidden files as well with your FTP client), you should just create it.

3 Responses to “Ftp swf html question. First time uploading into server.?”

  1. fridiot Says:

    You can edit the .htaccess file placed in your wwwroot directory and add the line:

    DirectoryIndex index.html index.htm index.php

    Using this line you can specify (the order in) which documents are looked for when no document is specified (ie. just the domainname or just a folder within your domain).

    If the file doesn’t exist (make sure you are viewing hidden files as well with your FTP client), you should just create it.
    References :

  2. cabz0r Says:

    depending on what OS you are using.

    server 2003

    enter into IIS (start > programs > admin tools > IIS)

    in the right hand side panel you should see an expanded tree with a folder called "web sites" (epand this further to see more options)

    right click on the "default web page" and click properties.

    under the "home directory" tab, click "a redirection to a URL"
    redirect to: http://www.domainname.com/index.fla
    click apply.

    test it.

    If youre using apache
    open up your httpd.conf file and edit the IfModule to match below

    <IfModule dir_module>
    DirectoryIndex index.fla
    </IfModule>

    save. restart apache. and test.
    References :

  3. Rasmah.com Says:

    no no no …. All that is just big mistake ..if you want to disply flash movie on you’re index page … you just need to add code on you’re html page or php page .. that mean you’re index will look like this ..index.html and when any body visite this web site.www.domainname.com will see you’re flash movie on the index page …at first .. and this example
    http://www.rasmahcom.jeeran.com

    and if you need the code you will add it on the html file .. i will give you example now .. when you publish you’re flash movie published on html page and see how flash movie publish and write the code on html page … Good like and have nice day and i hope i explain all what you need on flash.
    References :
    http://www.rasmah.com

Leave a Reply