|
Home > Archive > Netware Webserver > May 2005 > Default first page
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Default first page
|
|
|
| Hi!
I know how to change the default first page in the site from INDEX.HTML
to other file name (KUKU.HTML) with NES.
How can it be done with Apache2?
TIA
Nanu
| |
| Anders Gustafsson 2005-05-12, 5:45 pm |
| Nanu,
> I know how to change the default first page in the site from INDEX.HTML
> to other file name (KUKU.HTML) with NES.
>
> How can it be done with Apache2?
You *are* difficult today ;) See httpd.conf
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
# The index.html.var file (a type-map) is used to deliver content-
# negotiated documents. The MultiViews Option can be used for the
# same purpose, but it is much slower.
#
DirectoryIndex index.html index.html.var
Just add onto that, ie:
DirectoryIndex index.html thisisreallymyownindex.abc
- Anders Gustafsson, Engineer, CNE6, ASE
NSC Volunteer Sysop
Pedago, The Aaland Islands (N60 E20)
Novell does not monitor these forums officially.
Enhancement requests for all Novell products may be made at
http://support.novell.com/enhancement
Using VA 5.51 build 315 on Windows 2000 build 2195
| |
|
| Thanks!
Since it works, my desire to continue ... grows...
From the other point of view, I have at least 20 years of experience
with programing and LAN administration ... since the Commodore, Sinclair
& Apple PCs, I want to take all possible precautions not to need to UNDO
wrong changes.
Thanks again
Nanu
Anders Gustafsson wrote:
> Nanu,
>
>
>
> You *are* difficult today ;) See httpd.conf
>
> #
> # DirectoryIndex: sets the file that Apache will serve if a directory
> # is requested.
> #
> # The index.html.var file (a type-map) is used to deliver content-
> # negotiated documents. The MultiViews Option can be used for the
> # same purpose, but it is much slower.
> #
> DirectoryIndex index.html index.html.var
>
> Just add onto that, ie:
>
> DirectoryIndex index.html thisisreallymyownindex.abc
>
> - Anders Gustafsson, Engineer, CNE6, ASE
> NSC Volunteer Sysop
> Pedago, The Aaland Islands (N60 E20)
>
> Novell does not monitor these forums officially.
> Enhancement requests for all Novell products may be made at
> http://support.novell.com/enhancement
>
> Using VA 5.51 build 315 on Windows 2000 build 2195
>
| |
| Anders Gustafsson 2005-05-12, 5:45 pm |
| Nanu,
> Since it works, my desire to continue ... grows...
> From the other point of view, I have at least 20 years of experience
> with programing and LAN administration ... since the Commodore, Sinclair
> & Apple PCs, I want to take all possible precautions not to need to UNDO
> wrong changes.
>
With Apache, it is easy. Just make a copy of httpd.conf before making any
changes.
As I said before: Best you can do is to print it out and read all the
comments. Lots of good info and examples.
- Anders Gustafsson, Engineer, CNE6, ASE
NSC Volunteer Sysop
Pedago, The Aaland Islands (N60 E20)
Novell does not monitor these forums officially.
Enhancement requests for all Novell products may be made at
http://support.novell.com/enhancement
Using VA 5.51 build 315 on Windows 2000 build 2195
|
|
|
|
|