Re: ForceType or what?

From: Date: Wed, 25 Apr 2001 20:19:53 +0000
Subject: Re: ForceType or what?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-50349@lists.php.net to get a copy of this message
Name it "dir" instead of "dir.php", do the .htaccess to process "dir" as php, then read $PATH_INFO to get the /subdir... stuff. I may have a few details wrong, but that's the idea. I have the same situation as you. Hope this helps. Mihailo Dzigurski wrote: > How can I force dir.php to execute on > http://www.mysite.com/dir/ > and all other subdirectories, which actually doesn't exists? I > tray to put ForceType in .htaccess file, and this doesn't work. > > This is an example what I mean: http://www.mysite.com/dir/ > http://www.mysite.com/dir/subdir/ > http://www.mysite.com/dir/subdir/subsir/ > > When I access any of subdirectory, I need to execute same > dir.php, which will display records from database based on path. > > P.S. I can only access to .htaccess file of apache configuration > files. John Platte "Truth binds the mind to what satisfies it, but worldly thinking does not satisfy and therefore ignites curiosity." -- St. Theophan the Recluse

« previous php.general (#50349) next »