Re: Working directory of PHP pages?

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

 



Clancy wrote:

> It is my understanding that when you open a page the PHP server looks
> for index.php in the site root directory, and loads it. 

A typical Apache configuration will have 'DirectoryIndex index' and will
look for 'index' when there is no specific file given.  It looks in
whichever directory the URL indicates.  With Multiviews enabled, Apache
will look for anything matching 'index.*' and decided which file is the
best match and then serve that. 


/Per

-- 
Per Jessen, Zürich (5.8°C)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux