Re: Newbie question about UNIX command-line directives

From: Date: Mon, 12 Aug 2002 01:36:26 +0000
Subject: Re: Newbie question about UNIX command-line directives
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-112077@lists.php.net to get a copy of this message
The problem may be due to the fact that my environment is Apache Unix. I spent about two hours today pouring over the php on-line manual "include" spec and trying dozens of combinations. http://www.php.net/manual/en/function.include.php There must be at least 20 user contributed notes at the bottom. It is incredible that such a basic php function should be so obtuse and ill defined. I'm going to give your other suggestion a try tomorrow. Thanks again.... Analysis & Solutions wrote:
On Sun, Aug 11, 2002 at 12:33:55PM -0400, Al wrote:
The .htaccess approach appears to fit my situation best; but, I've not been able to get it to work.
I wondered about the DirectoryIndex directive's ability to utilize files in other directories, so did a little test, which is what you indicated you tried in your initial email: DirectoryIndex ../index.htm Worked fine. Apache 1.3.26. Windows NT. So, your problem could be a web server configuration thing, as Rasmus hinted at. Beyond the things already discussed, I'm at a loss. Good luck, --Dan


« previous php.general (#112077) next »