Re: small problem

From: Date: Wed, 12 Jun 2002 16:14:49 +0000
Subject: Re: small problem
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-101759@lists.php.net to get a copy of this message
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

« previous php.general (#101759) next »