Reply to Re: newbie - Hello World - no echo

Your name:

Reply:


Posted by Carl Pearson on 02/06/07 14:57

Geoff Muldoon wrote:
> skijore@yahoo.com says...
>> yes it's being rendered as faulty html. If I change the filename to
>> index.php it works fine. What I need to do is tell apache to accept
>> index.php as the root document.
>
> In the <apache-home>/conf/httpd.conf file just add it on the
> DirectoryIndex line:
>
> DirectoryIndex index.html index.php index.htm default.htm
>
> Geoff M

Also, DirectoryIndex works in the order of files presented, so in the
above example if you had an index.html AND an index.php, the index.html
would be the one served.

If you're sure you'll just be using index.php as your root, you can
leave all the other ones out.

[Back to original 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

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