[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Apache: how to change default page
- From: "trong" <trong_ho2000 yahoo com>
- To: <redhat-install-list redhat com>
- Subject: Re: Apache: how to change default page
- Date: Fri, 6 Apr 2001 15:03:39 +0700
you have to put this command into to your domain you want to do
DirectoryIndex yourfile.php
and you have to enable php by command "Options ...."i dont remember exactly
----- Original Message -----
From: Karen Ellrick <k-ellrick sctech co jp>
To: <redhat-install-list redhat com>
Sent: Friday, April 06, 2001 8:19 AM
Subject: Apache: how to change default page
> This may be considered off-topic, but I can't seem to find an Apache
forum,
> and hopefully one of you knows this off the top of your head.
>
> How do I change what file is served by Apache when a user requests a URL
> using just our domain name? The default is always "index.html", but I
want
> to use a PHP file that determines from browser settings what language the
> user prefers and serves the appropriate home page (in fact, I am gradually
> converting all my pages to PHP).
>
> If it's not possible to change the default filename to "something.php",
then
> does anyone know a better bandaid to put in index.html than <meta
> HTTP-EQUIV="refresh" content="0;URL=gohome.php"> ? Even though I have the
> time set to zero, it still shows the page for a second or two, so
everybody
> sees the little explanation and link I put in the body to handle the case
of
> really old browsers. Once I'm in my PHP world, I can totally control
what's
> going on, but I need to get there first.
>
> Thanks for putting up with an OT question.
>
> --------------------------------
> Karen Ellrick
> S & C Technology, Inc.
> 1-21-35 Kusatsu-shinmachi
> Hiroshima 733-0834 Japan
> (from U.S. 011-81, from Japan 0) 82-293-2838
> --------------------------------
>
>
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-install-list
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]