You are here: Re: PHP first site « PHP Programming Language « IT news, forums, messages
Re: PHP first site

Posted by JDS on 07/12/05 17:53

On Tue, 12 Jul 2005 00:26:48 -0700, bettina wrote:

> How should it be named the first site in a website in PHP? Is there any
> special rule?
> index.php for example?
> I would like to know how it functions that by giving the wed address
> (www.jfdhjdfh.de for example) comes the first site.
> Is it like HTML that the first site must be named index.html?
>
> Thank you.
> Bettina
>
> www.coaster.ch

Like the other posters said, there is no rule.

Apache comes configured "out-of-the-box" with index.html as the default
page. Use the "DirectoryIndex" directive to change this.

(example):
DirectoryIndex index.php index.html

IIS comes with "default.htm" or possibly "default.asp" as the default
page. A buncha clicking ann typing will let you change that.

Also, both webservers (and most other webservers) will let you change this
on a per-directory basis. With Apache you cna use the
<Directory></Directory> directive or a .htaccess file in the directory in
question; IIS must be done from within the main IIS management tool (I'm
pretty sure).

later...


--
JDS | jeffrey@example.invalid
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация