On Wed, Jun 12, 2002 at 12:49:36PM +0300, savaidis wrote:
>
> Where in config have I to change "something" to make Apache understand
> /root/index.php as /root/ ?
To make the directive specific to that directory and all directories under
it:
In /root make a file called .htaccess
In that file put "DirectoryIndex index.php"
To make the directive apply to your entire website:
Open the httpd.conf file (which is in the conf subdir of your
Apache directory)
In that file, find the existing DirectoryIndex directive and add
"index.php" to the end of it. So, it could look like
DirectoryIndex index.html index.php
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.info | layoutsolution.info | formsolution.info
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php