You are here: Re: How do I get index.php to be automatcially recognized by Apache? « PHP Programming Language « IT news, forums, messages
Re: How do I get index.php to be automatcially recognized by Apache?

Posted by Kurt Krueckeberg on 09/27/82 11:20

> You need to modify the configuration for the server. Find and open
> httpd.conf in your favourite text editor and search for the DirectoryIndex
> directive. It should look something like:
>
> DirectoryIndex index.html index.html.var
>
> You will need to modify that directive to include index.php. For example:
>
> DirectoryIndex index.php index.html index.html.var
>
> This means that if a request is made without a filename, the server will
> first search for index.php, then index.html, and finally index.html.var.
>
> [snip]

Thanks a lot! I made the change and it works now.

 

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

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