htaccess redirection

I have a document root directory with several files but no index.html

there is a flash document called "affc.swf" and a site called "TMP1048014174.htm".

when the user enters the url that points to that directory I want the flash movie to show up and after that the .htm site.

a only have accesss to that directory. no confuguration files.
SWB-ConsultingAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ahoffmannCommented:
> ..  I want the flash movie to show up and after that the .htm site.
write a index.htm which calls the flash and then redirects to the other file
redirection could be done in META tags or with any active scripting (like JavaScript)
SWB-ConsultingAuthor Commented:
And whyt should the index.htm look like?
SWB-ConsultingAuthor Commented:
And what should the index.htm look like?
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

ahoffmannCommented:
something like:

<html><head><meta-equiv="refresh" content="30; url=http://www.your.tld/index.html">
<script type="text/javascript" language="JavaScript" src="your.swf"></script></head></html>

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SWB-ConsultingAuthor Commented:
it does not load the new page
madhubkCommented:
Probably you need to check what is the default page specified for your website. This could be anything like Default.htm, default.html, Default.asp, index.htm, index.html and index.asp. One can specify in which order these files should be searched on the directory. The above list is not complete. An administrator can specify anything which he can think of. Try renaming your default page to any of the above names, if still it does not work, it is better to get in touch with the administrator and find out what is the default page setup for your website.

Thanks,

Madhu
JeremyT923Commented:
Assuming your site is using Apache for a webserver, you could place a .htaccess file in that directory with the following line:

DirectoryIndex    index.html


You can replace 'index.html' with whatever page you want to be the default.  
ahoffmannCommented:
> it does not load the new page
you either mis-typed something somewhere
or your browser behaves strange
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Servers

From novice to tech pro — start learning today.