Re: Re[2]: [PHP] dynamic -> static
| From: | Eugene Lee | Date: | Thu, 09 Oct 2003 17:32:36 +0000 |
| Subject: | Re: Re[2]: [PHP] dynamic -> static | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165646@lists.php.net to get a copy of this message | ||
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.