View previous topic :: View next topic |
Author |
Message |
siric -
Joined: 28 Nov 2002 Posts: 19 Location: Barbados
|
Posted: Mon Jan 27, 2003 3:55 pm Post subject: Using pathnames as home page |
|
|
I am migrating from another web server to Abyss. At present, visitors to my site just have to type http://1.2.3.4/Sitename and the home page home.htm comes up by default.
In testing Abyss, I have http://1.2.3.4/Sitename/home.htm. Is there anyway that I can omit the page name (home.htm) and still have the page some up?
The site is held in a directory under the htdocs directory.
Thanks
Steve :?: |
|
Back to top |
|
|
Vader Guest
|
Posted: Mon Jan 27, 2003 5:15 pm Post subject: Pathnames as homepage... |
|
|
Yes, in fact there is a way to do the trick! You have to put the page in the folder under the name index.html (.php, .asp or whatever...). Then, as the server reads the contents it sees the file and displays that instead of a default index file.
Of course, this will not work if you have not set the srver up correctly! Fire up the Control Panel and go to Server Parameters. Disable the "Automatic Directory Indexing" option and enter "index.htm" (or whatever you want!) at the "Index Files" list. This will determine what file name will the server use as the dir. index.
I hope i made myself as clear as possible!!! :lol: |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Jan 28, 2003 12:41 am Post subject: Re: Using pathnames as home page |
|
|
siric wrote: | The site is held in a directory under the htdocs directory.
|
Open the console, then go to Server Configuration > Advanced > Server Parameters and press Add... in the table index files to add home.htm as an index file name.
Now you can access your directoriy by its name and home.htm is displayed if present inside it. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
siric -
Joined: 28 Nov 2002 Posts: 19 Location: Barbados
|
Posted: Mon Feb 03, 2003 1:36 pm Post subject: |
|
|
Thanks,
I'll try that and let you know.
Steve |
|
Back to top |
|
|
|