Re: Re[2]: [PHP] dynamic -> static

From: Date: Thu, 09 Oct 2003 17:47:57 +0000
Subject: Re: Re[2]: [PHP] dynamic -> static
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-165650@lists.php.net to get a copy of this message
I would think the same thing, but it works on all the servers that I have tried it on. But again, they are all running pre apache 2.0 stuff. Anybody have any idea what config settings in Apache might make it try and find a page with that entire path? Jim Lucas ----- Original Message ----- From: "Eugene Lee" <list-php-1@fsck.net> To: <php-general@lists.php.net> Sent: Thursday, October 09, 2003 10:32 AM Subject: Re: Re[2]: [PHP] dynamic -> static > On Thu, Oct 09, 2003 at 10:09:19AM -0700, Jim Lucas wrote: > : > : I have the following configuration. > : > : Redhat 8.0 > : Apache/2.0.40 (stock redhat install) > : PHP 4.2.2 (stock redhat install) > : > : What I get when I try and run this is an Object Not Found. > : > : Same as the ERROR 404 page not found. > : > : The URL looks like this > : > : /index.php/var1/val1/var2/val2 > : > : I try this on a different development server running Apache 1.3.28, > : and it runs fine. > : > : I couldn't even start to find the differences, since they are > : completely different version. > > If I was Apache, I would try to serve the file: > > /index.php/var1/val1/var2/val2/index.php > or > /index.php/var1/val1/var2/val2/index.html > > or whatever files your DirectoryIndex is set to load. In other words, > Apache thinks (and rightly so) that there is a directory "val2" in the > directory "var2" in the directory "val1" in the directory "var1" > in the > directory "index.php". > > If your URL is working on a different development server, it's probably > configured via mod_rewrite to do so. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#165650) next »