How to setup startup page

kazja

New member
Joined
Jul 20, 2005
Messages
1
I have developed site where startup page should be Default.shtml.
Actually I use index.htm page which contains java script redirector. I found that such construction is not indexed correct by search engines. I know if I used IIS, I would setup startup page in IIS application settings. How can I overcome the problem via DirectAdmin?
 
Hey,

A quick look showed DA is setup to deliver "index.shtml" but... I think if you wanted to have "Default.shtml" as the index page you would have to change the "DirectoryIndex" directive to include that name.

If your really don't need the main page to be Default.shtml then try changing it to index.shtml. Otherwise...

I'm not sure if it (DirectoryIndex) can be in the individual conf files for the virtual host... (Apache says it can but, I've never tried it.) So, you may just add "Default.shtml" to the main config file (httpd.conf)

You would have to be the server admin to do the above and if you are then you could try adding...

DirectoryIndex Default.shtml

...to your domain in the "Custom HTTPD Configurations" in DA.

If you are not the server admin then ask your hoster to try the above...

Note: if it works like it is suppose to, then "Default.shtml" is the only index page that will be delivered.

David
 
Back
Top