[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Apache: how to change default page



Hi,
	Add index.php to the apache configuration file in the filetypes section.
Dave.


On Fri, 6 Apr 2001 10:19:57 +0900 "Karen Ellrick"
<k-ellrick sctech co jp> writes:
> 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

________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]